linux/arch/powerpc/platforms/cell
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
..
spufs powerpc updates for 6.1 2022-10-09 14:05:15 -07:00
axon_msi.c powerpc/msi: Fix deassociation of MSI descriptors 2022-12-17 10:58:48 +00:00
cbe_powerbutton.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
cbe_regs.c powerpc/cell: Add missing of_node_put()s in cbe_regs.c 2022-09-05 17:28:26 +10:00
cbe_thermal.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
cell.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 2019-05-24 17:39:02 +02:00
cpufreq_spudemand.c cpufreq: Register governors at core_initcall 2020-07-02 13:03:30 +02:00
interrupt.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
interrupt.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
iommu.c powerpc/cell: Add missing of_node_put() in iommu.c 2022-09-05 17:28:26 +10:00
Kconfig powerpc/64s: Make hash MMU support configurable 2021-12-09 22:40:24 +11:00
Makefile arch: powerpc: Stop building and using oprofile 2021-01-29 10:05:51 +05:30
pervasive.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
pervasive.h powerpc/cell: tidy up pervasive declarations 2021-02-09 00:02:11 +11:00
pmu.c powerpc: Add missing linux/{of.h,irqdomain.h} include directives 2021-06-10 13:09:16 +01:00
ras.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
ras.h powerpc: convert interrupt handlers to use wrappers 2021-02-09 00:02:12 +11:00
setup.c powerpc/cell: Add missing of_node_put()s 2022-09-05 17:28:26 +10:00
smp.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
spider-pci.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
spider-pic.c powerpc: Add missing headers 2022-05-08 22:15:40 +10:00
spu_base.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
spu_callbacks.c powerpc: Use common syscall handler type 2022-09-28 19:22:09 +10:00
spu_manage.c powerpc/cell: Add missing of_node_put()s 2022-09-05 17:28:26 +10:00
spu_priv1_mmio.c powerpc: Remove asm/prom.h from all files that don't need it 2022-05-08 22:15:04 +10:00
spu_priv1_mmio.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 167 2019-05-30 11:26:39 -07:00
spu_syscalls.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 153 2019-05-30 11:26:32 -07:00