From 5b1c740a646c4ecd8c85ac02429f43b84c746a04 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Tue, 3 Dec 2019 23:22:01 +0100 Subject: [PATCH 1/2] target/i386: Export TAA_NO bit to guests RH-Author: Eduardo Habkost Message-id: <20191203232202.555105-2-ehabkost@redhat.com> Patchwork-id: 92844 O-Subject: [RHEL-7.7.z qemu-kvm PATCH 1/2] target/i386: Export TAA_NO bit to guests Bugzilla: 1771960 RH-Acked-by: Paolo Bonzini RH-Acked-by: Dr. David Alan Gilbert RH-Acked-by: Igor Mammedov From: Pawan Gupta TSX Async Abort (TAA) is a side channel attack on internal buffers in some Intel processors similar to Microachitectural Data Sampling (MDS). Some future Intel processors will use the ARCH_CAP_TAA_NO bit in the IA32_ARCH_CAPABILITIES MSR to report that they are not vulnerable to TAA. Make this bit available to guests. Signed-off-by: Pawan Gupta Signed-off-by: Paolo Bonzini (cherry picked from commit 7fac38635e1cc5ebae34eb6530da1009bd5808e4) Signed-off-by: Eduardo Habkost Signed-off-by: Miroslav Rezanina --- target-i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 5aa45ba..2de8822 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -201,7 +201,7 @@ static const char *cpuid_xsave_feature_name[] = { static const char *cpuid_arch_capabilities_feature_name[] = { "rdctl-no", "ibrs-all", "rsba", "skip-l1dfl-vmentry", "ssb-no", NULL, NULL, NULL, - NULL, NULL, NULL, NULL, + "taa-no", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -- 1.8.3.1