]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s/exception: simplify machine check early path
authorNicholas Piggin <npiggin@gmail.com>
Fri, 2 Aug 2019 10:56:38 +0000 (20:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2019 00:32:35 +0000 (10:32 +1000)
commit67a81b7cc7f87da480dd95034a413923b570eaf5
treef14ea47a6152d51a8afc6ff06bcac38a47f07625
parent7c10c89071c677a4be4f0ef0baa8fd1ad813f97e
powerpc/64s/exception: simplify machine check early path

machine_check_handle_early_common can reach machine_check_handle_early
directly now that it runs at the relocated address, so just branch
directly.

The rfi sequence is required to enable MSR[ME] but that step is moved
into a helper function, making the code easier to follow.

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