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)
commitd6f73fc69bf5837ad0d028d2a40f912921ed839f
tree4261d644befe82741ff2199233924753d683b5cc
parent6f881eaeb552ad27b7e8210919c19b7be3d88d9d
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