linux/arch/powerpc/platforms
Nam Cao 2743cf75f7 powerpc, ocxl: Fix extraction of struct xive_irq_data
Commit cc0cc23bab ("powerpc/xive: Untangle xive from child interrupt
controller drivers") changed xive_irq_data to be stashed to chip_data
instead of handler_data. However, multiple places are still attempting to
read xive_irq_data from handler_data and get a NULL pointer deference bug.

Update them to read xive_irq_data from chip_data.

Non-XIVE files which touch xive_irq_data seem quite strange to me,
especially the ocxl driver. I think there ought to be an alternative
platform-independent solution, instead of touching XIVE's data directly.
Therefore, I think this whole thing should be cleaned up. But perhaps I
just misunderstand something. In any case, this cleanup would not be
trivial; for now, just get things working again.

Fixes: cc0cc23bab ("powerpc/xive: Untangle xive from child interrupt controller drivers")
Reported-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Closes: https://lore.kernel.org/linuxppc-dev/68e48df8.170a0220.4b4b0.217d@mx.google.com/
Signed-off-by: Nam Cao <namcao@linutronix.de>
Reviewed-by: Ganesh Goudar <ganeshgr@linux.ibm.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>  # ocxl
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20251008081359.1382699-1-namcao@linutronix.de
2025-10-13 09:40:55 +05:30
..
8xx powerpc/cpm2: Drop legacy-of-mm-gpiochip.h header 2025-09-06 16:05:26 +05:30
44x powerpc/44x: Drop legacy-of-mm-gpiochip.h header 2025-09-06 16:07:11 +05:30
52xx treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
82xx
83xx treewide: rename GPIO set callbacks back to their original names 2025-08-07 10:07:06 +02:00
85xx powerpc: Switch to irq_find_mapping() 2025-05-16 21:06:12 +02:00
86xx
512x (powerpc/512) Fix possible `dma_unmap_single()` on uninitialized pointer 2025-07-09 09:15:10 +05:30
amigaone irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
book3s powerpc: book3s: vas: use lock guard for mutex 2025-06-23 09:57:11 +05:30
cell vfs-6.18-rc1.async 2025-09-29 11:55:15 -07:00
chrp irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
embedded6xx powerpc: Switch to irq_find_mapping() 2025-05-16 21:06:12 +02:00
microwatt
pasemi irqdomain: Rename irq_set_default_host() to irq_set_default_domain() 2025-04-04 16:39:10 +02:00
powermac powerpc/powermac: remove unneeded tty includes 2025-06-17 13:42:33 +02:00
powernv powerpc, ocxl: Fix extraction of struct xive_irq_data 2025-10-13 09:40:55 +05:30
ps3 A set of cleanups for the generic interrupt subsystem: 2025-05-27 08:07:32 -07:00
pseries powerpc/pseries/msi: Fix NULL pointer dereference at irq domain teardown 2025-10-13 09:39:02 +05:30
Kconfig soc: driver updates for 6.18 2025-10-01 17:32:51 -07:00
Kconfig.cputype powerpc: unify two CONFIG_POWERPC64_CPU entries in the same choice block 2025-08-20 14:02:47 +05:30
Makefile
fsl_uli1575.c