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
Cc: Haozhong Zhang <haozhong.zhang@intel.com>,
	Wei Liu <wei.liu2@citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	Jan Beulich <jbeulich@suse.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>
Subject: [PATCH v7 0/7] Add LMCE support
Date: Fri,  7 Jul 2017 11:53:07 +0800	[thread overview]
Message-ID: <20170707035314.15659-1-haozhong.zhang@intel.com> (raw)

v7 is based on staging branch and only contains the remaining patches.

Changes in v7:
 * (Patch 1) Introduce a general way to restore vMCE parameters.
 * (Patch 2) Adapt to the change in patch 1.
 * Other patch 3 - 7 remain the same as v5 patch 7 - 11.

Haozhong Zhang (7):
  [N   ] 1/7 x86/domctl: generalize the restore of vMCE parameters
  [ M  ] 2/7 x86/vmce: emulate MSR_IA32_MCG_EXT_CTL
  [  R ] 3/7 x86/vmce: enable injecting LMCE to guest on Intel host
  [  RA] 4/7 x86/vmce, tools/libxl: expose LMCE capability in guest MSR_IA32_MCG_CAP
  [  R ] 5/7 xen/mce: add support of vLMCE injection to XEN_MC_inject_v2
  [   A] 6/7 tools/libxc: add support of injecting MC# to specified CPUs
  [   A] 7/7 tools/xen-mceinj: add support of injecting LMCE

 N: new in this version
 M: modified in this version
 R: got R-b
 A: got A-b

 docs/man/xl.cfg.pod.5.in                | 24 +++++++++++++
 tools/libxc/include/xenctrl.h           |  2 ++
 tools/libxc/xc_misc.c                   | 52 ++++++++++++++++++++++++++-
 tools/libxc/xc_sr_save_x86_hvm.c        |  1 +
 tools/libxl/libxl.h                     |  7 ++++
 tools/libxl/libxl_dom.c                 | 15 ++++++++
 tools/libxl/libxl_types.idl             |  1 +
 tools/tests/mce-test/tools/xen-mceinj.c | 50 ++++++++++++++++++++++++--
 tools/xl/xl_parse.c                     | 31 ++++++++++++++--
 xen/arch/x86/cpu/mcheck/mcaction.c      | 23 ++++++++----
 xen/arch/x86/cpu/mcheck/mce.c           | 24 ++++++++++++-
 xen/arch/x86/cpu/mcheck/mce.h           |  1 +
 xen/arch/x86/cpu/mcheck/mce_intel.c     |  2 +-
 xen/arch/x86/cpu/mcheck/vmce.c          | 64 +++++++++++++++++++++++++++++++--
 xen/arch/x86/cpu/mcheck/vmce.h          |  2 +-
 xen/arch/x86/domctl.c                   | 53 ++++++++++++++++++---------
 xen/arch/x86/hvm/hvm.c                  |  5 +++
 xen/include/asm-x86/mce.h               |  2 ++
 xen/include/public/arch-x86/hvm/save.h  |  1 +
 xen/include/public/arch-x86/xen-mca.h   |  1 +
 xen/include/public/hvm/params.h         |  7 +++-
 21 files changed, 332 insertions(+), 36 deletions(-)

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

             reply	other threads:[~2017-07-07  3:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-07  3:53 Haozhong Zhang [this message]
2017-07-07  3:53 ` [PATCH v7 1/7] x86/domctl: generalize the restore of vMCE parameters Haozhong Zhang
2017-07-07 15:24   ` Jan Beulich
2017-07-07  3:53 ` [PATCH v7 2/7] x86/vmce: emulate MSR_IA32_MCG_EXT_CTL Haozhong Zhang
2017-07-07  3:53 ` [PATCH v7 3/7] x86/vmce: enable injecting LMCE to guest on Intel host Haozhong Zhang
2017-07-07  3:53 ` [PATCH v7 4/7] x86/vmce, tools/libxl: expose LMCE capability in guest MSR_IA32_MCG_CAP Haozhong Zhang
2017-07-07  3:53 ` [PATCH v7 5/7] xen/mce: add support of vLMCE injection to XEN_MC_inject_v2 Haozhong Zhang
2017-07-07  3:53 ` [PATCH v7 6/7] tools/libxc: add support of injecting MC# to specified CPUs Haozhong Zhang
2017-07-07  3:53 ` [PATCH v7 7/7] tools/xen-mceinj: add support of injecting LMCE Haozhong Zhang
2017-07-07 11:22 ` [PATCH v7 0/7] Add LMCE support Wei Liu

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=20170707035314.15659-1-haozhong.zhang@intel.com \
    --to=haozhong.zhang@intel.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.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).