Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933583AbcKILcp (ORCPT ); Wed, 9 Nov 2016 06:32:45 -0500 Received: from mga14.intel.com ([192.55.52.115]:7312 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752964AbcKILGV (ORCPT ); Wed, 9 Nov 2016 06:06:21 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,614,1473145200"; d="scan'208";a="29257365" 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 v5 0/3] cpuid: Support AVX512_4VNNIW and AVX512_4FMAPS for KVM guest Date: Wed, 9 Nov 2016 19:05:25 +0800 Message-Id: <1478689528-444-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: 1164 Lines: 36 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 v5: * divide the whole patchset into 3 parts. * refine commit messages. 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 (3): cpuid: cleanup cpuid_regs definitions cpuid: Add a helper in scattered.c to return cpuid 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 | 57 ++++++++++++++++++++++++++-------------- arch/x86/kernel/cpuid.c | 4 --- arch/x86/kvm/cpuid.c | 14 +++++++++- 5 files changed, 84 insertions(+), 50 deletions(-) -- 2.7.4