Re: [PING] Re: [PATCH] Fix MPX tests on systems with MPX disabled

2016-07-05 Thread Ilya Enkovich
2016-07-04 22:58 GMT+03:00 Andi Kleen : > Andi Kleen writes: > > PING! > >> From: Andi Kleen >> >> I have a Skylake system with MPX in the CPU, but MPX is disabled >> in the kernel configuration. >> >> This makes all the MPX tests fail because they assume if MPX >> is in CPUID it works >> >> Chec

[PING] Re: [PATCH] Fix MPX tests on systems with MPX disabled

2016-07-04 Thread Andi Kleen
Andi Kleen writes: PING! > From: Andi Kleen > > I have a Skylake system with MPX in the CPU, but MPX is disabled > in the kernel configuration. > > This makes all the MPX tests fail because they assume if MPX > is in CPUID it works > > Check the output of XGETBV too to detect non MPX kernels. >