aboutsummaryrefslogtreecommitdiff
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorCédric Le Goater <[email protected]>2021-07-01 15:27:27 +0200
committerMichael Ellerman <[email protected]>2021-08-10 23:14:58 +1000
commit9a014f456881e947bf8cdd8c984a207097e6c096 (patch)
tree445a0619a6b4d8d61852494073e8785a3a5a2656 /lib/dynamic_debug.c
parent07817a578a7a79638537480b8847dc7a12f293c5 (diff)
powerpc/pseries/pci: Add a msi_free() handler to clear XIVE data
The MSI domain clears the IRQ with msi_domain_free(), which calls irq_domain_free_irqs_top(), which clears the handler data. This is a problem for the XIVE controller since we need to unmap MMIO pages and free a specific XIVE structure. The 'msi_free()' handler is called before irq_domain_free_irqs_top() when the handler data is still available. Use that to clear the XIVE controller data. Signed-off-by: Cédric Le Goater <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions