From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta0.migadu.com (out-116.mta0.migadu.com [91.218.175.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 91B7254A7C9 for ; Tue, 8 Sep 2026 14:26:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788877603; cv=none; b=tnAmObxmUeem932xSjHtMVzGCHSth4tGN/3eJpWd/kckFL9mSbH7mYBcQ6k207OiE2yM3RlN2rxr0yZGPuBRUjxl3i1A2hlUUBsXfxRvM078Z9r0wXlFgF7aH7J77bXiidhEDxa0M/HK82+KrZAnNqLXFyHr7Z15kfOq8is1L5I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788877603; c=relaxed/simple; bh=+zAEpg0bzrJlzowQfLEjzSYuRg3JQjAXqFWQW+aQjcA=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=oQWAIG9gRRjHqe9W9w6stFc7LzJ1t8vz0JQskNYL83/jHqm35cca2oRQhSFvH0lWW3fbtibxUuSsX0fiBDW2uTnMds4sWkbKfWgApZ9LoXo9Ib1asJpWQS533qrLxf6UT6owedxlJJ4ZTmc4i2oiL7dC7gD89RGoOC/ykxTY4hA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=QcQk897C; arc=none smtp.client-ip=91.218.175.116 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="QcQk897C" X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=+zAEpg0bzrJlzowQfLEjzSYuRg3JQjAXqFWQW+aQjcA=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1788877593; v=1; x=1789482393; b=QcQk897CIjxDalMXDHecXXj+jH8HtF0rW+5cYWyGn2vJLJfhH6s3d+VjvR7bALD0mNJpKB4H s8D4O+6S+PEamLJSWAAqpOHFPyU6eIB8EXSMtIltcWYN4HYxSgI7ZYQmvY1Cm0tvxmY7maWRuFY 4K6OYe7jGVZMbdy2Hnf6qltI= X-Envelope-To: linux-kernel@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id 6713a1d5765c73ea; Tue, 08 Sep 2026 14:26:33 +0000 X-Mizu-Trace-ID: 6713a1d5765c73ea X-Migadu-Flow: FLOW_OUT From: Fuad Tabba To: Marc Zyngier , Thomas Gleixner Cc: Radu Rendec , Kemeng Shi , Will Deacon , Fuad Tabba , stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/3] irqchip/gic-v3: Lifetime and range fixes in the GICv3 and ITS drivers Date: Tue, 8 Sep 2026 15:26:29 +0100 Message-Id: <20260908142632.2795308-1-fuad.tabba@linux.dev> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi folks, Three fixes to the GICv3 and ITS drivers, from reviewing the GIC series floating around and chasing down Sashiko's reports. The first releases the partition node that gic_irq_get_fwspec_info() takes from of_find_node_by_phandle() and never puts. Sashiko raised it on an of/irq patch of mine, and I said a fix was forthcoming [1]. The second widens the per-device MSI clamp, which truncates to zero when GITS_TYPER.ID_bits is at its maximum and then denies every MSI on that ITS. I couldn't find an implementation that reports that maximum, so this is one value at the edge rather than something anyone is hitting. It carries Cc: stable because the commit it fixes was itself backported, so drop the tag if you'd rather. The third clears vpt_page once its_vpe_teardown() has freed it, so the NULL guard holds if teardown runs again on the same vPE. Based on Linux 7.3-rc2 (df2908090cda3). Cheers, /fuad [1] https://lore.kernel.org/all/CA+EHjTx7eP_30vP47=UFk_wMAut-2uf+2DF-MZqn2SLE_k-8qg@mail.gmail.com/ Fuad Tabba (3): irqchip/gic-v3: Release the partition node in gic_irq_get_fwspec_info() irqchip/gic-v3-its: Don't clamp nvecs to zero when id_bits is 32 irqchip/gic-v3-its: Clear vpt_page after freeing the pending table drivers/irqchip/irq-gic-v3-its.c | 3 ++- drivers/irqchip/irq-gic-v3.c | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) base-commit: df2908090cda368b01ff43709f51890076c56157 -- 2.39.5