Messages in this thread |  | | From | Marc Zyngier <> | Subject | [GIT PULL] MSI fixes for 6.2-rc1 | Date | Sat, 17 Dec 2022 11:32:14 +0000 |
| |
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(-)
|  |