diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2020-04-29 16:56:53 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-05-07 11:00:41 +1000 |
commit | c44dc6323cd49d8d742c37e234b952e822c35de4 (patch) | |
tree | c8a0eb0e95f2e30949fdf3684967bd355b7e16ee /drivers/nvmem/vf610-ocotp.c | |
parent | 53459dc9709db2141d784702abbd43e8fcac8e6d (diff) |
powerpc/64s/kuap: Restore AMR in fast_interrupt_return
Interrupts that use fast_interrupt_return actually do lock AMR, but
they have been ones which tend to come from userspace (or kernel bugs)
in radix mode. With kuap on hash, segment interrupts are taken in
kernel often, which quickly breaks due to the missing 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-6-npiggin@gmail.com
Diffstat (limited to 'drivers/nvmem/vf610-ocotp.c')
0 files changed, 0 insertions, 0 deletions