diff options
author | Cédric Le Goater <clg@kaod.org> | 2021-03-31 17:45:14 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-04-14 16:04:15 +0300 |
commit | fd6db2892ebaa1383a93b4a609c65b96e615510a (patch) | |
tree | 6e2f5af2135f0b946f6dd0d94b4d6ae99b8c0f10 /lib/bcd.c | |
parent | 7dcc37b3eff97379b194adb17eb9a8270512dd1d (diff) | |
download | linux-fd6db2892ebaa1383a93b4a609c65b96e615510a.tar.xz |
powerpc/xive: Modernize XIVE-IPI domain with an 'alloc' handler
Instead of calling irq_create_mapping() to map the IPI for a node,
introduce an 'alloc' handler. This is usually an extension to support
hierarchy irq_domains which is not exactly the case for XIVE-IPI
domain. However, we can now use the irq_domain_alloc_irqs() routine
which allocates the IRQ descriptor on the specified node, even better
for cache performance on multi node machines.
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/20210331144514.892250-10-clg@kaod.org
Diffstat (limited to 'lib/bcd.c')
0 files changed, 0 insertions, 0 deletions