Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753513AbcKHIxg (ORCPT ); Tue, 8 Nov 2016 03:53:36 -0500 Received: from mga11.intel.com ([192.55.52.93]:53364 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752503AbcKHIxe (ORCPT ); Tue, 8 Nov 2016 03:53:34 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,609,1473145200"; d="scan'208";a="28876855" From: He Chen To: kvm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Luwei Kang , Piotr Luc , Borislav Petkov Subject: [PATCH v4 0/2] cpuid: Support AVX512_4VNNIW and AVX512_4FMAPS for KVM guest Date: Tue, 8 Nov 2016 16:52:26 +0800 Message-Id: <1478595148-4462-1-git-send-email-he.chen@linux.intel.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1050 Lines: 31 This patch series is going to add two new AVX512 features to KVM guest. Since these two features are defined as scattered features in kernel, some extra modification in kernel is included. --- Changes in v4: * divide patch into 2 parts, including modification in scattered.c and support new AVX512 instructions for KVM. * coding style. * refine commit message. Changes in v3: * add a helper in scattered.c to get scattered leaf. Changes in v2: * add new macros for new AVX512 scattered features. * add a cpuid_count_edx function to processor.h He Chen (2): cpuid: Add a helper in scattered.c to return cpuid leaf info cpuid: add AVX512_4VNNIW and AVX512_4FMAPS instructions support arch/x86/events/intel/pt.c | 45 ++++++++++++++------------------ arch/x86/include/asm/processor.h | 14 ++++++++++ arch/x86/kernel/cpu/scattered.c | 56 ++++++++++++++++++++++++++-------------- arch/x86/kernel/cpuid.c | 4 --- arch/x86/kvm/cpuid.c | 14 +++++++++- 5 files changed, 83 insertions(+), 50 deletions(-) -- 2.7.4