OSDN Git Service

KVM: PPC: Book3S HV P9: Implement TM fastpath for guest entry/exit
authorNicholas Piggin <npiggin@gmail.com>
Tue, 23 Nov 2021 09:52:10 +0000 (19:52 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 24 Nov 2021 10:09:00 +0000 (21:09 +1100)
commit3f9e2966d1b0dd81bcfaeb816335e0ddeedde3c1
tree1b88b6471db113e4881bff279b4551599962bac3
parentd5f480194577423731ee8413791a5486f26a95ab
KVM: PPC: Book3S HV P9: Implement TM fastpath for guest entry/exit

If TM is not active, only TM register state needs to be saved and
restored, avoiding several mfmsr/mtmsrd instructions and improving
performance.

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