c461a1
From 2ce01dcb0add24ad6ba0a703b63d00fb9d95ee5f Mon Sep 17 00:00:00 2001
2ec96d
From: Eduardo Habkost <ehabkost@redhat.com>
c461a1
Date: Wed, 4 Dec 2019 01:48:28 +0100
2ec96d
Subject: [PATCH 1/2] target/i386: Export TAA_NO bit to guests
2ec96d
2ec96d
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
c461a1
Message-id: <20191204014829.608318-2-ehabkost@redhat.com>
c461a1
Patchwork-id: 92853
c461a1
O-Subject: [RHEL-7.8 qemu-kvm PATCH 1/2] target/i386: Export TAA_NO bit to guests
c461a1
Bugzilla: 1771961
2ec96d
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
2ec96d
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2ec96d
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
2ec96d
2ec96d
From: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
2ec96d
2ec96d
TSX Async Abort (TAA) is a side channel attack on internal buffers in
2ec96d
some Intel processors similar to Microachitectural Data Sampling (MDS).
2ec96d
2ec96d
Some future Intel processors will use the ARCH_CAP_TAA_NO bit in the
2ec96d
IA32_ARCH_CAPABILITIES MSR to report that they are not vulnerable to
2ec96d
TAA. Make this bit available to guests.
2ec96d
2ec96d
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
2ec96d
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2ec96d
(cherry picked from commit 7fac38635e1cc5ebae34eb6530da1009bd5808e4)
2ec96d
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2ec96d
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
2ec96d
---
2ec96d
 target-i386/cpu.c | 2 +-
2ec96d
 1 file changed, 1 insertion(+), 1 deletion(-)
2ec96d
2ec96d
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
c461a1
index 9283902..120df73 100644
2ec96d
--- a/target-i386/cpu.c
2ec96d
+++ b/target-i386/cpu.c
c461a1
@@ -212,7 +212,7 @@ static const char *cpuid_apm_edx_feature_name[] = {
2ec96d
 static const char *cpuid_arch_capabilities_feature_name[] = {
2ec96d
     "rdctl-no", "ibrs-all", "rsba", "skip-l1dfl-vmentry",
c461a1
     "ssb-no", "mds-no", NULL, NULL,
2ec96d
-    NULL, NULL, NULL, NULL,
2ec96d
+    "taa-no", NULL, NULL, NULL,
2ec96d
     NULL, NULL, NULL, NULL,
2ec96d
     NULL, NULL, NULL, NULL,
2ec96d
     NULL, NULL, NULL, NULL,
2ec96d
-- 
2ec96d
1.8.3.1
2ec96d