aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2022-03-08 23:50:42 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-19 23:11:27 +1000
commit014b2e896cc8445fcc04636e69bf5f9e24281daa (patch)
tree966be50851bfc85c523b452dcf867480e2e2d849 /arch/powerpc/lib/code-patching.c
parent5c86bd02b3c3ef68a109fa7e690ad62d3091f6d4 (diff)
downloadlinux-014b2e896cc8445fcc04636e69bf5f9e24281daa.tar.gz
linux-014b2e896cc8445fcc04636e69bf5f9e24281daa.tar.bz2
linux-014b2e896cc8445fcc04636e69bf5f9e24281daa.zip
powerpc/rtas: Leave MSR[RI] enabled over RTAS call
PAPR specifies that RTAS may be called with MSR[RI] enabled if the calling context is recoverable, and RTAS will manage RI as necessary. Call the rtas entry point with RI enabled, and add a check to ensure the caller has RI enabled. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220308135047.478297-10-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions