]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit53459dc9709db2141d784702abbd43e8fcac8e6d
tree49d463f58d0c61235ba3ebaf7784ddb2b7b107b3
parentc0d7dcf89e5151b2259d1c2c1b922da3b881d02e
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: 890274c2dc4c ("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