powerpc/64s/exception: machine check move unrecoverable handling out of line
authorNicholas Piggin <npiggin@gmail.com>
Fri, 2 Aug 2019 10:56:39 +0000 (20:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2019 00:32:36 +0000 (10:32 +1000)
commitb7d9ccec3056913528690c5fae7cc86a5ea3dffc
tree335cda249be8efed464efff9d0b005898461ab80
parent296e753fb447eb14c8c9fd6a7c48e7ffab269343
powerpc/64s/exception: machine check move unrecoverable handling out of line

Similarly to the previous change, all callers of the unrecoverable
handler run relocated so can reach it with a direct branch. This makes
it easy to move out of line, which makes the "normal" path less
cluttered and easier to follow.

MSR[ME] manipulation still requires the rfi, so that is moved out of
line to its own function.

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-15-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S