KVM: PPC: Book3S HV P9: Move SPR loading after expiry time check
authorNicholas Piggin <npiggin@gmail.com>
Fri, 28 May 2021 09:07:38 +0000 (19:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jun 2021 12:12:14 +0000 (22:12 +1000)
commit68e3baaca8c56bbb336d2215f201f4047ce736e5
tree2363569b49609226b82504608197db6a838ffce3
parenta32ed1bb70723ec7a6c888b6c7071d516cca0e8f
KVM: PPC: Book3S HV P9: Move SPR loading after expiry time check

This is wasted work if the time limit is exceeded.

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-19-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv_p9_entry.c