mbox

[v4,0/6] iomem memory policy

Message ID alpine.DEB.2.21.1908061708420.2451@sstabellini-ThinkPad-T480s (mailing list archive)
State New, archived
Headers show

Pull-request

http://xenbits.xenproject.org/git-http/people/sstabellini/xen-unstable.git

Message

Stefano Stabellini Aug. 7, 2019, 12:23 a.m. UTC
Hi all,

This series introduces a memory policy parameter for the iomem option,
so that we can map an iomem region into a guest as cacheable memory.

(Other things related to reserved-memory on Arm have been sent
separately.)

Cheers,

Stefano


The following changes since commit 45ce5b8749a220ad7c4ce5d5eba7c201a9418078:

  mm: Safe to clear PGC_allocated on xenheap pages without an extra reference (2019-08-06 12:19:55 +0100)

are available in the Git repository at:

  http://xenbits.xenproject.org/git-http/people/sstabellini/xen-unstable.git 

for you to fetch changes up to 36be38da2f540aefbfb3d14076b835fc4f852aaf:

  xen/arm: clarify the support status of iomem configurations (2019-08-06 17:15:00 -0700)

----------------------------------------------------------------
Stefano Stabellini (6):
      xen/arm: introduce p2m_is_mmio
      xen: add a p2mt parameter to map_mmio_regions
      xen: extend XEN_DOMCTL_memory_mapping to handle memory policy
      libxc: introduce xc_domain_mem_map_policy
      libxl/xl: add memory policy option to iomem
      xen/arm: clarify the support status of iomem configurations

 SUPPORT.md                       |  2 +-
 docs/man/xl.cfg.5.pod.in         | 10 +++++++++-
 tools/libxc/include/xenctrl.h    |  8 ++++++++
 tools/libxc/xc_domain.c          | 24 ++++++++++++++++++++----
 tools/libxl/libxl.h              |  5 +++++
 tools/libxl/libxl_arch.h         |  3 +++
 tools/libxl/libxl_arm.c          | 14 ++++++++++++++
 tools/libxl/libxl_create.c       | 12 ++++++++++--
 tools/libxl/libxl_types.idl      |  8 ++++++++
 tools/libxl/libxl_x86.c          | 10 ++++++++++
 tools/xl/xl_parse.c              | 22 +++++++++++++++++++++-
 xen/arch/arm/acpi/domain_build.c |  4 ++--
 xen/arch/arm/domain_build.c      |  2 +-
 xen/arch/arm/gic-v2.c            |  3 ++-
 xen/arch/arm/p2m.c               | 19 ++-----------------
 xen/arch/arm/platforms/exynos5.c |  6 ++++--
 xen/arch/arm/platforms/omap5.c   | 12 ++++++++----
 xen/arch/arm/traps.c             |  2 +-
 xen/arch/arm/vgic-v2.c           |  2 +-
 xen/arch/arm/vgic/vgic-v2.c      |  2 +-
 xen/arch/x86/hvm/dom0_build.c    |  2 +-
 xen/arch/x86/mm/p2m.c            |  8 ++++----
 xen/common/domctl.c              | 32 +++++++++++++++++++++++++++++---
 xen/drivers/vpci/header.c        |  2 +-
 xen/include/asm-arm/p2m.h        | 21 ++++++---------------
 xen/include/asm-x86/p2m.h        |  8 ++++++++
 xen/include/public/domctl.h      | 20 +++++++++++++++++++-
 xen/include/xen/p2m-common.h     | 11 +++++++----
 28 files changed, 206 insertions(+), 68 deletions(-)