diff options
| author | Cédric Le Goater <clg@kaod.org> | 2021-07-01 15:27:21 +0200 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-08-10 23:14:57 +1000 |
| commit | 14be098c5387eb93b794f299f3c3e2ddf6038ec7 (patch) | |
| tree | 1b794888534b52c53fa4b0e87964b2e0b95fe225 /tools/perf/scripts/python | |
| parent | powerpc/pseries/pci: Introduce rtas_prepare_msi_irqs() (diff) | |
| download | linux-14be098c5387eb93b794f299f3c3e2ddf6038ec7.tar.gz linux-14be098c5387eb93b794f299f3c3e2ddf6038ec7.zip | |
powerpc/xive: Add support for IRQ domain hierarchy
This adds handlers to allocate/free IRQs in a domain hierarchy. We
could try to use xive_irq_domain_map() in xive_irq_domain_alloc() but
we rely on xive_irq_alloc_data() to set the IRQ handler data and
duplicating the code is simpler.
xive_irq_free_data() needs to be called when IRQ are freed to clear
the MMIO mappings and free the XIVE handler data, xive_irq_data
structure. This is going to be a problem with MSI domains which we
will address later.
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-4-clg@kaod.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
