]> xenbits.xensource.com Git - xen.git/commit
x86/xstate: Don't special case feature collection
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 22 Feb 2019 13:28:16 +0000 (13:28 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 Mar 2019 13:57:13 +0000 (13:57 +0000)
commit65c165d6595f2762da577cb428e3bc61e32e0899
tree7d07b6769c32645a60543d33d35fb337db70b5a1
parent06f04f54ba97fbb4d522d0aa11fcc50edf8eba5e
x86/xstate: Don't special case feature collection

The logic in xstate_init() is a rementent of the pre-featuremask days.
Collect the xstate features in generic_identify(), like all other feature
leaves, after which identify_cpu() will apply the known_feature[] mask derived
from the automatically generated CPUID information.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/common.c
xen/arch/x86/xstate.c