mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sascha Bischoff <Sascha.Bischoff@arm.com>
To: "linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Cc: nd <nd@arm.com>, "maz@kernel.org" <maz@kernel.org>,
	"lpieralisi@kernel.org" <lpieralisi@kernel.org>
Subject: [PATCH v2 0/2] irqchip/gic-v5: GICv5 KVM IRS review fixes
Date: Tue, 11 Aug 2026 15:26:30 +0000	[thread overview]
Message-ID: <20260811152630.942023-1-sascha.bischoff@arm.com> (raw)

Hi all,

v1 [1] combined irqchip and KVM fixes identified by Sashiko [2] while
reviewing the GICv5 KVM IRS series [3]. Following feedback, v2 splits
the fixes into separate irqchip and KVM postings. This posting
contains the irqchip fixes; the KVM fixes are posted separately.

Changes since v1:

* Split the combined series into irqchip and KVM postings.

* Dropped the setting of a CPU's IAFFID to 0 on clear as this might be a valid
  IAFFID.

* Added a reviewed by tag to "irqchip/gic-v5: Clear per-CPU IRS data
  on teardown".

The fixes are:

* Clear the per-CPU IRS pointer and IAFFID state when host IRS
  initialisation fails or an IRS is removed. This prevents the per-CPU
  state from retaining a pointer to freed IRS data.

* Add an isb() after disabling the GICv5 CPU interface. This ensures
  that interrupts are disabled before the helper returns.

These changes are based on v7.2-rc7.

Thanks,
Sascha

[1] https://lore.kernel.org/all/20260810102652.758719-1-sascha.bischoff@arm.com/
[2] https://sashiko.dev/#/patchset/20260724104819.1296803-1-sascha.bischoff%40arm.com
[3] https://lore.kernel.org/all/20260724104819.1296803-1-sascha.bischoff@arm.com/

Sascha Bischoff (2):
  irqchip/gic-v5: Clear per-CPU IRS data on teardown
  irqchip/gic-v5: Synchronize CPU interface disable

 drivers/irqchip/irq-gic-v5-irs.c | 15 +++++++++++++++
 drivers/irqchip/irq-gic-v5.c     |  1 +
 2 files changed, 16 insertions(+)

-- 
2.34.1

             reply	other threads:[~2026-08-11 15:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-11 15:26 Sascha Bischoff [this message]
2026-08-11 15:27 ` [PATCH v2 1/2] irqchip/gic-v5: Clear per-CPU IRS data on teardown Sascha Bischoff
2026-08-20  8:25   ` [tip: irq/urgent] " tip-bot2 for Sascha Bischoff
2026-08-11 15:27 ` [PATCH v2 2/2] irqchip/gic-v5: Synchronize CPU interface disable Sascha Bischoff
2026-08-11 16:31   ` Lorenzo Pieralisi
2026-08-20  8:25   ` [tip: irq/urgent] " tip-bot2 for Sascha Bischoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260811152630.942023-1-sascha.bischoff@arm.com \
    --to=sascha.bischoff@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lpieralisi@kernel.org \
    --cc=maz@kernel.org \
    --cc=nd@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®