]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
i386: Add MSR feature bit for MDS-NO
authorCathy Zhang <cathy.zhang@intel.com>
Tue, 22 Oct 2019 07:35:26 +0000 (15:35 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 13 Dec 2019 19:32:19 +0000 (16:32 -0300)
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 <cathy.zhang@intel.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Tao Xu <tao3.xu@intel.com>
Message-Id: <1571729728-23284-2-git-send-email-cathy.zhang@intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/i386/cpu.h

index cde2a16b941adeb1123d5d7411f37c050f1c7d59..39d37e12256069b92c79985908499616f29055be 100644 (file)
@@ -838,6 +838,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)