]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: x86: Expose Intel VPOPCNTDQ feature to guest
authorPiotr Luc <piotr.luc@intel.com>
Tue, 10 Jan 2017 17:34:03 +0000 (18:34 +0100)
committerRadim Krčmář <rkrcmar@redhat.com>
Tue, 17 Jan 2017 16:55:18 +0000 (17:55 +0100)
commit1a388b51a112c71a79ebe5e72d7855a5f9685e43
tree0cb20c68f6d75ce8bccff7e974e03489f06484d7
parente9a68f40929c58e19841a3387e2e2e13f6a9755a
kvm: x86: Expose Intel VPOPCNTDQ feature to guest

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

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

Signed-off-by: Piotr Luc <piotr.luc@intel.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Radim Krčmář <rkrcmar@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: x86@kernel.org
Cc: kvm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/cpuid.c