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
This commit is contained in:
Nicholas Piggin 2021-11-23 19:52:19 +10:00 • committed by Michael Ellerman
commit a089a6869e
2 changed files with 24 additions and 9 deletions