]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/irq: Add mechanism to force a replay of interrupts
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 8 Jul 2016 06:37:07 +0000 (16:37 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 17 Jul 2016 06:42:44 +0000 (16:42 +1000)
commit7b14ddb587a671b422291e207d70cf96fd9dea00
tree46641249e5b08bb0f88ec480943ce36f2c489be9
parentf70c46b649dab84cdcfc73e703e1eaaa19f3e050
powerpc/irq: Add mechanism to force a replay of interrupts

Calling this function with interrupts soft-disabled will cause
a replay of the external interrupt vector when they are re-enabled.

This will be used by the OPAL XICS backend (and latter by the native
XIVE code) to handle EOI signaling that there are more interrupts to
fetch from the hardware since the hardware won't issue another HW
interrupt in that case.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/hw_irq.h
arch/powerpc/kernel/irq.c