]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94a60df59ff6099731b216a47b96cc82b242dcd6
tree53becd4e35f2f58743a9fab630109bf95746804a
parent6e2ed2665263d0e01862a17a1609be28c3463fc8
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