]> www.infradead.org Git - users/hch/misc.git/commit
powerpc/xive: Untangle xive from child interrupt controller drivers
authorNam Cao <namcao@linutronix.de>
Mon, 11 Aug 2025 09:28:54 +0000 (11:28 +0200)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Sat, 6 Sep 2025 12:03:18 +0000 (17:33 +0530)
commitcc0cc23babc979e399f34f53e4bccf702a389558
tree566199b1fb6c6385a0bf1d7f3090deea8b6a0aef
parentb034baff11d050dd314d5f2645eb52988a93e4a1
powerpc/xive: Untangle xive from child interrupt controller drivers

xive-specific data is stored in handler_data. This creates a mess, as xive
has to rely on child interrupt controller drivers to clean up this data, as
was done by 9a014f45688 ("powerpc/pseries/pci: Add a msi_free() handler to
clear XIVE data").

Instead, store xive-specific data in chip_data and untangle the child
drivers.

Signed-off-by: Nam Cao <namcao@linutronix.de>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/83968073022a4cc211dcbd0faccd20ec05e58c3e.1754903590.git.namcao@linutronix.de
arch/powerpc/include/asm/xive.h
arch/powerpc/platforms/powernv/pci-ioda.c
arch/powerpc/platforms/pseries/msi.c
arch/powerpc/sysdev/xive/common.c