]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commit
x86/CPUID: don't override tool stack decision to hide STIBP 4.11.0-rc6
authorJan Beulich <jbeulich@suse.com>
Tue, 29 May 2018 10:39:24 +0000 (12:39 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 29 May 2018 10:39:24 +0000 (12:39 +0200)
commit06f542f8f2e446c01bd0edab51e9450af7f6e05b
tree0fb615dcbd309d716e59dc09d155ee7d275aead5
parentd6239f64713df819278bf048446d3187c6ac4734
x86/CPUID: don't override tool stack decision to hide STIBP

Other than in the feature sets, where we indeed want to offer the
feature even if not enumerated on hardware, we shouldn't dictate the
feature being available if tool stack or host admin have decided to not
expose it (for whatever [questionable?] reason). That feature set side
override is sufficient to achieve the intended guest side safety
property (in offering - by default - STIBP independent of actual
availability in hardware).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
xen/arch/x86/cpuid.c
xen/include/public/arch-x86/cpufeatureset.h