linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] KVM: PPC: Book3S HV: Cleanup kvmppc_load/save_fp
@ 2014-08-19  4:59 Michael Neuling
  2014-08-19  4:59 ` [PATCH 2/2] KVM: PPC: Book3S HV: Add register name when loading toc Michael Neuling
  2014-08-19  5:24 ` [PATCH 1/2] KVM: PPC: Book3S HV: Cleanup kvmppc_load/save_fp Paul Mackerras
  0 siblings, 2 replies; 5+ messages in thread
From: Michael Neuling @ 2014-08-19  4:59 UTC (permalink / raw)
  To: Alexander Graf, Paul Mackerras; +Cc: linuxppc-dev, kvm-ppc, kvm

This cleans up kvmppc_load/save_fp.  It removes unnecessary isyncs.  It also
removes the unnecessary resetting of the MSR bits on exit of kvmppc_save_fp.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
---
 arch/powerpc/kvm/book3s_hv_rmhandlers.S | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/powerpc/kvm/book3s_hv_rmhandlers.S b/arch/powerpc/kvm/book3s_hv_rmhandlers.S
index f0c4db7..c4bd2d7 100644
--- a/arch/powerpc/kvm/book3s_hv_rmhandlers.S
+++ b/arch/powerpc/kvm/book3s_hv_rmhandlers.S
@@ -2434,7 +2434,6 @@ BEGIN_FTR_SECTION
 END_FTR_SECTION_IFSET(CPU_FTR_VSX)
 #endif
 	mtmsrd	r8
-	isync
 	addi	r3,r3,VCPU_FPRS
 	bl	store_fp_state
 #ifdef CONFIG_ALTIVEC
@@ -2470,7 +2469,6 @@ BEGIN_FTR_SECTION
 END_FTR_SECTION_IFSET(CPU_FTR_VSX)
 #endif
 	mtmsrd	r8
-	isync
 	addi	r3,r4,VCPU_FPRS
 	bl	load_fp_state
 #ifdef CONFIG_ALTIVEC
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-27 11:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19  4:59 [PATCH 1/2] KVM: PPC: Book3S HV: Cleanup kvmppc_load/save_fp Michael Neuling
2014-08-19  4:59 ` [PATCH 2/2] KVM: PPC: Book3S HV: Add register name when loading toc Michael Neuling
2014-08-27 11:20   ` Alexander Graf
2014-08-19  5:24 ` [PATCH 1/2] KVM: PPC: Book3S HV: Cleanup kvmppc_load/save_fp Paul Mackerras
2014-08-19  5:36   ` Michael Neuling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).