Skip to content

Commit 446183e

Browse files
Scott Woodmpe
authored andcommitted
powerpc/ipic: Support edge on IRQ0
External IRQ0 (index 48) has the same capabilities as the other IRQ1-7 and is handled by the same register IPIC_SEPNR. When this register is not specified for "ack" in "ipic_info", you cannot configure this IRQ as IRQ_TYPE_EDGE_FALLING. This oversight was probably due to the non-contiguous hwirq numbering of IRQ0 in the IPIC. Signed-off-by: Jurgen Schindele <[email protected]> [scottwood: Cleaned up commit message and posted as a proper patch] Signed-off-by: Scott Wood <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
1 parent 8f36479 commit 446183e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/powerpc/sysdev/ipic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ static struct ipic_info ipic_info[] = {
315315
.prio_mask = 7,
316316
},
317317
[48] = {
318+
.ack = IPIC_SEPNR,
318319
.mask = IPIC_SEMSR,
319320
.prio = IPIC_SMPRR_A,
320321
.force = IPIC_SEFCR,

0 commit comments

Comments
 (0)