summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kvm/e500mc.c
diff options
context:
space:
mode:
authorMihai Caraman <mihai.caraman@freescale.com>2014-08-20 16:36:22 +0300
committerAlexander Graf <agraf@suse.de>2014-09-22 10:11:32 +0200
commit3efc7da61f6c5af78f67f03df8b0e1a473d8bc45 (patch)
tree834b48106b82c7e5ed6e3eacfc106bd4856a6200 /arch/powerpc/kvm/e500mc.c
parentbc8a4e5c2504eeca248f0b668fe94a80081cb9b6 (diff)
downloadblackbird-op-linux-3efc7da61f6c5af78f67f03df8b0e1a473d8bc45.tar.gz
blackbird-op-linux-3efc7da61f6c5af78f67f03df8b0e1a473d8bc45.zip
KVM: PPC: Book3E: Increase FPU laziness
Increase FPU laziness by loading the guest state into the unit before entering the guest instead of doing it on each vcpu schedule. Without this improvement an interrupt may claim floating point corrupting guest state. Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/e500mc.c')
-rw-r--r--arch/powerpc/kvm/e500mc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kvm/e500mc.c b/arch/powerpc/kvm/e500mc.c
index 000cf8242e7d..454934990672 100644
--- a/arch/powerpc/kvm/e500mc.c
+++ b/arch/powerpc/kvm/e500mc.c
@@ -145,8 +145,6 @@ static void kvmppc_core_vcpu_load_e500mc(struct kvm_vcpu *vcpu, int cpu)
kvmppc_e500_tlbil_all(vcpu_e500);
__get_cpu_var(last_vcpu_of_lpid)[vcpu->kvm->arch.lpid] = vcpu;
}
-
- kvmppc_load_guest_fp(vcpu);
}
static void kvmppc_core_vcpu_put_e500mc(struct kvm_vcpu *vcpu)
OpenPOWER on IntegriCloud