]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita51ed9138fac121e1784869ba8d05478f72a2476
treef0c258f7199cc885b83809bb620bd10cf45b4ff1
parent248ef7e41b512d328f66d447e93eed23092d5c9e
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