yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
4ec855
From 3048f38859988e7b6d63099350769ecb9ac0e76f Mon Sep 17 00:00:00 2001
4ec855
From: Eduardo Habkost <ehabkost@redhat.com>
4ec855
Date: Tue, 3 Dec 2019 23:53:07 +0000
4ec855
Subject: [PATCH 1/2] target/i386: Export TAA_NO bit to guests
4ec855
4ec855
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
4ec855
Message-id: <20191203235308.590845-2-ehabkost@redhat.com>
4ec855
Patchwork-id: 92851
4ec855
O-Subject: [RHEL-8.2.0 qemu-kvm PATCH 1/2] target/i386: Export TAA_NO bit to guests
4ec855
Bugzilla: 1771971
4ec855
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
4ec855
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
4ec855
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
4ec855
4ec855
From: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
4ec855
4ec855
TSX Async Abort (TAA) is a side channel attack on internal buffers in
4ec855
some Intel processors similar to Microachitectural Data Sampling (MDS).
4ec855
4ec855
Some future Intel processors will use the ARCH_CAP_TAA_NO bit in the
4ec855
IA32_ARCH_CAPABILITIES MSR to report that they are not vulnerable to
4ec855
TAA. Make this bit available to guests.
4ec855
4ec855
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
4ec855
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
4ec855
(cherry picked from commit 7fac38635e1cc5ebae34eb6530da1009bd5808e4)
4ec855
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
4ec855
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
4ec855
---
4ec855
 target/i386/cpu.c | 2 +-
4ec855
 1 file changed, 1 insertion(+), 1 deletion(-)
4ec855
4ec855
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
4ec855
index 3effcf3..68fe865 100644
4ec855
--- a/target/i386/cpu.c
4ec855
+++ b/target/i386/cpu.c
4ec855
@@ -1144,7 +1144,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
4ec855
         .feat_names = {
4ec855
             "rdctl-no", "ibrs-all", "rsba", "skip-l1dfl-vmentry",
4ec855
             "ssb-no", "mds-no", NULL, NULL,
4ec855
-            NULL, NULL, NULL, NULL,
4ec855
+            "taa-no", NULL, NULL, NULL,
4ec855
             NULL, NULL, NULL, NULL,
4ec855
             NULL, NULL, NULL, NULL,
4ec855
             NULL, NULL, NULL, NULL,
4ec855
-- 
4ec855
1.8.3.1
4ec855