summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/msr-index.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2011-03-25 09:44:46 +0100
committerAvi Kivity <avi@redhat.com>2011-05-11 07:57:04 -0400
commitfbc0db76b77125e0a5131fb886cbaafa1ec5c525 (patch)
treec2ef78bd0f5c9f1909fa611c73a367628dd3d0d0 /arch/x86/include/asm/msr-index.h
parentbfeed29d6d3ebd5f31253d2c067e4e6c4aeb376b (diff)
downloadblackbird-op-linux-fbc0db76b77125e0a5131fb886cbaafa1ec5c525.tar.gz
blackbird-op-linux-fbc0db76b77125e0a5131fb886cbaafa1ec5c525.zip
KVM: SVM: Implement infrastructure for TSC_RATE_MSR
This patch enhances the kvm_amd module with functions to support the TSC_RATE_MSR which can be used to set a given tsc frequency for the guest vcpu. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/msr-index.h')
-rw-r--r--arch/x86/include/asm/msr-index.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h
index 3cce71413d0b..485b4f1f079b 100644
--- a/arch/x86/include/asm/msr-index.h
+++ b/arch/x86/include/asm/msr-index.h
@@ -118,6 +118,7 @@
complete list. */
#define MSR_AMD64_PATCH_LEVEL 0x0000008b
+#define MSR_AMD64_TSC_RATIO 0xc0000104
#define MSR_AMD64_NB_CFG 0xc001001f
#define MSR_AMD64_PATCH_LOADER 0xc0010020
#define MSR_AMD64_OSVW_ID_LENGTH 0xc0010140
OpenPOWER on IntegriCloud