summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/idle_power7.S
diff options
context:
space:
mode:
authorAlexander Graf2012-03-05 16:00:28 +0100
committerAvi Kivity2012-04-08 13:01:02 +0200
commitf6127716c346c73ab1513edee53231800188c5ba (patch)
tree3b3867d5fb239c2f03f0011cb752e6d816f853f9 /arch/powerpc/kernel/idle_power7.S
parentKVM: PPC: Book3s: PR: Add SPAPR H_BULK_REMOVE support (diff)
downloadkernel-qcow2-linux-f6127716c346c73ab1513edee53231800188c5ba.tar.gz
kernel-qcow2-linux-f6127716c346c73ab1513edee53231800188c5ba.tar.xz
kernel-qcow2-linux-f6127716c346c73ab1513edee53231800188c5ba.zip
KVM: PPC: Save/Restore CR over vcpu_run
On PPC, CR2-CR4 are nonvolatile, thus have to be saved across function calls. We didn't respect that for any architecture until Paul spotted it in his patch for Book3S-HV. This patch saves/restores CR for all KVM capable PPC hosts. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kernel/idle_power7.S')
0 files changed, 0 insertions, 0 deletions