Skip to contentSkip to conversation

MSI fixes for 6.2-rc1

GIT PULL Merged Marc Zyngier 2 participants 2 messages Dec 17, 2022 – Dec 19, 2022

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Thomas tasked me with sending out a few urgent fixes after the giant MSI rework that landed in 6.2, as both s390 and powerpc ended-up suffering from it (they do not use the full core code infrastructure, leading to these previously undetected issues). Details in the tag below.

Many thanks to Guenter, Matthew and Niklas for reporting the issues.

Please pull,

	M.

The following changes since commit 84e57d292203a45c96dbcb2e6be9dd80961d981a:

Merge tag 'exfat-for-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat (2022-12-15 18:14:21 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git tags/msi-fixes-6.2-1

for you to fetch changes up to 4545c6a3d6ba71747eaa984c338ddd745e56e23f:

powerpc/msi: Fix deassociation of MSI descriptors (2022-12-17 10:58:48 +0000)

----------------------------------------------------------------
MSI fixes for 6.2:

- Return MSI_XA_DOMAIN_SIZE as the maximum MSI index when the architecture does not make use of irq domains instead of returning 0, which is pretty limiting.

- Check for the presence of an irq domain when validating the MSI iterator, as s390/powerpc won't have one.

- Fix powerpc's MSI backends which fail to clear the descriptor's IRQ field on teardown, leading to a splat and leaked descriptors.

----------------------------------------------------------------
Marc Zyngier (2):
genirq/msi: Check for the presence of an irq domain when validating msi_ctrl powerpc/msi: Fix deassociation of MSI descriptors

Thomas Gleixner (1):
genirq/msi: Return MSI_XA_DOMAIN_SIZE as the maximum MSI index when no domain is present

 arch/powerpc/platforms/4xx/hsta_msi.c  | 1 +
 arch/powerpc/platforms/cell/axon_msi.c | 1 +
 arch/powerpc/platforms/pasemi/msi.c    | 1 +
 arch/powerpc/sysdev/fsl_msi.c          | 1 +
 arch/powerpc/sysdev/mpic_u3msi.c       | 1 +
 kernel/irq/msi.c                       | 7 ++++---
 6 files changed, 9 insertions(+), 3 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 17 Dec 2022 11:32:14 +0000:

The pull request you sent on Sat, 17 Dec 2022 11:32:14 +0000:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git tags/msi-fixes-6.2-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/03d84bd6d43269df2dc63b2945dfed6610fac526

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html