]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/64s/kuap: Restore AMR in system reset exception
authorNicholas Piggin <npiggin@gmail.com>
Wed, 29 Apr 2020 06:56:52 +0000 (16:56 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 4 May 2020 05:21:28 +0000 (15:21 +1000)
commit356071235efd3e6cba700406a1fdfde10d4d41af
tree49d463f58d0c61235ba3ebaf7784ddb2b7b107b3
parent99f5ab9ae80c4cbff0d600e9eee8edca4198f71b
powerpc/64s/kuap: Restore AMR in system reset exception

The system reset interrupt handler locks AMR and exits with
EXCEPTION_RESTORE_REGS without restoring AMR. Similarly to the
soft-NMI handler, it needs to restore.

Fixes: 63609b968273 ("powerpc/64s: Implement KUAP for Radix MMU")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200429065654.1677541-5-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S