2ec96d
From 5b1c740a646c4ecd8c85ac02429f43b84c746a04 Mon Sep 17 00:00:00 2001
2ec96d
From: Eduardo Habkost <ehabkost@redhat.com>
2ec96d
Date: Tue, 3 Dec 2019 23:22:01 +0100
2ec96d
Subject: [PATCH 1/2] target/i386: Export TAA_NO bit to guests
2ec96d
2ec96d
RH-Author: Eduardo Habkost <ehabkost@redhat.com>
2ec96d
Message-id: <20191203232202.555105-2-ehabkost@redhat.com>
2ec96d
Patchwork-id: 92844
2ec96d
O-Subject: [RHEL-7.7.z qemu-kvm PATCH 1/2] target/i386: Export TAA_NO bit to guests
2ec96d
Bugzilla: 1771960
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
2ec96d
index 5aa45ba..2de8822 100644
2ec96d
--- a/target-i386/cpu.c
2ec96d
+++ b/target-i386/cpu.c
2ec96d
@@ -201,7 +201,7 @@ static const char *cpuid_xsave_feature_name[] = {
2ec96d
 static const char *cpuid_arch_capabilities_feature_name[] = {
2ec96d
     "rdctl-no", "ibrs-all", "rsba", "skip-l1dfl-vmentry",
2ec96d
     "ssb-no", NULL, 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