powerpc/xive: Define xive_native_alloc_irq_on_chip()
authorHaren Myneni <haren@linux.ibm.com>
Thu, 16 Apr 2020 05:58:40 +0000 (22:58 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 20 Apr 2020 06:52:59 +0000 (16:52 +1000)
commit8d0ea29db5aefd0d94fa4b6ca6124c68998f3c6a
tree69c576752ffeebc4dccfc1e6f2c75c56acef8295
parentae83d0b416db002fe95601e7f97f64b59514d936
powerpc/xive: Define xive_native_alloc_irq_on_chip()

This function allocates IRQ on a specific chip. VAS needs per chip
IRQ allocation and will have IRQ handler per VAS instance.

Signed-off-by: Haren Myneni <haren@linux.ibm.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1587016720.2275.1047.camel@hbabu-laptop
arch/powerpc/include/asm/xive.h
arch/powerpc/sysdev/xive/native.c