Re: [Xen-devel] [PATCH 3/4] x86: don't use FPU instructions when there is no FPU

2015-10-14 Thread Jan Beulich
>>> On 14.10.15 at 16:30, wrote: > On 14/10/15 14:31, Jan Beulich wrote: >> --- a/xen/include/asm-x86/cpufeature.h >> +++ b/xen/include/asm-x86/cpufeature.h >> @@ -170,6 +170,7 @@ >> #define CPUID5_ECX_EXTENSIONS_SUPPORTED 0x1 >> #define CPUID5_ECX_INTERRUPT_BREAK 0x2 >> >> +#define cpu_h

Re: [Xen-devel] [PATCH 3/4] x86: don't use FPU instructions when there is no FPU

2015-10-14 Thread Andrew Cooper
On 14/10/15 14:31, Jan Beulich wrote: > --- a/xen/include/asm-x86/cpufeature.h > +++ b/xen/include/asm-x86/cpufeature.h > @@ -170,6 +170,7 @@ > #define CPUID5_ECX_EXTENSIONS_SUPPORTED 0x1 > #define CPUID5_ECX_INTERRUPT_BREAK 0x2 > > +#define cpu_has_fpu boot_cpu_has(X86_FEATURE_FP

[Xen-devel] [PATCH 3/4] x86: don't use FPU instructions when there is no FPU

2015-10-14 Thread Jan Beulich
One of the many things we need to do if we want to eventually be able to run on e.g. Xeon Phi. Signed-off-by: Jan Beulich --- a/xen/arch/x86/cpu/common.c +++ b/xen/arch/x86/cpu/common.c @@ -261,6 +261,9 @@ static void __cpuinit generic_identify(s cpuid_count(0x0007, 0, &dummy