summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-06-06 14:32:59 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-06-18 11:43:48 +0200
commit73f624f47c495d7129abef4b7031ed371cc7abb6 (patch)
treed8dc540a7c5cabf21eae8a2134ae9bbf9a8cd583 /arch/x86/include/asm
parent4cb8b1163586addc9e1f4eebe232a11534c24d4a (diff)
downloadlinux-73f624f47c495d7129abef4b7031ed371cc7abb6.tar.gz
linux-73f624f47c495d7129abef4b7031ed371cc7abb6.tar.bz2
linux-73f624f47c495d7129abef4b7031ed371cc7abb6.zip
KVM: x86: move MSR_IA32_POWER_CTL handling to common code
Make it available to AMD hosts as well, just in case someone is trying to use an Intel processor's CPUID setup. Suggested-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/kvm_host.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index a86026969b19..35e7937cc9ac 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -689,6 +689,7 @@ struct kvm_vcpu_arch {
u32 virtual_tsc_mult;
u32 virtual_tsc_khz;
s64 ia32_tsc_adjust_msr;
+ u64 msr_ia32_power_ctl;
u64 tsc_scaling_ratio;
atomic_t nmi_queued; /* unprocessed asynchronous NMIs */