[PATCH v4 0/7] First chunk for Arm R82 and MPU support

Luca Fancellu posted 7 patches 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20250429152057.2380536-1-luca.fancellu@arm.com
There is a newer version of this series
docs/misc/arm/booting.txt                |   8 +
xen/arch/arm/arm64/mpu/head.S            |  13 ++
xen/arch/arm/include/asm/arm32/mpu.h     |  25 +++
xen/arch/arm/include/asm/arm64/mpu.h     |  61 +++++++
xen/arch/arm/include/asm/bitmap-op.inc   |  67 ++++++++
xen/arch/arm/include/asm/mpu.h           |  78 +++++++++
xen/arch/arm/include/asm/mpu/mm.h        |  51 ++++++
xen/arch/arm/include/asm/mpu/regions.inc |  71 ++++++--
xen/arch/arm/include/asm/page.h          |  25 +++
xen/arch/arm/mpu/mm.c                    | 201 +++++++++++++++++++++++
10 files changed, 590 insertions(+), 10 deletions(-)
create mode 100644 xen/arch/arm/include/asm/arm32/mpu.h
create mode 100644 xen/arch/arm/include/asm/arm64/mpu.h
create mode 100644 xen/arch/arm/include/asm/bitmap-op.inc
[PATCH v4 0/7] First chunk for Arm R82 and MPU support
Posted by Luca Fancellu 6 months ago
Hi all,

This is the first chunk of work to support MPU and R82 on Xen, this serie
reaches the early boot stages just before early_fdt_map(), just to give an idea
about which stage of the boot is reached.

v4:
 - dropped setup_mpu() patch and early_fdt_map() patch (needs rework)
 - add new patches: boot protocol and early asm MPU structure update
 - general fixes listed on each patch
v3 changes:
 - stated on each patch
v2 changes for this serie:
 - rebased serie on the MPU skeleton that allow compilation
 - removed some patches already merged in the MPU skeleton

Luca Fancellu (6):
  docs/arm: Document Xen booting protocol on Armv8-R
  arm/mpu: Provide and populate MPU C data structures
  arm/mpu: Provide access to the MPU region from the C code
  arm/mpu: Introduce utility functions for the pr_t type
  arm/mpu: Provide a constructor for pr_t type
  arm/mpu: Introduce MPU memory mapping flags

Penny Zheng (1):
  arm/mpu: Introduce MPU memory region map structure

 docs/misc/arm/booting.txt                |   8 +
 xen/arch/arm/arm64/mpu/head.S            |  13 ++
 xen/arch/arm/include/asm/arm32/mpu.h     |  25 +++
 xen/arch/arm/include/asm/arm64/mpu.h     |  61 +++++++
 xen/arch/arm/include/asm/bitmap-op.inc   |  67 ++++++++
 xen/arch/arm/include/asm/mpu.h           |  78 +++++++++
 xen/arch/arm/include/asm/mpu/mm.h        |  51 ++++++
 xen/arch/arm/include/asm/mpu/regions.inc |  71 ++++++--
 xen/arch/arm/include/asm/page.h          |  25 +++
 xen/arch/arm/mpu/mm.c                    | 201 +++++++++++++++++++++++
 10 files changed, 590 insertions(+), 10 deletions(-)
 create mode 100644 xen/arch/arm/include/asm/arm32/mpu.h
 create mode 100644 xen/arch/arm/include/asm/arm64/mpu.h
 create mode 100644 xen/arch/arm/include/asm/bitmap-op.inc

-- 
2.34.1