Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756242AbcKKJ0f (ORCPT ); Fri, 11 Nov 2016 04:26:35 -0500 Received: from mga11.intel.com ([192.55.52.93]:35231 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756096AbcKKJ0c (ORCPT ); Fri, 11 Nov 2016 04:26:32 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,620,1473145200"; d="scan'208";a="1058213099" 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 v6 0/3] x86/kvm: Support AVX512_4VNNIW and AVX512_4FMAPS for KVM guest Date: Fri, 11 Nov 2016 17:25:33 +0800 Message-Id: <1478856336-9388-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: 1302 Lines: 42 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. BTW. sorry for sending patch so frequently, and really appreciate your kindly review. --- Changes in v6: * refine commit messages. 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): x86/cpuid: Cleanup cpuid_regs definitions x86/cpuid: Add a helper in scattered.c to return cpuid x86/kvm: Add AVX512_4VNNIW and AVX512_4FMAPS subfeatures 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