diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2014-06-04 13:17:55 +0200 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-07-06 13:56:49 +0200 |
commit | 3cd60e31185343d4132ca7cf3c9becb903b3ec1b (patch) | |
tree | 0098c9324ef89484f063845b18153385357d8bfd /arch/powerpc/include/asm/kvm_book3s.h | |
parent | arch: x86: kvm: x86.c: Cleaning up variable is set more than once (diff) | |
download | linux-3cd60e31185343d4132ca7cf3c9becb903b3ec1b.tar.xz linux-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.h | 2 |
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; |