xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH XEN v3 0/2] add support for vNVDIMM - Part 1: enable instructions
@ 2016-01-08 10:46 Haozhong Zhang
  2016-01-08 10:46 ` [PATCH XEN v3 1/2] x86/hvm: allow guest to use clflushopt and clwb Haozhong Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Haozhong Zhang @ 2016-01-08 10:46 UTC (permalink / raw)
  To: xen-devel, Andrew Cooper, Wei Liu, Jan Beulich, Kevin Tian
  Cc: Haozhong Zhang, Keir Fraser, Ian Campbell, Stefano Stabellini,
	Ian Jackson, Jun Nakajima

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-01-08 13:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-08 10:46 [PATCH XEN v3 0/2] add support for vNVDIMM - Part 1: enable instructions Haozhong Zhang
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

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).