diff options
| author | Cédric Le Goater <clg@kaod.org> | 2021-07-01 15:27:27 +0200 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-10 23:14:58 +1000 |
| commit | 9a014f456881e947bf8cdd8c984a207097e6c096 (patch) | |
| tree | 445a0619a6b4d8d61852494073e8785a3a5a2656 /tools/perf/scripts/python | |
| parent | powerpc/pseries/pci: Add a domain_free_irqs() handler (diff) | |
| download | linux-9a014f456881e947bf8cdd8c984a207097e6c096.tar.gz linux-9a014f456881e947bf8cdd8c984a207097e6c096.zip | |
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 <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210701132750.1475580-10-clg@kaod.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
