Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751921AbbHUE4G (ORCPT ); Fri, 21 Aug 2015 00:56:06 -0400 Received: from mga03.intel.com ([134.134.136.65]:7286 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751048AbbHUE4E (ORCPT ); Fri, 21 Aug 2015 00:56:04 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,719,1432623600"; d="scan'208";a="788212148" From: Xiao Guangrong To: pbonzini@redhat.com Cc: gleb@kernel.org, mtosatti@redhat.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Xiao Guangrong Subject: [PATCH 0/9] KVM: x86: enable cflushopt/clwb/pcommit and simplify code Date: Fri, 21 Aug 2015 12:50:02 +0800 Message-Id: <1440132611-26052-1-git-send-email-guangrong.xiao@linux.intel.com> X-Mailer: git-send-email 2.4.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1432 Lines: 37 This pachset enables clfushopt, clwb and pcommit instructions for guest which are used by NVDIMM. The specification locates at: https://software.intel.com/sites/default/files/managed/0d/53/319433-022.pdf Patch 1 fixes a uninitialized value used in KVM MMU code, patch 2 and patch 3 enable these three instructions for guest patch 4 ~ patch 9 simplify current VMX code Xiao Guangrong (9): KVM: MMU: fix use uninitialized value KVM: x86: allow guest to use cflushopt anc clwb KVM: x86: add pcommit support KVM: VMX: drop rdtscp_enabled check in prepare_vmcs02() KVM: VMX: simplify rdtscp handling in vmx_cpuid_update() KVM: VMX: simplify invpcid handling in vmx_cpuid_update() KVM: VMX: unify SECONDARY_VM_EXEC_CONTROL update KVM: VMX: introduce set_clear_2nd_exec_ctrl() KVM: VMX: drop rdtscp_enabled field arch/x86/include/asm/vmx.h | 2 +- arch/x86/include/uapi/asm/vmx.h | 4 +- arch/x86/kvm/cpuid.c | 2 +- arch/x86/kvm/cpuid.h | 16 ++++++ arch/x86/kvm/mmu.c | 2 +- arch/x86/kvm/vmx.c | 116 ++++++++++++++++++++-------------------- 6 files changed, 80 insertions(+), 62 deletions(-) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/