linux/arch
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
..
alpha MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
arc MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
arm gpio: updates for v6.2 2022-12-15 09:45:51 -08:00
arm64 ARM64: 2022-12-15 11:12:21 -08:00
csky MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
hexagon MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
ia64 - Add the call depth tracking mitigation for Retbleed which has 2022-12-14 15:03:00 -08:00
loongarch MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
m68k MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
microblaze MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
mips MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
nios2 MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
openrisc MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
parisc MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
powerpc powerpc/msi: Fix deassociation of MSI descriptors 2022-12-17 10:58:48 +00:00
riscv RISC-V Patches for the 6.2 Merge Window, Part 1 2022-12-14 15:23:49 -08:00
s390 ARM64: 2022-12-15 11:12:21 -08:00
sh MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
sparc MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
um - Add the call depth tracking mitigation for Retbleed which has 2022-12-14 15:03:00 -08:00
x86 Tracing updates for 6.2: 2022-12-15 18:01:16 -08:00
xtensa MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
.gitignore
Kconfig - Add the call depth tracking mitigation for Retbleed which has 2022-12-14 15:03:00 -08:00