]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ipic: Support edge on IRQ0
authorScott Wood <oss@buserror.net>
Sun, 25 Jun 2017 02:39:05 +0000 (21:39 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 24 Jul 2017 11:20:31 +0000 (21:20 +1000)
commit3743626317127f6eccb64919042a6d4ffb44bd24
treefaaf011197744dbf9ff3f2a4309b0f9fb2b9d690
parentf0b12af92021afd7d19c22c3ae2aac6befe804d1
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 <schindele@nentec.de>
[scottwood: Cleaned up commit message and posted as a proper patch]
Signed-off-by: Scott Wood <oss@buserror.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/sysdev/ipic.c