From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haozhong Zhang Subject: [PATCH XEN v3 0/2] add support for vNVDIMM - Part 1: enable instructions Date: Fri, 8 Jan 2016 18:46:25 +0800 Message-ID: <1452249987-31776-1-git-send-email-haozhong.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org, Andrew Cooper , Wei Liu , Jan Beulich , Kevin Tian Cc: Haozhong Zhang , Keir Fraser , Ian Campbell , Stefano Stabellini , Ian Jackson , Jun Nakajima List-Id: xen-devel@lists.xenproject.org I split the previous patch series "[PATCH 0/4] add support for vNVDIMM" into two parts. This is the first part that enables clflushopt/clwb/pcommit instructions for HVM guests. Changes in v3: * Remove unnecessary hypervisor code for clflushopt and clwb in patch 1. * Move the code refactoring in hvm_cpuid() to patch 2. * Replace checking host cpuid by checking VMX capabilities for pcommit. * Add a tag 'XEN' in the title to address Ian Campbell's comment in the corresponding QEMU patch series. Changes in v2: * Refactor modifications in hvm_cpuid() per Andrew Cooper's comments. Haozhong Zhang (2): x86/hvm: allow guest to use clflushopt and clwb x86/hvm: add support for pcommit instruction tools/libxc/xc_cpufeature.h | 4 +++- tools/libxc/xc_cpuid_x86.c | 5 ++++- xen/arch/x86/hvm/hvm.c | 31 +++++++++++++++++++------------ xen/arch/x86/hvm/vmx/vmcs.c | 9 ++++++++- xen/arch/x86/hvm/vmx/vmx.c | 1 + xen/arch/x86/hvm/vmx/vvmx.c | 3 +++ xen/include/asm-x86/cpufeature.h | 1 + xen/include/asm-x86/hvm/vmx/vmcs.h | 4 +++- xen/include/asm-x86/hvm/vmx/vmx.h | 1 + 9 files changed, 43 insertions(+), 16 deletions(-) -- 2.4.8