Re: [PATCH v1 1/2] x86/cpufeature: Add AVX512_VPOPCNTDQ feature

From: Borislav Petkov
Date: Mon Jan 16 2017 - 12:24:24 EST


On Tue, Jan 10, 2017 at 06:34:02PM +0100, Piotr Luc wrote:
> 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).
>
> Define new feature flag to enumerate the new instructions set in
> /proc/cpuinfo according to new CPUID bit.
> Clear the feature bit in case xsave is disabled.
>
> Signed-off-by: Piotr Luc <piotr.luc@xxxxxxxxx>
> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: H. Peter Anvin <hpa@xxxxxxxxx>
> Cc: x86@xxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> ---

Reviewed-by: Borislav Petkov <bp@xxxxxxx>

--
Regards/Gruss,
Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.