xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] vmx/hap: optimize CR4 trapping
@ 2018-02-16 12:10 Roger Pau Monne
  2018-02-16 12:10 ` [PATCH v2 1/2] x86/hvm: introduce cr_mask to store trapped bits of CR accesses Roger Pau Monne
  2018-02-16 12:10 ` [PATCH v2 2/2] vmx/hap: optimize CR4 trapping Roger Pau Monne
  0 siblings, 2 replies; 10+ messages in thread
From: Roger Pau Monne @ 2018-02-16 12:10 UTC (permalink / raw)
  To: xen-devel; +Cc: Roger Pau Monne

Hello,

Following two-patch series optimize CR4 access for vmx/hap.

I couldn't figure out a similar approach for AMD, since according to
section 15.9 (Instruction Intercepts), you either intercept all access
to CR4 or none. In any case a similar optimization for AMD can always be
added later.

Thanks, Roger.

Roger Pau Monne (2):
  x86/hvm: introduce cr_mask to store trapped bits of CR accesses
  vmx/hap: optimize CR4 trapping

 xen/arch/x86/hvm/svm/vmcb.c    |  1 +
 xen/arch/x86/hvm/vmx/vmcs.c    |  1 +
 xen/arch/x86/hvm/vmx/vmx.c     | 39 +++++++++++++++++++++++++++++++++++++++
 xen/arch/x86/hvm/vmx/vvmx.c    |  2 ++
 xen/arch/x86/monitor.c         |  5 +++--
 xen/include/asm-x86/hvm/vcpu.h |  3 +++
 6 files changed, 49 insertions(+), 2 deletions(-)

-- 
2.16.1


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

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

end of thread, other threads:[~2018-02-19 15:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-16 12:10 [PATCH v2 0/2] vmx/hap: optimize CR4 trapping Roger Pau Monne
2018-02-16 12:10 ` [PATCH v2 1/2] x86/hvm: introduce cr_mask to store trapped bits of CR accesses Roger Pau Monne
2018-02-16 12:49   ` Andrew Cooper
2018-02-19 15:04     ` Roger Pau Monné
2018-02-19 15:07       ` Andrew Cooper
2018-02-16 12:10 ` [PATCH v2 2/2] vmx/hap: optimize CR4 trapping Roger Pau Monne
2018-02-16 12:30   ` Razvan Cojocaru
2018-02-16 12:37     ` Roger Pau Monné
2018-02-16 12:39       ` Razvan Cojocaru
2018-02-16 15:03         ` Razvan Cojocaru

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