[Xen-devel] [PATCH 1/2] xen/x86: Helpers for cpu feature manipuation

2015-10-26 Thread Andrew Cooper
Expose them to assembly code, and replace open-coded versions. No functional change. Signed-off-by: Andrew Cooper --- CC: Jan Beulich --- xen/arch/x86/boot/head.S | 2 +- xen/arch/x86/boot/trampoline.S | 2 +- xen/arch/x86/cpu/common.c

Re: [Xen-devel] [PATCH 1/2] xen/x86: Helpers for cpu feature manipuation

2015-10-26 Thread Jan Beulich
>>> On 26.10.15 at 12:17, wrote: > --- a/xen/arch/x86/cpu/common.c > +++ b/xen/arch/x86/cpu/common.c > @@ -202,7 +202,7 @@ static void __init early_cpu_detect(void) > c->x86_mask = tfms & 15; > cap0 &= ~cleared_caps[0]; > cap4 &= ~cleared_caps[4]; > -

Re: [Xen-devel] [PATCH 1/2] xen/x86: Helpers for cpu feature manipuation

2015-10-26 Thread Andrew Cooper
On 26/10/15 12:06, Jan Beulich wrote: On 26.10.15 at 12:17, wrote: >> --- a/xen/arch/x86/cpu/common.c >> +++ b/xen/arch/x86/cpu/common.c >> @@ -202,7 +202,7 @@ static void __init early_cpu_detect(void) >> c->x86_mask = tfms & 15; >> cap0 &=