OSDN Git Service

powerpc/xive: Introduce an IPI interrupt domain
authorCédric Le Goater <clg@kaod.org>
Wed, 31 Mar 2021 14:45:07 +0000 (16:45 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Apr 2021 13:04:14 +0000 (23:04 +1000)
commit7d348494136c8b47c39d1f7ccba28c47d5094a54
tree9787aa581441be773e53f3e7b07bbc3d00297fdb
parent078277acbd7c3fdb25c01a3cd5b4a1a875a1ab2f
powerpc/xive: Introduce an IPI interrupt domain

The IPI interrupt is a special case of the XIVE IRQ domain. When
mapping and unmapping the interrupts in the Linux interrupt number
space, the HW interrupt number 0 (XIVE_IPI_HW_IRQ) is checked to
distinguish the IPI interrupt from other interrupts of the system.

Simplify the XIVE interrupt domain by introducing a specific domain
for the IPI.

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-3-clg@kaod.org
arch/powerpc/sysdev/xive/common.c