Files
erofs-linux/drivers/misc
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) <[email protected]>
Closes: https://lore.kernel.org/linuxppc-dev/[email protected]/
Signed-off-by: Nam Cao <[email protected]>
Reviewed-by: Ganesh Goudar <[email protected]>
Acked-by: Andrew Donnellan <[email protected]>  # ocxl
Signed-off-by: Madhavan Srinivasan <[email protected]>
Link: https://patch.msgid.link/[email protected]
2025-10-13 09:40:55 +05:30
..
…
2025-06-24 16:45:08 +01:00
…
…
…
…
…
2025-06-16 11:50:34 -07:00
…
…
…
…
…
…