From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Graf Date: Sun, 06 May 2012 14:20:51 +0000 Subject: [PATCH 07/16] KVM: PPC: Book3S: PR: No isync in slbie path Message-Id: <1336314060-32640-8-git-send-email-agraf@suse.de> List-Id: References: <1336314060-32640-1-git-send-email-agraf@suse.de> In-Reply-To: <1336314060-32640-1-git-send-email-agraf@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-ppc Cc: kvm list , Avi Kivity 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 --- arch/powerpc/kvm/book3s_64_slb.S | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) 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) -- 1.6.0.2