[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH V13 0/7] Mem_access for ARM



The ARM virtualization extension provides 2-stage paging, a similar mechanisms
to Intel's EPT, which can be used to trace the memory accesses performed by
the guest systems. This series sets up the necessary infrastructure in the
ARM code to deliver the event on R/W/X traps. Finally, we turn on the
compilation of mem_access and mem_event on ARM and perform the necessary
changes to the tools side.

This version of the series is based on master and each patch in the series has
been compile tested on both ARM and x86.

The following benchmarks have been completed on an Arndale board before and
after applying this entire series in dom0, which had 2 vCPUs available
pinned. No regressions are evident based on these benchmarks.

                        | f0ffd60 | AFTER
--------------------------------------------
hackbench               | 1.604   | 1.618
hackbench -pT           | 1.170   | 1.126
hardinfo CPU Blowfish   | 43.252  | 43.323   
hardinfo CPU CryptoHash | 40.935  | 40.893   
hardinfo CPU Fibonacci  | 10.358  | 10.360
hardinfo CPU N-Queens   | 25.773  | 25.894   
hardinfo FPU FFT        | 20.332  | 20.325
hardinfo FPU Raytracing | 73.017  | 73.104   

This PATCH series is also available at:
https://github.com/tklengyel/xen/tree/arm_memaccess13

Julien Grall (1):
  xen/arm: Implement domain_get_maximum_gpfn

Tamas K Lengyel (6):
  xen/arm: p2m changes for mem_access support
  xen/arm: Allow hypervisor access to mem_access protected pages
  xen/arm: Data abort exception (R/W) mem_events.
  xen/arm: Instruction prefetch abort (X) mem_event handling
  xen/arm: Enable mem_access on ARM
  tools/libxc: Allocate magic page for mem access on ARM

 config/arm32.mk                 |   1 +
 config/arm64.mk                 |   1 +
 tools/libxc/xc_dom_arm.c        |   6 +-
 xen/arch/arm/guestcopy.c        | 124 +++++++++++-
 xen/arch/arm/mm.c               |   2 +-
 xen/arch/arm/p2m.c              | 434 ++++++++++++++++++++++++++++++++++++----
 xen/arch/arm/traps.c            |  57 +++++-
 xen/include/asm-arm/domain.h    |   1 +
 xen/include/asm-arm/p2m.h       |  42 +++-
 xen/include/asm-arm/processor.h |  13 +-
 10 files changed, 634 insertions(+), 47 deletions(-)

-- 
2.1.4


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.