]> 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)
commit69ed910124a6cdc13104a2c881a6e22b6f1f54a6
tree125548c7c002ac82fb973d2c8b5bc57a18d50b73
parent8acae13c842e74fa9b257cf54f279c8265ccf9e4
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