genirq/msi: Provide msi_domain_ops:: Post_free()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 11 Nov 2022 13:54:27 +0000 (14:54 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 17 Nov 2022 14:15:19 +0000 (15:15 +0100)
commitf6d3486a3d2f3c67d732641834eec872fcc66472
tree73e4ce46034779170b09292ffb3fc9dfbfe033a6
parent762687ceb31fc296e2e1406559e8bb50251c5277
genirq/msi: Provide msi_domain_ops:: Post_free()

To prepare for removing the exposure of __msi_domain_free_irqs() provide a
post_free() callback in the MSI domain ops which can be used to solve
the problem of the only user of __msi_domain_free_irqs() in arch/powerpc.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Ashok Raj <ashok.raj@intel.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20221111122014.063153448@linutronix.de
include/linux/msi.h
kernel/irq/msi.c