[PATCH v2 0/3] xen/arm: Add option to optionally disable trapping on unmapped acceses

Edgar E. Iglesias posted 3 patches 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20250529155024.1284227-1-edgar.iglesias@gmail.com
There is a newer version of this series
docs/man/xl.cfg.5.pod.in              |  8 ++++++
docs/misc/arm/device-tree/booting.txt |  9 +++++++
tools/libs/light/libxl_arm.c          |  3 +++
tools/libs/light/libxl_create.c       |  3 +++
tools/libs/light/libxl_types.idl      |  1 +
tools/libs/light/libxl_x86.c          |  6 +++++
tools/xl/xl_parse.c                   |  3 +++
xen/arch/arm/dom0less-build.c         | 10 ++++++++
xen/arch/arm/domain.c                 |  3 ++-
xen/arch/arm/domain_build.c           |  3 ++-
xen/arch/arm/io.c                     | 36 +++++++++++++++++++++++++--
xen/common/domain.c                   |  3 ++-
xen/include/public/domctl.h           |  4 ++-
13 files changed, 86 insertions(+), 6 deletions(-)
[PATCH v2 0/3] xen/arm: Add option to optionally disable trapping on unmapped acceses
Posted by Edgar E. Iglesias 5 months ago
From: "Edgar E. Iglesias" <edgar.iglesias@amd.com>

This follows up on the virtio-pci discussion and adds a per-domain
option to select the behaviour of accesses to unmapped address ranges.
The new option is trap_unmapped_accesses, it's general but for now
only implemented for ARM.

I'm happy with any name, so if you have better ideas please suggest them!

Thanks,
Edgar

ChangeLog:

v1 -> v2:
* Rename trap_unmapped_mmio to trap_unmapped_accesses
* Generalize to allow other archs to later support this option
* Change dom0less DT binding from boolean to integer
* Remove changes to autogenerated go bindings

Edgar E. Iglesias (3):
  xen/arm: Add way to disable traps on accesses to unmapped addresses
  xen/arm: dom0less: Add trap-unmapped-accesses
  tools/arm: Add the trap_unmapped_accesses xl config option

 docs/man/xl.cfg.5.pod.in              |  8 ++++++
 docs/misc/arm/device-tree/booting.txt |  9 +++++++
 tools/libs/light/libxl_arm.c          |  3 +++
 tools/libs/light/libxl_create.c       |  3 +++
 tools/libs/light/libxl_types.idl      |  1 +
 tools/libs/light/libxl_x86.c          |  6 +++++
 tools/xl/xl_parse.c                   |  3 +++
 xen/arch/arm/dom0less-build.c         | 10 ++++++++
 xen/arch/arm/domain.c                 |  3 ++-
 xen/arch/arm/domain_build.c           |  3 ++-
 xen/arch/arm/io.c                     | 36 +++++++++++++++++++++++++--
 xen/common/domain.c                   |  3 ++-
 xen/include/public/domctl.h           |  4 ++-
 13 files changed, 86 insertions(+), 6 deletions(-)

-- 
2.43.0