Thread (2 messages) flat view 2 messages, 2 authors, 2022-05-15

Re: [PATCH v3] powerpc/rtas: Keep MSR[RI] set when calling RTAS

From: Michael Ellerman <hidden>
Date: 2022-05-15 10:32:50
Also in: lkml, stable

On Wed, 4 May 2022 12:12:44 +0200, Laurent Dufour wrote:
RTAS runs in real mode (MSR[DR] and MSR[IR] unset) and in 32bits
big endian mode (MSR[SF,LE] unset).

The change in MSR is done in enter_rtas() in a relatively complex way,
since the MSR value could be hardcoded.

Furthermore, a panic has been reported when hitting the watchdog interrupt
while running in RTAS, this leads to the following stack trace:

[...]
Applied to powerpc/next.

[1/1] powerpc/rtas: Keep MSR[RI] set when calling RTAS
      https://git.kernel.org/powerpc/c/b6b1c3ce06ca438eb24e0f45bf0e63ecad0369f5

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help