summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/kvm_book3s.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2014-06-04 16:47:55 +0530
committerAlexander Graf <agraf@suse.de>2014-07-06 13:56:49 +0200
commit3cd60e31185343d4132ca7cf3c9becb903b3ec1b (patch)
tree0098c9324ef89484f063845b18153385357d8bfd /arch/powerpc/include/asm/kvm_book3s.h
parent9f6226a762c7ae02f6a23a3d4fc552dafa57ea23 (diff)
downloadlinux-stable-3cd60e31185343d4132ca7cf3c9becb903b3ec1b.tar.gz
linux-stable-3cd60e31185343d4132ca7cf3c9becb903b3ec1b.tar.bz2
linux-stable-3cd60e31185343d4132ca7cf3c9becb903b3ec1b.zip
KVM: PPC: BOOK3S: PR: Fix PURR and SPURR emulation
We use time base for PURR and SPURR emulation with PR KVM since we are emulating a single threaded core. When using time base we need to make sure that we don't accumulate time spent in the host in PURR and SPURR value. Also we don't need to emulate mtspr because both the registers are hypervisor resource. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/kvm_book3s.h')
-rw-r--r--arch/powerpc/include/asm/kvm_book3s.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/kvm_book3s.h b/arch/powerpc/include/asm/kvm_book3s.h
index f52f65694527..a20cc0bbd048 100644
--- a/arch/powerpc/include/asm/kvm_book3s.h
+++ b/arch/powerpc/include/asm/kvm_book3s.h
@@ -83,8 +83,6 @@ struct kvmppc_vcpu_book3s {
u64 sdr1;
u64 hior;
u64 msr_mask;
- u64 purr_offset;
- u64 spurr_offset;
#ifdef CONFIG_PPC_BOOK3S_32
u32 vsid_pool[VSID_POOL_SIZE];
u32 vsid_next;