diff options
author | Scott Wood <scottwood@freescale.com> | 2011-04-28 00:24:10 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-22 14:47:50 +0200 |
commit | eab176722f4628b2d9cf76221a43dd3a0e37e632 (patch) | |
tree | 4b1e9e9ecb6adc4fb97c47ad5a3c174d3ad942ef /arch/powerpc/kvm/booke_interrupts.S | |
parent | KVM: PPC: use ticks, not usecs, for exit timing (diff) | |
download | linux-eab176722f4628b2d9cf76221a43dd3a0e37e632.tar.xz linux-eab176722f4628b2d9cf76221a43dd3a0e37e632.zip |
KVM: PPC: booke: save/restore VRSAVE (a.k.a. USPRG0)
Linux doesn't use USPRG0 (now renamed VRSAVE in the architecture, even
when Altivec isn't involved), but a guest might.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/booke_interrupts.S')
-rw-r--r-- | arch/powerpc/kvm/booke_interrupts.S | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/booke_interrupts.S b/arch/powerpc/kvm/booke_interrupts.S index 1cc471faac2d..b58ccae95904 100644 --- a/arch/powerpc/kvm/booke_interrupts.S +++ b/arch/powerpc/kvm/booke_interrupts.S @@ -380,7 +380,6 @@ lightweight_exit: * because host interrupt handlers would get confused. */ lwz r1, VCPU_GPR(r1)(r4) - /* XXX handle USPRG0 */ /* Host interrupt handlers may have clobbered these guest-readable * SPRGs, so we need to reload them here with the guest's values. */ lwz r3, VCPU_SPRG4(r4) |