All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fixes to RDTSCP interception
@ 2018-11-30 17:07 Andrew Cooper
  2018-11-30 17:07 ` [PATCH 1/2] x86/svm: Improve diagnostics when __get_instruction_length_from_list() fails Andrew Cooper
  2018-11-30 17:07 ` [PATCH 2/2] x86/hvm: Corrections to RDTSCP intercept handling Andrew Cooper
  0 siblings, 2 replies; 14+ messages in thread
From: Andrew Cooper @ 2018-11-30 17:07 UTC (permalink / raw)
  To: Xen-devel
  Cc: Juergen Gross, Kevin Tian, Wei Liu, Suravee Suthikulpanit,
	Jun Nakajima, Andrew Cooper, Paul Durrant, Jan Beulich,
	Boris Ostrovsky, Brian Woods, Roger Pau Monné

For some reason (on EPYC at least) we've gained a regression into master
whereby VMs are defaulting to one of the emulated TSC modes.  This may be Xen
coming to the conclusion that there isn't a reliable TSC.  Combined with a
debug Xen, this breaks RDTSCP completely.

With this series in place and RDTSCP functioning correctly again, VMs are
still unwilling to boot.  I haven't managed to figure out why yet.

Andrew Cooper (2):
  x86/svm: Improve diagnostics when __get_instruction_length_from_list() fails
  x86/hvm: Corrections to RDTSCP intercept handling

 xen/arch/x86/hvm/svm/emulate.c        | 27 ++++++++++++++++++++-------
 xen/arch/x86/hvm/svm/svm.c            | 22 +++++++++++++++++-----
 xen/arch/x86/hvm/vmx/vmx.c            |  8 ++++++++
 xen/include/asm-x86/hvm/svm/emulate.h |  1 +
 4 files changed, 46 insertions(+), 12 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] 14+ messages in thread

end of thread, other threads:[~2018-12-13  6:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-30 17:07 [PATCH 0/2] Fixes to RDTSCP interception Andrew Cooper
2018-11-30 17:07 ` [PATCH 1/2] x86/svm: Improve diagnostics when __get_instruction_length_from_list() fails Andrew Cooper
2018-11-30 17:13   ` Woods, Brian
2018-12-03  9:10   ` Paul Durrant
2018-12-03 10:41     ` Jan Beulich
2018-12-03 10:32   ` Jan Beulich
2018-12-03 11:45     ` Andrew Cooper
2018-11-30 17:07 ` [PATCH 2/2] x86/hvm: Corrections to RDTSCP intercept handling Andrew Cooper
2018-11-30 17:19   ` Woods, Brian
2018-12-03  9:17   ` Paul Durrant
2018-12-03 11:13     ` Andrew Cooper
2018-12-03 11:23       ` Paul Durrant
2018-12-03 10:47   ` Jan Beulich
2018-12-13  6:24   ` Tian, Kevin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.