]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV P9: Don't restore PSSCR if not needed
authorNicholas Piggin <npiggin@gmail.com>
Tue, 23 Nov 2021 09:52:19 +0000 (19:52 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 24 Nov 2021 10:09:01 +0000 (21:09 +1100)
commitebaf5ab0b12a5050ba3b0286f1539fbedd46bc31
tree4e1e8b30695f1eb621699f150f6516a3cd57f4bc
parenta9563cd9b5af7cb576d192d597dd0254acb9cf45
KVM: PPC: Book3S HV P9: Don't restore PSSCR if not needed

This also moves the PSSCR update in nested entry to avoid a SPR
scoreboard stall.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211123095231.1036501-42-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_hv_p9_entry.c