From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751008AbdAPRYP (ORCPT ); Mon, 16 Jan 2017 12:24:15 -0500 Received: from mail.skyhub.de ([78.46.96.112]:33776 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750949AbdAPRYN (ORCPT ); Mon, 16 Jan 2017 12:24:13 -0500 Date: Mon, 16 Jan 2017 18:23:48 +0100 From: Borislav Petkov To: Piotr Luc Cc: x86@kernel.org, Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 1/2] x86/cpufeature: Add AVX512_VPOPCNTDQ feature Message-ID: <20170116172348.e67p3c6fvyepsq5r@pd.tnic> References: <20170110173403.6010-1-piotr.luc@intel.com> <20170110173403.6010-2-piotr.luc@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170110173403.6010-2-piotr.luc@intel.com> User-Agent: NeoMutt/20161014 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: H. Peter Anvin > Cc: x86@kernel.org > Cc: linux-kernel@vger.kernel.org > --- Reviewed-by: Borislav Petkov -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.