Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938782AbcJaLFy (ORCPT ); Mon, 31 Oct 2016 07:05:54 -0400 Received: from mail.skyhub.de ([78.46.96.112]:59160 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935242AbcJaLFx (ORCPT ); Mon, 31 Oct 2016 07:05:53 -0400 Date: Mon, 31 Oct 2016 12:05:49 +0100 From: Borislav Petkov To: Paolo Bonzini Cc: "Luc, Piotr" , "kvm@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "he.chen@linux.intel.com" , "tglx@linutronix.de" , "x86@kernel.org" , "hpa@zytor.com" , "mingo@redhat.com" , "Kang, Luwei" , "rkrcmar@redhat.com" Subject: Re: [PATCH] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest Message-ID: <20161031110549.ukajhnawxw6mftor@pd.tnic> References: <5c00fdf0-a5a4-7a78-4ed8-8ae3ef710a68@redhat.com> <20161028110834.svzzs5hftg3bybiz@pd.tnic> <20161028122123.24i3synevehn6r3p@pd.tnic> <425702906.9319122.1477743677017.JavaMail.zimbra@redhat.com> <1477905033.32008.5.camel@intel.com> <20161031095312.dzv3rj2fqgjjsy7w@pd.tnic> <1477908811.32008.20.camel@intel.com> <20161031103050.k7b2l64blhmv33mw@pd.tnic> <48ef617f-c438-cfcf-6f0c-1eb3b59820ff@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <48ef617f-c438-cfcf-6f0c-1eb3b59820ff@redhat.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 Content-Length: 487 Lines: 17 On Mon, Oct 31, 2016 at 11:47:48AM +0100, Paolo Bonzini wrote: > The information is all in arch/x86/kernel/cpu/scattered.c's cpuid_bits > array. Borislav, would it be okay to export the cpuid_regs enum? Yeah, and kill the duplicated one in arch/x86/events/intel/pt.c too please, while at it. I'd still put it all in arch/x86/kernel/cpu/scattered.c so that it is close-by and call it from outside. Thanks. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.