powerpc/64s/exception: Add EXC_HV_OR_STD, which selects HSRR if HVMODE
authorNicholas Piggin <npiggin@gmail.com>
Fri, 2 Aug 2019 10:56:44 +0000 (20:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2019 00:32:36 +0000 (10:32 +1000)
commitdef0db4f9ddc24ad7b37735c34a78e9c3c7978ef
tree296b45084fc3c94683e24225821dd9b0b25b9b8e
parenta243281195c338489ec5088380821f64340cb82f
powerpc/64s/exception: Add EXC_HV_OR_STD, which selects HSRR if HVMODE

Add EXC_HV_OR_STD and use it to consolidate the 0x500 external
interrupt.

Executed code is unchanged.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190802105709.27696-20-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S