Home
last modified time | relevance | path

Searched hist:"014 b2e896cc8445fcc04636e69bf5f9e24281daa" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/
H A Drtas_entry.Sdiff 014b2e896cc8445fcc04636e69bf5f9e24281daa Tue Mar 08 07:50:42 CST 2022 Nicholas Piggin <npiggin@gmail.com> 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