[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1515434925-10250-3-git-send-email-pbonzini@redhat.com>
Date: Mon, 8 Jan 2018 19:08:40 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: linux-kernel@...r.kernel.org, kvm@...r.kernel.org
Cc: jmattson@...gle.com, aliguori@...zon.com, thomas.lendacky@....com,
dwmw@...zon.co.uk, bp@...en8.de
Subject: [PATCH 2/7] x86/msr: add definitions for indirect branch predictor MSRs
KVM will start using them soon.
Signed-off-by: Paolo Bonzini <pbonzini@...hat.com>
---
arch/x86/include/asm/msr-index.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/x86/include/asm/msr-index.h b/arch/x86/include/asm/msr-index.h
index 03ffde6217d0..ec08f1d8d39b 100644
--- a/arch/x86/include/asm/msr-index.h
+++ b/arch/x86/include/asm/msr-index.h
@@ -39,6 +39,11 @@
/* Intel MSRs. Some also available on other CPUs */
+#define MSR_IA32_SPEC_CTRL 0x00000048
+
+#define MSR_IA32_PRED_CMD 0x00000049
+#define FEATURE_SET_IBPB (1UL << 0)
+
#define MSR_PPIN_CTL 0x0000004e
#define MSR_PPIN 0x0000004f
--
1.8.3.1
Powered by blists - more mailing lists