Thread (57 messages) 57 messages, 3 authors, 2021-04-04

[PATCH v5 05/48] KVM: PPC: Book3S HV: Remove redundant mtspr PSPB

STALE2011d REVIEWED: 2 (0M)

From: Nicholas Piggin <npiggin@gmail.com>
Date: 2021-04-01 15:06:25
Subsystem: kernel virtual machine for powerpc (kvm/powerpc), linux for powerpc (32-bit and 64-bit), the rest · Maintainers: Madhavan Srinivasan, Linus Torvalds

Revision v5 of 4 in this series; 2 review trailers.

Revisions (4)
  1. rfc [diff vs current]
  2. v4 [diff vs current]
  3. v5 current
  4. v6 [diff vs current]
This SPR is set to 0 twice when exiting the guest.

Acked-by: Paul Mackerras <redacted>
Suggested-by: Fabiano Rosas <redacted>
Reviewed-by: Daniel Axtens <redacted>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
 arch/powerpc/kvm/book3s_hv.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c
index a6b5d79d9306..8bc2a5ee9ece 100644
--- a/arch/powerpc/kvm/book3s_hv.c
+++ b/arch/powerpc/kvm/book3s_hv.c
@@ -3787,7 +3787,6 @@ static int kvmhv_p9_guest_entry(struct kvm_vcpu *vcpu, u64 time_limit,
 	mtspr(SPRN_DSCR, host_dscr);
 	mtspr(SPRN_TIDR, host_tidr);
 	mtspr(SPRN_IAMR, host_iamr);
-	mtspr(SPRN_PSPB, 0);
 
 	if (host_amr != vcpu->arch.amr)
 		mtspr(SPRN_AMR, host_amr);
-- 
2.23.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help