Re: [Xen-devel] [PATCH 6/6] x86/cpuid: Only recalculate the shared feature bits once

2017-01-20 Thread Jan Beulich
>>> On 18.01.17 at 20:40, wrote: > @@ -165,6 +153,8 @@ static void recalculate_xstate(struct cpuid_policy *p) > > static void recalculate_common(struct cpuid_policy *p) > { > +p->extd.e1d &= ~CPUID_COMMON_1D_FEATURES; > + > switch ( p->x86_vendor ) > {

Re: [Xen-devel] [PATCH 6/6] x86/cpuid: Only recalculate the shared feature bits once

2017-01-19 Thread Wei Liu
On Wed, Jan 18, 2017 at 07:40:58PM +, Andrew Cooper wrote: > With accurate vendor information available, the shared bits can be sorted out > during recalculation, rather than at query time in the legacy cpuid path. > > This means that: > * Duplication can be dropped from the automatically

Re: [Xen-devel] [PATCH 6/6] x86/cpuid: Only recalculate the shared feature bits once

2017-01-18 Thread Doug Goldstein
On 1/18/17 2:40 PM, Andrew Cooper wrote: > With accurate vendor information available, the shared bits can be sorted out > during recalculation, rather than at query time in the legacy cpuid path. > > This means that: > * Duplication can be dropped from the automatically generated cpuid data. >

[Xen-devel] [PATCH 6/6] x86/cpuid: Only recalculate the shared feature bits once

2017-01-18 Thread Andrew Cooper
With accurate vendor information available, the shared bits can be sorted out during recalculation, rather than at query time in the legacy cpuid path. This means that: * Duplication can be dropped from the automatically generated cpuid data. * The toolstack need not worry about setting them