KVM: PPC: Book3S HV: Remove redundant mtspr PSPB
authorNicholas Piggin <npiggin@gmail.com>
Mon, 12 Apr 2021 01:48:39 +0000 (11:48 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 12 Apr 2021 03:36:23 +0000 (13:36 +1000)
commit4b5f0a0d49e663adf1c7c6f2dd05cb18dd53db8c
treee94007167d263a766108efb755cd8a12c11d5ed9
parent72c15287210f7433f5fcb55452b05e4b6ccc6c15
KVM: PPC: Book3S HV: Remove redundant mtspr PSPB

This SPR is set to 0 twice when exiting the guest.

Suggested-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Acked-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210412014845.1517916-7-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv.c