xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Haozhong Zhang <haozhong.zhang@intel.com>
To: xen-devel@lists.xen.org,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Wei Liu <wei.liu2@citrix.com>, Jan Beulich <jbeulich@suse.com>,
	Kevin Tian <kevin.tian@intel.com>
Cc: Haozhong Zhang <haozhong.zhang@intel.com>,
	Keir Fraser <keir@xen.org>,
	Ian Campbell <ian.campbell@citrix.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	Jun Nakajima <jun.nakajima@intel.com>
Subject: [PATCH XEN v3 0/2] add support for vNVDIMM - Part 1: enable instructions
Date: Fri,  8 Jan 2016 18:46:25 +0800	[thread overview]
Message-ID: <1452249987-31776-1-git-send-email-haozhong.zhang@intel.com> (raw)

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

             reply	other threads:[~2016-01-08 10:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-08 10:46 Haozhong Zhang [this message]
2016-01-08 10:46 ` [PATCH XEN v3 1/2] x86/hvm: allow guest to use clflushopt and clwb Haozhong Zhang
2016-01-08 10:46 ` [PATCH XEN v3 2/2] x86/hvm: add support for pcommit instruction Haozhong Zhang
2016-01-08 11:50 ` [PATCH XEN v3 0/2] add support for vNVDIMM - Part 1: enable instructions Jan Beulich
2016-01-08 13:03   ` Haozhong Zhang
2016-01-08 13:41     ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1452249987-31776-1-git-send-email-haozhong.zhang@intel.com \
    --to=haozhong.zhang@intel.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=jun.nakajima@intel.com \
    --cc=keir@xen.org \
    --cc=kevin.tian@intel.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).