xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] x86/vmx: Don't leak EFER.NXE into guest context
@ 2018-05-22 11:20 Andrew Cooper
  2018-05-22 11:20 ` [PATCH 1/9] x86/vmx: API improvements for MSR load/save infrastructure Andrew Cooper
                   ` (8 more replies)
  0 siblings, 9 replies; 51+ messages in thread
From: Andrew Cooper @ 2018-05-22 11:20 UTC (permalink / raw)
  To: Xen-devel
  Cc: Kevin Tian, Wei Liu, Jan Beulich, Andrew Cooper, Tim Deegan,
	Jun Nakajima, Roger Pau Monné

The purpose of this patchset is to fix a longstanding bug whereby Xen's NXE
setting leaks into HVM context, and has a visible effect on the guests
pagewalk.

To allow patch 9 to function, there are 7 patches of improvements to the MSR
load/save infrastructure, purely to support first-gen VT-x hardware.

Along the way, there is a bugfix to how MSR_DEBUGCTL is handled, noticed while
doing the load/save list improvements.  It really does want backporting to the
stable releases, but I can't find any clean way of disentanging it from the
series.

Andrew Cooper (9):
  x86/vmx: API improvements for MSR load/save infrastructure
  x86/vmx: Internal cleanup for MSR load/save infrastructure
  x86/vmx: Factor locate_msr_entry() out of vmx_find_msr() and vmx_add_msr()
  x86/vmx: Support remote access to the MSR lists
  x86/vmx: Fix handing of MSR_DEBUGCTL on VMExit
  x86/vmx: Pass an MSR value into vmx_msr_add()
  x86/vmx: Support load-only guest MSR list entries
  x86/vmx: Support removing MSRs from the host/guest load/save lists
  x86/vmx: Don't leak EFER.NXE into guest context

 xen/arch/x86/cpu/vpmu_intel.c      |  14 +-
 xen/arch/x86/domain.c              |  10 --
 xen/arch/x86/hvm/vmx/vmcs.c        | 303 ++++++++++++++++++++++++++-----------
 xen/arch/x86/hvm/vmx/vmx.c         | 115 ++++++++++----
 xen/include/asm-x86/hvm/hvm.h      |   4 +-
 xen/include/asm-x86/hvm/vmx/vmcs.h |  84 +++++++---
 6 files changed, 374 insertions(+), 156 deletions(-)

-- 
2.1.4


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

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

end of thread, other threads:[~2018-05-30 18:09 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-22 11:20 [PATCH 0/9] x86/vmx: Don't leak EFER.NXE into guest context Andrew Cooper
2018-05-22 11:20 ` [PATCH 1/9] x86/vmx: API improvements for MSR load/save infrastructure Andrew Cooper
2018-05-23 16:01   ` Roger Pau Monné
2018-05-23 17:02     ` Andrew Cooper
2018-05-27  3:26   ` Tian, Kevin
2018-05-22 11:20 ` [PATCH 2/9] x86/vmx: Internal cleanup " Andrew Cooper
2018-05-23 16:28   ` Roger Pau Monné
2018-05-23 16:54     ` Andrew Cooper
2018-05-24 14:45   ` Jan Beulich
2018-05-27  3:30   ` Tian, Kevin
2018-05-22 11:20 ` [PATCH 3/9] x86/vmx: Factor locate_msr_entry() out of vmx_find_msr() and vmx_add_msr() Andrew Cooper
2018-05-23 16:39   ` Roger Pau Monné
2018-05-23 16:55     ` Andrew Cooper
2018-05-24 10:53       ` Roger Pau Monné
2018-05-24 10:59         ` Andrew Cooper
2018-05-24 12:16           ` Roger Pau Monné
2018-05-27  3:38   ` Tian, Kevin
2018-05-22 11:20 ` [PATCH 4/9] x86/vmx: Support remote access to the MSR lists Andrew Cooper
2018-05-24 11:50   ` Roger Pau Monné
2018-05-24 12:03     ` Andrew Cooper
2018-05-24 14:53   ` Jan Beulich
2018-05-27  3:47   ` Tian, Kevin
2018-05-28 15:15     ` Andrew Cooper
2018-05-22 11:20 ` [PATCH 5/9] x86/vmx: Fix handing of MSR_DEBUGCTL on VMExit Andrew Cooper
2018-05-22 12:53   ` Andrew Cooper
2018-05-24 12:14   ` Roger Pau Monné
2018-05-24 12:39     ` Andrew Cooper
2018-05-24 13:53       ` Jan Beulich
2018-05-24 15:08   ` Jan Beulich
2018-05-24 15:51     ` Andrew Cooper
2018-05-27  3:56   ` Tian, Kevin
2018-05-28 15:30     ` Andrew Cooper
2018-05-22 11:20 ` [PATCH 6/9] x86/vmx: Pass an MSR value into vmx_msr_add() Andrew Cooper
2018-05-24 15:12   ` Jan Beulich
2018-05-30 18:09     ` Andrew Cooper
2018-05-22 11:20 ` [PATCH 7/9] x86/vmx: Support load-only guest MSR list entries Andrew Cooper
2018-05-24 15:19   ` Jan Beulich
2018-05-24 15:37   ` Roger Pau Monné
2018-05-22 11:20 ` [PATCH 8/9] x86/vmx: Support removing MSRs from the host/guest load/save lists Andrew Cooper
2018-05-24 15:42   ` Roger Pau Monné
2018-05-24 15:45     ` Andrew Cooper
2018-05-22 11:20 ` [PATCH 9/9] x86/vmx: Don't leak EFER.NXE into guest context Andrew Cooper
2018-05-24 16:01   ` Roger Pau Monné
2018-05-24 16:48     ` Andrew Cooper
2018-05-25  7:27       ` Jan Beulich
2018-05-25  8:03         ` Andrew Cooper
2018-05-25  6:23   ` Tim Deegan
2018-05-25  7:49   ` Jan Beulich
2018-05-25  8:36     ` Andrew Cooper
2018-05-25 11:36       ` Jan Beulich
2018-05-25 11:48         ` Andrew Cooper

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