Re: [PATCH 07/14] powerpc/rtas: PACA can be restored directly from SPRG

2022-03-14 Thread Laurent Dufour
On 08/03/2022, 14:50:40, Nicholas Piggin wrote: > On 64-bit, PACA is saved in a SPRG so it does not need to be saved on > stack. We also don't need to mask off the top bits for real mode > addresses because the architecture does this for us. > > Signed-off-by: Nicholas Piggin Reviewed-by: Lauren

[PATCH 07/14] powerpc/rtas: PACA can be restored directly from SPRG

2022-03-08 Thread Nicholas Piggin
On 64-bit, PACA is saved in a SPRG so it does not need to be saved on stack. We also don't need to mask off the top bits for real mode addresses because the architecture does this for us. Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/rtas_entry.S | 13 - 1 file changed, 4 in