powerpc/64s: move stack SLB pinning out of line from _switch
authorNicholas Piggin <npiggin@gmail.com>
Tue, 6 Jun 2023 13:24:42 +0000 (23:24 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Jun 2023 02:46:42 +0000 (12:46 +1000)
commitd6b87c3eb6b2e0b34ba747df549e08768b019fe9
treedac5e542c17c15e599284ff6bd0cf6b8b933b206
parent31b4f69dbae810b13237a7e8c89a52a72fd492e2
powerpc/64s: move stack SLB pinning out of line from _switch

The large hunk of SLB pinning in _switch asm code makes it more
difficult to see everything else that's going on. It is a less important
path now, so icache and fetch footprint overhead can be avoided.

Move context switch stack SLB pinning out of line.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230606132447.315714-2-npiggin@gmail.com
arch/powerpc/kernel/entry_64.S