diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2021-05-28 12:07:32 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-06-10 15:12:13 +0300 |
commit | 48013cbc504e064d2318f24482cfbe3c53e0a812 (patch) | |
tree | 8e08bd24186713b7be8d73492671466eb5a9518a /fs/binfmt_script.c | |
parent | 09512c29167bd3792820caf83bcca4d4e5ac2266 (diff) | |
download | linux-48013cbc504e064d2318f24482cfbe3c53e0a812.tar.xz |
KVM: PPC: Book3S HV P9: Move radix MMU switching instructions together
Switching the MMU from radix<->radix mode is tricky particularly as the
MMU can remain enabled and requires a certain sequence of SPR updates.
Move these together into their own functions.
This also includes the radix TLB check / flush because it's tied in to
MMU switching due to tlbiel getting LPID from LPIDR.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210528090752.3542186-13-npiggin@gmail.com
Diffstat (limited to 'fs/binfmt_script.c')
0 files changed, 0 insertions, 0 deletions