KVM: PPC: Book3E: Increase FPU laziness
authorMihai Caraman <mihai.caraman@freescale.com>
Wed, 20 Aug 2014 13:36:22 +0000 (16:36 +0300)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Sep 2014 08:11:32 +0000 (10:11 +0200)
commit3efc7da61f6c5af78f67f03df8b0e1a473d8bc45
tree834b48106b82c7e5ed6e3eacfc106bd4856a6200
parentbc8a4e5c2504eeca248f0b668fe94a80081cb9b6
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>
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/booke.h
arch/powerpc/kvm/e500mc.c