]> Git Repo - qemu.git/commitdiff
i386: Define AMD's no SSB mitigation needed.
authorKonrad Rzeszutek Wilk <[email protected]>
Fri, 1 Jun 2018 15:38:09 +0000 (11:38 -0400)
committerEduardo Habkost <[email protected]>
Fri, 22 Jun 2018 18:01:15 +0000 (15:01 -0300)
AMD future CPUs expose a mechanism to tell the guest that the
Speculative Store Bypass Disable is not needed and that the
CPU is all good.

This is exposed via the CPUID 8000_0008.EBX[26] bit.

See 124441_AMD64_SpeculativeStoreBypassDisable_Whitepaper_final.pdf

A copy of this document is available at
        https://bugzilla.kernel.org/show_bug.cgi?id=199889

Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Message-Id: <20180601153809[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
target/i386/cpu.c

index 7234bebfcb26eb1c87730153aca3fd35812cc5cd..7a4484bb06c3b9f399404b1d194827e883a4f4ab 100644 (file)
@@ -1009,7 +1009,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
             "ibpb", NULL, NULL, NULL,
             NULL, NULL, NULL, NULL,
             NULL, NULL, NULL, NULL,
-            "amd-ssbd", "virt-ssbd", NULL, NULL,
+            "amd-ssbd", "virt-ssbd", "amd-no-ssb", NULL,
             NULL, NULL, NULL, NULL,
         },
         .cpuid_eax = 0x80000008,
This page took 0.035542 seconds and 4 git commands to generate.