summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorMihai Caraman <mihai.caraman@freescale.com>2014-07-04 11:17:28 +0300
committerAlexander Graf <agraf@suse.de>2014-07-28 15:22:27 +0200
commitdebf27d6b92d7a98e0153ca8e3a990ea7a45b4da (patch)
tree51784440b1489210acf635d68b6582b58ed39f64 /arch/powerpc/include
parent6947f948f06128409b94306afaca5ece873ee5a2 (diff)
downloadblackbird-obmc-linux-debf27d6b92d7a98e0153ca8e3a990ea7a45b4da.tar.gz
blackbird-obmc-linux-debf27d6b92d7a98e0153ca8e3a990ea7a45b4da.zip
KVM: PPC: e500: Emulate power management control SPR
For FSL e6500 core the kernel uses power management SPR register (PWRMGTCR0) to enable idle power down for cores and devices by setting up the idle count period at boot time. With the host already controlling the power management configuration the guest could simply benefit from it, so emulate guest request as a general store. Signed-off-by: Mihai Caraman <mihai.caraman@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/kvm_host.h b/arch/powerpc/include/asm/kvm_host.h
index 62b2cee450a5..faf2f0e56bb8 100644
--- a/arch/powerpc/include/asm/kvm_host.h
+++ b/arch/powerpc/include/asm/kvm_host.h
@@ -584,6 +584,7 @@ struct kvm_vcpu_arch {
u32 mmucfg;
u32 eptcfg;
u32 epr;
+ u32 pwrmgtcr0;
u32 crit_save;
/* guest debug registers*/
struct debug_reg dbg_reg;
OpenPOWER on IntegriCloud