- hw/virtio/virtio-pmem: Replace impossible check by assertion - tests: Fix printf format string in acpi-utils.c - softmmu/dirtylimit: Add parameter check for hmp "set_vcpu_dirty_limit" - disas/riscv: Fix the typo of inverted order of pmpaddr13 and pmpaddr14 - qga: Fix memory leak when output stream is unused - ui/vnc-clipboard: fix infinite loop in inflate_buffer (CVE-2023-3255) - target/i386: Add few security fix bits in ARCH_CAPABILITIES into SapphireRapids CPU model - target/i386: Add new bit definitions of MSR_IA32_ARCH_CAPABILITIES - target/i386: Allow MCDT_NO if host supports - target/i386: Add support for MCDT_NO in CPUID enumeration - target/i386: Export MSR_ARCH_CAPABILITIES bits to guests - target/i386: add support for FB_CLEAR feature - target/i386: add support for FLUSH_L1D feature - crypto: remove shadowed 'ret' variable - hw/i2c/pmbus_device: Fix modifying QOM class internals from instance - hw/arm/xlnx-zynqmp: fix unsigned error when checking the RPUs number Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com>
44 lines
1.6 KiB
Diff
44 lines
1.6 KiB
Diff
From cdd89390a5e8fb55515798ab4ec5ec5fd6fed32b Mon Sep 17 00:00:00 2001
|
|
From: Tao Su <tao1.su@linux.intel.com>
|
|
Date: Thu, 6 Jul 2023 13:49:47 +0800
|
|
Subject: [PATCH] target/i386: Add new bit definitions of
|
|
MSR_IA32_ARCH_CAPABILITIES
|
|
|
|
commit 6c43ec3b206956a8a3008accafe9eb2dfd885190 upstream.
|
|
|
|
Currently, bit 13, 14, 15 and 24 of MSR_IA32_ARCH_CAPABILITIES are
|
|
disclosed for fixing security issues, so add those bit definitions.
|
|
|
|
Intel-SIG: commit 6c43ec3b2069 ("target/i386: Add new bit definitions of MSR_IA32_ARCH_CAPABILITIES")
|
|
Backport new bit definitions of MSR_IA32_ARCH_CAPABILITIES
|
|
|
|
Signed-off-by: Tao Su <tao1.su@linux.intel.com>
|
|
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
|
|
Message-ID: <20230706054949.66556-5-tao1.su@linux.intel.com>
|
|
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
[ jason: amend commit log ]
|
|
Signed-off-by: Jason Zeng <jason zeng@intel.com>
|
|
---
|
|
target/i386/cpu.h | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
|
|
index edbaba0d62..37c687d4d8 100644
|
|
--- a/target/i386/cpu.h
|
|
+++ b/target/i386/cpu.h
|
|
@@ -966,7 +966,11 @@ uint64_t x86_cpu_get_supported_feature_word(FeatureWord w,
|
|
#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_ARCH_CAP_SBDR_SSDP_NO (1U << 13)
|
|
+#define MSR_ARCH_CAP_FBSDP_NO (1U << 14)
|
|
+#define MSR_ARCH_CAP_PSDP_NO (1U << 15)
|
|
#define MSR_ARCH_CAP_FB_CLEAR (1U << 17)
|
|
+#define MSR_ARCH_CAP_PBRSB_NO (1U << 24)
|
|
|
|
#define MSR_CORE_CAP_SPLIT_LOCK_DETECT (1U << 5)
|
|
|
|
--
|
|
2.41.0.windows.1
|
|
|