]> 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)
commit7f4acc9927d530682acd01015f554dd6d7ff8d58
tree46641249e5b08bb0f88ec480943ce36f2c489be9
parent51a92c4ccf51dbc0922bce3f0478658f3f395aa7
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