aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorNicholas Piggin <[email protected]>2022-03-08 13:50:42 +0000
committerMichael Ellerman <[email protected]>2022-05-19 13:11:27 +0000
commit014b2e896cc8445fcc04636e69bf5f9e24281daa (patch)
tree966be50851bfc85c523b452dcf867480e2e2d849 /arch/powerpc/lib/code-patching.c
parentpowerpc/rtas: PACA can be restored directly from SPRG (diff)
downloadkernel-014b2e896cc8445fcc04636e69bf5f9e24281daa.tar.gz
kernel-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 <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions