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

[Xen-devel] [PATCH 0/6] iomem cacheability



Hi all,

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

Then, this series fixes the way Xen handles reserved memory regions on
ARM: they should be mapped as normal memory, instead today they are
treated as device memory.

Finally, it documents how to use iomem to setup a cacheable shared
memory region between dom0 and a domU, exporting it as reserved-memory
to both dom0 and domU.

Cheers,

Stefano


The following changes since commit 6d8ffac1f7a782dc2c7f8df3871a294729ae36bd:

  xen/arm: gic: Remove duplicated comment in do_sgi (2018-11-09 15:10:26 -0800)

are available in the git repository at:

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

for you to fetch changes up to f4ebec016d322ee18106e9b623b6629e8bab84fa:

  xen/docs: how to map a page between dom0 and domU using iomem (2019-02-26 
15:00:44 -0800)

----------------------------------------------------------------
Stefano Stabellini (6):
      xen: extend XEN_DOMCTL_memory_mapping to handle cacheability
      libxc: xc_domain_memory_mapping, handle cacheability
      libxl/xl: add cacheability option to iomem
      xen/arm: keep track of reserved-memory regions
      xen/arm: map reserved-memory regions as normal memory in dom0
      xen/docs: how to map a page between dom0 and domU using iomem

 docs/man/xl.cfg.pod.5.in          |  4 +-
 docs/misc/arm/dom0_shared_mem.txt | 69 ++++++++++++++++++++++++++++++++
 tools/libxc/include/xenctrl.h     |  3 +-
 tools/libxc/xc_domain.c           |  6 ++-
 tools/libxl/libxl_create.c        | 12 +++++-
 tools/libxl/libxl_types.idl       |  7 ++++
 tools/xl/xl_parse.c               | 17 +++++++-
 xen/arch/arm/bootfdt.c            | 73 ++++++++++++++++++++++++++++++++++
 xen/arch/arm/domain_build.c       |  7 ++++
 xen/arch/arm/gic-v2.c             |  3 +-
 xen/arch/arm/p2m.c                | 19 ++++++++-
 xen/arch/arm/platforms/exynos5.c  |  4 +-
 xen/arch/arm/platforms/omap5.c    |  8 ++--
 xen/arch/arm/setup.c              | 84 ++++++++++++++++++++++++++++++++-------
 xen/arch/arm/vgic-v2.c            |  2 +-
 xen/arch/arm/vgic/vgic-v2.c       |  2 +-
 xen/arch/x86/hvm/dom0_build.c     |  7 +++-
 xen/arch/x86/mm/p2m.c             |  6 ++-
 xen/common/domctl.c               |  8 ++--
 xen/drivers/vpci/header.c         |  3 +-
 xen/include/asm-arm/setup.h       |  1 +
 xen/include/public/domctl.h       |  4 +-
 xen/include/xen/p2m-common.h      |  3 +-
 23 files changed, 311 insertions(+), 41 deletions(-)
 create mode 100644 docs/misc/arm/dom0_shared_mem.txt

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

 


Rackspace

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