]> git.baikalelectronics.ru Git - kernel.git/commit
x86/cpufeature: Add AVX512_VPOPCNTDQ feature
authorPiotr Luc <piotr.luc@intel.com>
Tue, 10 Jan 2017 17:34:02 +0000 (18:34 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 16 Jan 2017 19:40:53 +0000 (20:40 +0100)
commit940160bc340466a2987093513294bf8b03456a9a
treefa75df56f0fb3fa38908bec58b014715903ef42a
parent621807efa0bb8042b7eec9d41f9196ee9fa4388b
x86/cpufeature: Add AVX512_VPOPCNTDQ feature

Vector population count instructions for dwords and qwords are going to be
available in future Intel Xeon & Xeon Phi processors. Bit 14 of
CPUID[level:0x07, ECX] indicates that the instructions are supported by a
processor.

The specification can be found in the Intel Software Developer Manual (SDM)
and in the Instruction Set Extensions Programming Reference (ISE).

Populate the feature bit and clear it when xsave is disabled.

Signed-off-by: Piotr Luc <piotr.luc@intel.com>
Reviewed-by: Borislav Petkov <bp@suse.de>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org
Cc: Radim Krčmář <rkrcmar@redhat.com>
Link: http://lkml.kernel.org/r/20170110173403.6010-2-piotr.luc@intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/include/asm/cpufeatures.h
arch/x86/kernel/fpu/xstate.c
tools/arch/x86/include/asm/cpufeatures.h