From: Alexander Graf Date: Wed, 25 Apr 2012 12:29:57 +0000 (+0200) Subject: KVM: PPC: Book3S: PR: No isync in slbie path X-Git-Tag: upstream/snapshot3+hdmi~7382^2~11^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=af415087d2bbbef3cc25cdf371bfb0460cf66b3b;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git KVM: PPC: Book3S: PR: No isync in slbie path While messing around with the SLBs we're running in real mode. The entry to guest space goes through rfid, which is context synchronizing, so there's no need to manually synchronize anything through isync. With this patch and a simple priviledged SPR access loop guest, I get a speed bump from 2035607 to 2181301 exits per second. Signed-off-by: Alexander Graf --- diff --git a/arch/powerpc/kvm/book3s_64_slb.S b/arch/powerpc/kvm/book3s_64_slb.S index f2e6e48..56b983e 100644 --- a/arch/powerpc/kvm/book3s_64_slb.S +++ b/arch/powerpc/kvm/book3s_64_slb.S @@ -90,8 +90,6 @@ slb_exit_skip_ ## num: or r10, r10, r12 slbie r10 - isync - /* Fill SLB with our shadow */ lbz r12, SVCPU_SLB_MAX(r3)