4e3aa638c5
- Add Cooperlake vcpu model (jira-SLE-10195) i386-Add-MSR-feature-bit-for-MDS-NO.patch i386-Add-macro-for-stibp.patch i386-Add-new-CPU-model-Cooperlake.patch target-i386-Add-new-bit-definitions-of-M.patch target-i386-Add-missed-features-to-Coope.patch - Add HMAT support (jira-SLE-10228) (the test case for this series isn't included because we aren't set up to handle binary patches) numa-Extend-CLI-to-provide-initiator-inf.patch numa-Extend-CLI-to-provide-memory-latenc.patch numa-Extend-CLI-to-provide-memory-side-c.patch hmat-acpi-Build-Memory-Proximity-Domain-.patch hmat-acpi-Build-System-Locality-Latency-.patch hmat-acpi-Build-Memory-Side-Cache-Inform.patch tests-numa-Add-case-for-QMP-build-HMAT.patch OBS-URL: https://build.opensuse.org/request/show/762501 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=520
45 lines
1.7 KiB
Diff
45 lines
1.7 KiB
Diff
From: Xiaoyao Li <xiaoyao.li@intel.com>
|
|
Date: Wed, 8 Jan 2020 13:32:39 +0100
|
|
Subject: target/i386: Add new bit definitions of MSR_IA32_ARCH_CAPABILITIES
|
|
|
|
Git-commit: 0000000000000000000000000000000000000000
|
|
References: JIRA-SLE-1015
|
|
|
|
The bit 6, 7 and 8 of MSR_IA32_ARCH_CAPABILITIES are recently disclosed
|
|
for some security issues. Add the definitions for them to be used by named
|
|
CPU models.
|
|
|
|
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
|
|
Message-Id: <20191225063018.20038-2-xiaoyao.li@intel.com>
|
|
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
---
|
|
target/i386/cpu.h | 13 ++++++++-----
|
|
1 file changed, 8 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
|
|
index af282936a785a25f651d0db1a8cf..594326a7946798aba6ac42415164 100644
|
|
--- a/target/i386/cpu.h
|
|
+++ b/target/i386/cpu.h
|
|
@@ -835,12 +835,15 @@ typedef uint64_t FeatureWordArray[FEATURE_WORDS];
|
|
#define CPUID_TOPOLOGY_LEVEL_DIE (5U << 8)
|
|
|
|
/* MSR Feature Bits */
|
|
-#define MSR_ARCH_CAP_RDCL_NO (1U << 0)
|
|
-#define MSR_ARCH_CAP_IBRS_ALL (1U << 1)
|
|
-#define MSR_ARCH_CAP_RSBA (1U << 2)
|
|
+#define MSR_ARCH_CAP_RDCL_NO (1U << 0)
|
|
+#define MSR_ARCH_CAP_IBRS_ALL (1U << 1)
|
|
+#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_ARCH_CAP_SSB_NO (1U << 4)
|
|
+#define MSR_ARCH_CAP_MDS_NO (1U << 5)
|
|
+#define MSR_ARCH_CAP_PSCHANGE_MC_NO (1U << 6)
|
|
+#define MSR_ARCH_CAP_TSX_CTRL_MSR (1U << 7)
|
|
+#define MSR_ARCH_CAP_TAA_NO (1U << 8)
|
|
|
|
#define MSR_CORE_CAP_SPLIT_LOCK_DETECT (1U << 5)
|
|
|