Blame SOURCES/kvm-target-i386-Export-TAA_NO-bit-to-guests.patch

8b1478
From 7aa728ae021e3b29fb5903ae0ff894a5bd40bbdc Mon Sep 17 00:00:00 2001
8b1478
From: Eduardo Habkost <ehabkost@redhat.com>
8b1478
Date: Tue, 17 Dec 2019 22:23:41 +0100
8b1478
Subject: [PATCH 1/2] target/i386: Export TAA_NO bit to guests
8b1478
8b1478
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
8b1478
Message-id: <20191217222342.1939034-2-ehabkost@redhat.com>
8b1478
Patchwork-id: 93164
8b1478
O-Subject: [RHEL-7.8 qemu-kvm-rhev PATCH 1/2] target/i386: Export TAA_NO bit to guests
8b1478
Bugzilla: 1779530
8b1478
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
8b1478
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
8b1478
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
8b1478
8b1478
From: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
8b1478
8b1478
TSX Async Abort (TAA) is a side channel attack on internal buffers in
8b1478
some Intel processors similar to Microachitectural Data Sampling (MDS).
8b1478
8b1478
Some future Intel processors will use the ARCH_CAP_TAA_NO bit in the
8b1478
IA32_ARCH_CAPABILITIES MSR to report that they are not vulnerable to
8b1478
TAA. Make this bit available to guests.
8b1478
8b1478
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
8b1478
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8b1478
(cherry picked from commit 7fac38635e1cc5ebae34eb6530da1009bd5808e4)
8b1478
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
8b1478
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
8b1478
---
8b1478
 target/i386/cpu.c | 2 +-
8b1478
 1 file changed, 1 insertion(+), 1 deletion(-)
8b1478
8b1478
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
8b1478
index 6a1d59c..8d03d0e 100644
8b1478
--- a/target/i386/cpu.c
8b1478
+++ b/target/i386/cpu.c
8b1478
@@ -1148,7 +1148,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
8b1478
         .feat_names = {
8b1478
             "rdctl-no", "ibrs-all", "rsba", "skip-l1dfl-vmentry",
8b1478
             "ssb-no", "mds-no", NULL, NULL,
8b1478
-            NULL, NULL, NULL, NULL,
8b1478
+            "taa-no", NULL, NULL, NULL,
8b1478
             NULL, NULL, NULL, NULL,
8b1478
             NULL, NULL, NULL, NULL,
8b1478
             NULL, NULL, NULL, NULL,
8b1478
-- 
8b1478
1.8.3.1
8b1478