OSDN Git Service

KVM: PPC: Book3S HV P9: Juggle SPR switching around
authorNicholas Piggin <npiggin@gmail.com>
Tue, 23 Nov 2021 09:52:05 +0000 (19:52 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 24 Nov 2021 10:08:59 +0000 (21:08 +1100)
commit0f3b6c4851aef7a98b435c6f08b2c9c88165d254
treef0c258f7199cc885b83809bb620bd10cf45b4ff1
parent9dfe7aa7bc50556063c8658f59ad475131c09b65
KVM: PPC: Book3S HV P9: Juggle SPR switching around

This juggles SPR switching on the entry and exit sides to be more
symmetric, which makes the next refactoring patch possible with no
functional change.

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