]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s: Merge HV and non-HV paths for doorbell IRQ replay
authorNicholas Piggin <npiggin@gmail.com>
Fri, 11 Aug 2017 16:39:03 +0000 (02:39 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 23 Aug 2017 13:13:27 +0000 (23:13 +1000)
commit95259edb97f56e88fc031c22f7a5e5594919f56d
tree4261d644befe82741ff2199233924753d683b5cc
parentae186d39fdc9b5f1686c8202a013b837dfbaff8c
powerpc/64s: Merge HV and non-HV paths for doorbell IRQ replay

This results in smaller code, and fewer branches. This relies on the
fact that both the 0xe80 and 0xa00 handlers call the same upper level
code, namely doorbell_exception().

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Mention we rely on the implementation of the 0xe80/0xa00 handlers]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/entry_64.S
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kernel/irq.c