mbox series

[Xen-devel,for-4.12,v2,00/17] xen/arm: Implement Set/Way operations

Message ID 20181204202651.8836-1-julien.grall@arm.com
Headers show
Series xen/arm: Implement Set/Way operations | expand

Message

Julien Grall Dec. 4, 2018, 8:26 p.m. UTC
Hi all,

This is version 2 of the series to implement set/way. For more details see
patch #16.

A branch with the code is available at:

https://xenbits.xen.org/git-http/people/julieng/xen-unstable.git
branch cacheflush/v2

Cheers,

Julien Grall (17):
  xen/arm: Introduce helpers to clear/flags flags in HCR_EL2
  xen/arm: traps: Move the implementation of GUEST_BUG_ON in traps.h
  xen/arm: p2m: Clean-up headers included and order them alphabetically
  xen/arm: p2m: Introduce p2m_is_valid and use it
  xen/arm: p2m: Handle translation fault in get_page_from_gva
  xen/arm: p2m: Introduce a function to resolve translation fault
  xen/arm: vcpreg: Add wrappers to handle co-proc access trapped by
    HCR_EL2.TVM
  xen/arm: vsysreg: Add wrapper to handle sysreg access trapped by
    HCR_EL2.TVM
  xen/arm: Rework p2m_cache_flush to take a range [begin, end)
  xen/arm: p2m: Allow to flush cache on any RAM region
  xen/arm: p2m: Extend p2m_get_entry to return the value of bit[0]
    (valid bit)
  xen/arm: traps: Rework leave_hypervisor_tail
  xen/arm: p2m: Rework p2m_cache_flush_range
  xen/arm: domctl: Use typesafe gfn in XEN_DOMCTL_cacheflush
  xen/arm: p2m: Add support for preemption in p2m_cache_flush_range
  xen/arm: Implement Set/Way operations
  xen/arm: Track page accessed between batch of Set/Way operations

 xen/arch/arm/arm64/vsysreg.c    |  75 +++++++
 xen/arch/arm/domain.c           |  14 ++
 xen/arch/arm/domctl.c           |  14 +-
 xen/arch/arm/mem_access.c       |   6 +-
 xen/arch/arm/p2m.c              | 478 +++++++++++++++++++++++++++++++++++-----
 xen/arch/arm/traps.c            | 123 ++++++-----
 xen/arch/arm/vcpreg.c           | 171 ++++++++++++++
 xen/arch/x86/domain.c           |   4 +
 xen/common/domain.c             |   5 +-
 xen/include/asm-arm/cpregs.h    |   1 +
 xen/include/asm-arm/domain.h    |   8 +
 xen/include/asm-arm/p2m.h       |  36 ++-
 xen/include/asm-arm/processor.h |  18 ++
 xen/include/asm-arm/traps.h     |  24 ++
 xen/include/xen/domain.h        |   2 +
 15 files changed, 856 insertions(+), 123 deletions(-)