Re: [PATCH 05/11] x86, mpx: add MPX to disaabled features

2014-11-14 Thread Dave Hansen
On 11/14/2014 09:56 AM, Sergei Shtylyov wrote: >> #define DISABLED_MASK60 >> #define DISABLED_MASK70 >> #define DISABLED_MASK80 >> -#define DISABLED_MASK90 >> +#define DISABLED_MASK9(DISABLE_MPX) > >These parens are not really needed. Sorry to be a PITA and not

Re: [PATCH 05/11] x86, mpx: add MPX to disaabled features

2014-11-14 Thread Sergei Shtylyov
Hello. On 11/14/2014 06:18 PM, Dave Hansen wrote: From: Dave Hansen This allows us to use cpu_feature_enabled(X86_FEATURE_MPX) as both a runtime and compile-time check. When CONFIG_X86_INTEL_MPX is disabled, cpu_feature_enabled(X86_FEATURE_MPX) will evaluate at compile-time to 0. If

[PATCH 05/11] x86, mpx: add MPX to disaabled features

2014-11-14 Thread Dave Hansen
From: Dave Hansen This allows us to use cpu_feature_enabled(X86_FEATURE_MPX) as both a runtime and compile-time check. When CONFIG_X86_INTEL_MPX is disabled, cpu_feature_enabled(X86_FEATURE_MPX) will evaluate at compile-time to 0. If CONFIG_X86_INTEL_MPX=y, then the cpuid flag will be checked

[PATCH 05/11] x86, mpx: add MPX to disaabled features

2014-11-14 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com This allows us to use cpu_feature_enabled(X86_FEATURE_MPX) as both a runtime and compile-time check. When CONFIG_X86_INTEL_MPX is disabled, cpu_feature_enabled(X86_FEATURE_MPX) will evaluate at compile-time to 0. If CONFIG_X86_INTEL_MPX=y, then the

Re: [PATCH 05/11] x86, mpx: add MPX to disaabled features

2014-11-14 Thread Sergei Shtylyov
Hello. On 11/14/2014 06:18 PM, Dave Hansen wrote: From: Dave Hansen dave.han...@linux.intel.com This allows us to use cpu_feature_enabled(X86_FEATURE_MPX) as both a runtime and compile-time check. When CONFIG_X86_INTEL_MPX is disabled, cpu_feature_enabled(X86_FEATURE_MPX) will evaluate

Re: [PATCH 05/11] x86, mpx: add MPX to disaabled features

2014-11-14 Thread Dave Hansen
On 11/14/2014 09:56 AM, Sergei Shtylyov wrote: #define DISABLED_MASK60 #define DISABLED_MASK70 #define DISABLED_MASK80 -#define DISABLED_MASK90 +#define DISABLED_MASK9(DISABLE_MPX) These parens are not really needed. Sorry to be a PITA and not saying this

[PATCH 05/11] x86, mpx: add MPX to disaabled features

2014-11-12 Thread Dave Hansen
From: Dave Hansen This allows us to use cpu_feature_enabled(X86_FEATURE_MPX) as both a runtime and compile-time check. When CONFIG_X86_INTEL_MPX is disabled, cpu_feature_enabled(X86_FEATURE_MPX) will evaluate at compile-time to 0. If CONFIG_X86_INTEL_MPX=y, then the cpuid flag will be checked

[PATCH 05/11] x86, mpx: add MPX to disaabled features

2014-11-12 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com This allows us to use cpu_feature_enabled(X86_FEATURE_MPX) as both a runtime and compile-time check. When CONFIG_X86_INTEL_MPX is disabled, cpu_feature_enabled(X86_FEATURE_MPX) will evaluate at compile-time to 0. If CONFIG_X86_INTEL_MPX=y, then the