summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/book3s64
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2021-05-28 12:07:40 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-10 15:12:14 +0300
commit41f779917669fcc28a7f5646d1f7a85043c9d152 (patch)
treebf4fbc5a080c2558dce60998ed668c7bf4b93264 /arch/powerpc/mm/book3s64
parentedba6aff4f2c3893e168df6a2e9a20f3c39b0b30 (diff)
downloadlinux-41f779917669fcc28a7f5646d1f7a85043c9d152.tar.xz
KVM: PPC: Book3S HV P9: Switch to guest MMU context as late as possible
Move MMU context switch as late as reasonably possible to minimise code running with guest context switched in. This becomes more important when this code may run in real-mode, with later changes. Move WARN_ON as early as possible so program check interrupts are less likely to tangle everything up. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210528090752.3542186-21-npiggin@gmail.com
Diffstat (limited to 'arch/powerpc/mm/book3s64')
0 files changed, 0 insertions, 0 deletions