]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/rtas: PACA can be restored directly from SPRG
authorNicholas Piggin <npiggin@gmail.com>
Tue, 8 Mar 2022 13:50:40 +0000 (23:50 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 19 May 2022 13:11:27 +0000 (23:11 +1000)
commit19ffbcee8140998be967b29e07a1057b0f1169c5
tree125548c7c002ac82fb973d2c8b5bc57a18d50b73
parent66b2fd604240b28fa6941f5d0b110cbf06463e49
powerpc/rtas: PACA can be restored directly from SPRG

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 <npiggin@gmail.com>
Reviewed-by: Laurent Dufour <ldufour@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220308135047.478297-8-npiggin@gmail.com
arch/powerpc/kernel/rtas_entry.S