i386: Define AMD's no SSB mitigation needed.

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

Backports commit 254790a909a2f153d689bfa7d8e8f0386cda870d from qemu
This commit is contained in:
Konrad Rzeszutek Wilk 2018-07-03 00:24:56 -04:00 committed by Lioncash
parent 0023d048aa
commit 475062aca9
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -909,7 +909,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
"ibpb", NULL, NULL, NULL, "ibpb", NULL, NULL, NULL,
NULL, NULL, NULL, NULL, NULL, 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, NULL, NULL, NULL, NULL,
}, },
0x80000008, 0x80000008,