|
|
77c23f |
From cdafcc1d68110ed172c09c9e6bba42ee15b5a6df Mon Sep 17 00:00:00 2001
|
|
|
77c23f |
From: "plai@redhat.com" <plai@redhat.com>
|
|
|
77c23f |
Date: Fri, 15 May 2020 18:02:40 +0100
|
|
|
77c23f |
Subject: [PATCH 13/17] i386: Add MSR feature bit for MDS-NO
|
|
|
77c23f |
|
|
|
77c23f |
RH-Author: plai@redhat.com
|
|
|
77c23f |
Message-id: <20200515180243.17488-2-plai@redhat.com>
|
|
|
77c23f |
Patchwork-id: 96609
|
|
|
77c23f |
O-Subject: [RHEL8.2.1 AV qemu-kvm PATCH 1/4] i386: Add MSR feature bit for MDS-NO
|
|
|
77c23f |
Bugzilla: 1769912
|
|
|
77c23f |
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
|
|
|
77c23f |
RH-Acked-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
77c23f |
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
77c23f |
|
|
|
77c23f |
From: Cathy Zhang <cathy.zhang@intel.com>
|
|
|
77c23f |
|
|
|
77c23f |
Define MSR_ARCH_CAP_MDS_NO in the IA32_ARCH_CAPABILITIES MSR to allow
|
|
|
77c23f |
CPU models to report the feature when host supports it.
|
|
|
77c23f |
|
|
|
77c23f |
Signed-off-by: Cathy Zhang <cathy.zhang@intel.com>
|
|
|
77c23f |
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
|
|
|
77c23f |
Reviewed-by: Tao Xu <tao3.xu@intel.com>
|
|
|
77c23f |
Message-Id: <1571729728-23284-2-git-send-email-cathy.zhang@intel.com>
|
|
|
77c23f |
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
|
|
|
77c23f |
(cherry picked from commit 77b168d221191156c47fcd8d1c47329dfdb9439e)
|
|
|
77c23f |
Signed-off-by: Paul Lai <plai@redhat.com>
|
|
|
77c23f |
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
|
|
|
77c23f |
---
|
|
|
77c23f |
target/i386/cpu.h | 1 +
|
|
|
77c23f |
1 file changed, 1 insertion(+)
|
|
|
77c23f |
|
|
|
77c23f |
diff --git a/target/i386/cpu.h b/target/i386/cpu.h
|
|
|
77c23f |
index 4441061..60304cc 100644
|
|
|
77c23f |
--- a/target/i386/cpu.h
|
|
|
77c23f |
+++ b/target/i386/cpu.h
|
|
|
77c23f |
@@ -839,6 +839,7 @@ typedef uint64_t FeatureWordArray[FEATURE_WORDS];
|
|
|
77c23f |
#define MSR_ARCH_CAP_RSBA (1U << 2)
|
|
|
77c23f |
#define MSR_ARCH_CAP_SKIP_L1DFL_VMENTRY (1U << 3)
|
|
|
77c23f |
#define MSR_ARCH_CAP_SSB_NO (1U << 4)
|
|
|
77c23f |
+#define MSR_ARCH_CAP_MDS_NO (1U << 5)
|
|
|
77c23f |
|
|
|
77c23f |
#define MSR_CORE_CAP_SPLIT_LOCK_DETECT (1U << 5)
|
|
|
77c23f |
|
|
|
77c23f |
--
|
|
|
77c23f |
1.8.3.1
|
|
|
77c23f |
|