Re: [patch 08/39] genirq/msi: Provide msi_domain_ops::post_free()

From: Jason Gunthorpe
Date: Wed Nov 16 2022 - 12:45:03 EST


On Fri, Nov 11, 2022 at 02:54:27PM +0100, Thomas Gleixner wrote:
> 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@xxxxxxxxxxxxx>
> ---
> include/linux/msi.h | 4 ++++
> kernel/irq/msi.c | 2 ++
> 2 files changed, 6 insertions(+)

Make sense, but I do wonder why PPC needs this ordering..

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason