KVM: PPC: Book3S HV P9: Move TB updates
authorNicholas Piggin <npiggin@gmail.com>
Tue, 23 Nov 2021 09:52:01 +0000 (19:52 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 24 Nov 2021 10:08:59 +0000 (21:08 +1100)
commit6547af3eba88e4806e853fee7547031b2cc6a560
tree53becd4e35f2f58743a9fab630109bf95746804a
parent3c1a4322bba79aad2d3f6f996b7e1c336bd909b3
KVM: PPC: Book3S HV P9: Move TB updates

Move the TB updates between saving and loading guest and host SPRs,
to improve scheduling by keeping issue-NTC operations together as
much as possible.

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