]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
target/i386: Export TAA_NO bit to guests
authorPawan Gupta <pawan.kumar.gupta@linux.intel.com>
Tue, 19 Nov 2019 07:23:27 +0000 (23:23 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 19 Nov 2019 09:01:32 +0000 (10:01 +0100)
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 <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/cpu.c

index 2f60df37c452f9957423bdf0c6de027e1eb53f65..296b49160747e35751414df8429a4dfda4c513d2 100644 (file)
@@ -1205,7 +1205,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
         .feat_names = {
             "rdctl-no", "ibrs-all", "rsba", "skip-l1dfl-vmentry",
             "ssb-no", "mds-no", "pschange-mc-no", NULL,
-            NULL, NULL, NULL, NULL,
+            "taa-no", NULL, NULL, NULL,
             NULL, NULL, NULL, NULL,
             NULL, NULL, NULL, NULL,
             NULL, NULL, NULL, NULL,