aboutsummaryrefslogtreecommitdiffstatshomepage
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
parentpowerpc/rtas: PACA can be restored directly from SPRG (diff)
downloadwireguard-linux-014b2e896cc8445fcc04636e69bf5f9e24281daa.tar.xz
wireguard-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