linux/arch/powerpc
Marc Zyngier 4545c6a3d6 powerpc/msi: Fix deassociation of MSI descriptors
Since 2f2940d168 ("genirq/msi: Remove filter from
msi_free_descs_free_range()"), the core MSI code relies on the
msi_desc->irq field to have been cleared before the descriptor
can be freed, as it indicates that there is no association with
a device anymore.

The irq domain code provides this guarantee, and so does s390,
which is one of the two architectures not using irq domains for
MSIs.

Powerpc, however, is missing this particular requirements,
leading in a splat and leaked MSI descriptors.

Adding the now required irq reset to the handful of powerpc backends
that implement MSIs fixes that particular problem.

Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/70dab88e-6119-0c12-7c6a-61bcbe239f66@roeck-us.net
2022-12-17 10:58:48 +00:00
..
boot powerpc: dts: qoriq: Add nodes for QSGMII PCSs 2022-10-19 13:25:09 +01:00
configs Networking changes for 6.2. 2022-12-13 15:47:48 -08:00
crypto treewide: use get_random_u32_below() instead of deprecated function 2022-11-18 02:15:15 +01:00
include MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
kernel Non-MM patches for 6.2-rc1. 2022-12-12 17:28:58 -08:00
kexec kexec: replace crash_mem_range with range 2022-11-18 13:55:07 -08:00
kvm ARM64: 2022-12-15 11:12:21 -08:00
lib powerpc: Fix reschedule bug in KUAP-unlocked user copy 2022-10-18 22:46:19 +11:00
math-emu powerpc/math-emu: Inhibit W=1 warnings 2022-09-08 11:11:18 +10:00
mm hugetlb: simplify hugetlb handling in follow_page_mask 2022-11-08 17:37:10 -08:00
net powerpc/bpf/32: Fix Oops on tail call tests 2022-11-24 23:05:10 +11:00
perf perf: Rewrite core context handling 2022-10-27 20:12:16 +02:00
platforms powerpc/msi: Fix deassociation of MSI descriptors 2022-12-17 10:58:48 +00:00
purgatory powerpc/purgatory: Omit use of bin2c 2022-07-27 21:36:03 +10:00
sysdev powerpc/msi: Fix deassociation of MSI descriptors 2022-12-17 10:58:48 +00:00
tools powerpc/64: Add UADDR64 relocation support 2022-03-09 21:47:53 +11:00
xmon powerpc/64: asm use consistent global variable declaration and access 2022-09-28 19:22:12 +10:00
Kbuild
Kconfig powerpc/32: Select ARCH_SPLIT_ARG64 2022-11-01 15:27:12 +11:00
Kconfig.debug powerpc: Add support for early debugging via Serial 16550 console 2022-09-28 19:22:09 +10:00
Makefile Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00
Makefile.postlink