Hi all, This is the first chunk of work to support MPU and R82 on Xen, this serie reaches the early boot stages until setup_pagetables() which will be renamed in one of the commit on the serie to have a more generic name between MPU and MMU memory management subsystem.
Luca Fancellu (7): arm/mpu: Add HYPERVISOR_VIRT_START and avoid a check in xen.lds.S 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 arm/mpu: Implement early_fdt_map support in MPU systems arm/mpu: Implement setup_mappings for MPU system Penny Zheng (2): arm/mpu: Implement virt/maddr conversion in MPU system arm/mpu: Introduce MPU memory region map structure xen/arch/arm/Makefile | 1 + xen/arch/arm/include/asm/arm64/mpu.h | 92 ++++++++++ xen/arch/arm/include/asm/mm.h | 15 +- xen/arch/arm/include/asm/mmu/mm.h | 7 + xen/arch/arm/include/asm/mpu/layout.h | 2 + xen/arch/arm/include/asm/mpu/mm.h | 59 +++++++ xen/arch/arm/include/asm/page.h | 25 +++ xen/arch/arm/mmu/setup.c | 2 +- xen/arch/arm/mpu/Makefile | 2 + xen/arch/arm/mpu/mm.c | 236 ++++++++++++++++++++++++++ xen/arch/arm/mpu/setup.c | 112 ++++++++++++ xen/arch/arm/setup.c | 2 +- xen/arch/arm/xen.lds.S | 2 + 13 files changed, 548 insertions(+), 9 deletions(-) create mode 100644 xen/arch/arm/include/asm/mpu/mm.h create mode 100644 xen/arch/arm/mpu/Makefile create mode 100644 xen/arch/arm/mpu/mm.c create mode 100644 xen/arch/arm/mpu/setup.c -- 2.34.1