x86/cpufeatures: Enable new AVX512 cpu features
authorGayatri Kammela <gayatri.kammela@intel.com>
Wed, 16 Nov 2016 20:11:00 +0000 (12:11 -0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 17 Nov 2016 00:09:40 +0000 (01:09 +0100)
commita8d9df5a509a232a959e4ef2e281f7ecd77810d6
treebae048446dbd7fb3ecd05f97b894f7e18a8f0915
parent47bdf3378d62a627cfb8a54e1180c08d67078b61
x86/cpufeatures: Enable new AVX512 cpu features

Add a few new AVX512 instruction groups/features for enumeration in
/proc/cpuinfo: AVX512IFMA and AVX512VBMI.

Clear the flags in fpu_xstate_clear_all_cpu_caps().

CPUID.(EAX=7,ECX=0):EBX[bit 21] AVX512IFMA
CPUID.(EAX=7,ECX=0):ECX[bit 1]  AVX512VBMI

Detailed information of cpuid bits for the features can be found at
https://bugzilla.kernel.org/show_bug.cgi?id=187891

Signed-off-by: Gayatri Kammela <gayatri.kammela@intel.com>
Reviewed-by: Borislav Petkov <bp@alien8.de>
Cc: Ravi Shankar <ravi.v.shankar@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: mingo@elte.hu
Link: http://lkml.kernel.org/r/1479327060-18668-1-git-send-email-gayatri.kammela@intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/cpufeatures.h
arch/x86/kernel/fpu/xstate.c