[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Resend PATCH 1/3] i386: Add MSR feature bit for MDS-NO
From: |
Cathy Zhang |
Subject: |
[Resend PATCH 1/3] i386: Add MSR feature bit for MDS-NO |
Date: |
Tue, 22 Oct 2019 15:35:26 +0800 |
Define MSR_ARCH_CAP_MDS_NO in the IA32_ARCH_CAPABILITIES MSR to allow
CPU models to report the feature when host supports it.
Signed-off-by: Cathy Zhang <address@hidden>
Reviewed-by: Xiaoyao Li <address@hidden>
Reviewed-by: Tao Xu <address@hidden>
---
target/i386/cpu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
index eaa5395..e757149 100644
--- a/target/i386/cpu.h
+++ b/target/i386/cpu.h
@@ -777,6 +777,7 @@ typedef uint64_t FeatureWordArray[FEATURE_WORDS];
#define MSR_ARCH_CAP_RSBA (1U << 2)
#define MSR_ARCH_CAP_SKIP_L1DFL_VMENTRY (1U << 3)
#define MSR_ARCH_CAP_SSB_NO (1U << 4)
+#define MSR_ARCH_CAP_MDS_NO (1U << 5)
#define MSR_CORE_CAP_SPLIT_LOCK_DETECT (1U << 5)
--
1.8.3.1