]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s/exception: machine check pseries should always run the early handler
authorNicholas Piggin <npiggin@gmail.com>
Fri, 2 Aug 2019 10:56:30 +0000 (20:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2019 00:32:34 +0000 (10:32 +1000)
commit938773a55b86108c3ed0528a642924f4be3cb2e2
treedb4e9e44e58dc28b9e317167ea10c3e606970393
parent5c7dee7d1763d0f16b1f6344a891759c25dbb4cf
powerpc/64s/exception: machine check pseries should always run the early handler

Now that pseries with fwnmi registered runs the early machine check
handler, there is no good reason to special case the non-fwnmi case
and skip the early handler. Reducing the code and number of paths is
a top priority for asm code, it's better to handle this in C where
possible (and the pseries early handler is a no-op if fwnmi is not
registered).

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