On 06/02/2026 09:01, Harry Ramsey wrote:
> This series continues to further the ongoing work to introduce support
> for MPU systems in Xen.
>
> The patches in this series aim to implement MPU specific p2m functions.
>
> Harry Ramsey (2):
> arm/mpu: Introduce `v8r_el1_msa` device tree property for domains
> arm/mpu: Implement p2m tables
>
> Penny Zheng (1):
> arm/mpu: implement setup_virt_paging for MPU system
>
> docs/misc/arm/device-tree/booting.txt | 11 ++++
> xen/arch/arm/arm64/mpu/p2m.c | 67 +++++++++++++++++++++-
> xen/arch/arm/dom0less-build.c | 25 +++++++++
> xen/arch/arm/domain.c | 16 ++++++
> xen/arch/arm/include/asm/arm32/mpu.h | 2 +
> xen/arch/arm/include/asm/arm64/mpu.h | 2 +
> xen/arch/arm/include/asm/arm64/sysregs.h | 4 ++
> xen/arch/arm/include/asm/cpufeature.h | 13 ++++-
> xen/arch/arm/include/asm/domain.h | 9 +++
> xen/arch/arm/include/asm/mpu.h | 5 ++
> xen/arch/arm/include/asm/mpu/p2m.h | 12 ++++
> xen/arch/arm/include/asm/p2m.h | 5 ++
> xen/arch/arm/include/asm/processor.h | 11 ++++
> xen/arch/arm/mpu/p2m.c | 71 +++++++++++++++++++++++-
> xen/include/public/arch-arm.h | 4 ++
> 15 files changed, 250 insertions(+), 7 deletions(-)
>
> --
> 2.43.0
>
This is a complete rework of the previous patch:
https://patchwork.kernel.org/project/xen-devel/patch/20260119105022.3616126-1-harry.ramsey@arm.com/
v2:
- Split `implement setup_virt_paging for MPU system` into `arm/mpu:
implement setup_virt_paging for MPU system` and `Implement p2m tables`
- Rework register setup within `setup_virt_paging` to be more concise
- Introduce v8r_el1_msa device tree parameter