[PATCH 0/8] Armv8-R AArch64 MPU support (single core)

Luca Fancellu posted 8 patches 1 week, 4 days ago
Failed in applying to current master (apply log)
xen/arch/arm/arm64/mpu/p2m.c                |  17 ++
xen/arch/arm/domain.c                       |  51 +++-
xen/arch/arm/include/asm/arm32/mpu.h        |   3 +-
xen/arch/arm/include/asm/arm64/mpu.h        |   3 +-
xen/arch/arm/include/asm/domain.h           |  10 +
xen/arch/arm/include/asm/mm.h               |   3 +
xen/arch/arm/include/asm/mmu/domain-build.h |   2 +
xen/arch/arm/include/asm/mmu/mm.h           |  12 +
xen/arch/arm/include/asm/mpu.h              |   3 +
xen/arch/arm/include/asm/mpu/cpregs.h       |   7 +
xen/arch/arm/include/asm/mpu/domain-build.h |   6 +
xen/arch/arm/include/asm/mpu/mm.h           |  13 +-
xen/arch/arm/include/asm/mpu/p2m.h          |  25 ++
xen/arch/arm/include/asm/p2m.h              |   3 +
xen/arch/arm/mpu/arm32/mm.c                 |  10 +
xen/arch/arm/mpu/arm64/mm.c                 | 136 +++++++++
xen/arch/arm/mpu/domain-build.c             |  17 ++
xen/arch/arm/mpu/mm.c                       | 101 +++++--
xen/arch/arm/mpu/p2m.c                      | 295 +++++++++++++++++++-
xen/arch/arm/traps.c                        |  91 ++++--
20 files changed, 739 insertions(+), 69 deletions(-)
[PATCH 0/8] Armv8-R AArch64 MPU support (single core)
Posted by Luca Fancellu 1 week, 4 days ago
Hi,

this serie complete the support for Armv8-R AArch64 MPU support for dom0less
DomU boot on single core, it also build for Armv8-R AArch32 but the support is
not complete.

The serie is based on another serie in the mailing list: "Fifth MPU Series".

I've spoken with Oleksii and the Arm maintainer to have the possibilty to have
this on the Xen release, of course provided that maintainers have enough
bandwidth and depending on the priority of the series to be in.

Asking for Oleksii Ack for the release, the changes in this serie are mostly
related to MPU apart from few patches that touches common Arm code.

Luca Fancellu (2):
  arm/mpu: Save/restore guest EL1 MPU-related context
  arm/mpu: Save/restore VTCR_EL2 on vCPU context switch

Penny Zheng (6):
  xen/arm: Implement p2m_set_entry for MPU systems
  xen/arm: Implement p2m_get_entry for MPU systems
  xen/mpu: enable device passthrough in MPU system
  arm/mpu: Support vCPU context switch on MPU systems
  xen/arm: enable MMIO region trap in MPU system
  xen/arm: dump debug message in MPU system

 xen/arch/arm/arm64/mpu/p2m.c                |  17 ++
 xen/arch/arm/domain.c                       |  51 +++-
 xen/arch/arm/include/asm/arm32/mpu.h        |   3 +-
 xen/arch/arm/include/asm/arm64/mpu.h        |   3 +-
 xen/arch/arm/include/asm/domain.h           |  10 +
 xen/arch/arm/include/asm/mm.h               |   3 +
 xen/arch/arm/include/asm/mmu/domain-build.h |   2 +
 xen/arch/arm/include/asm/mmu/mm.h           |  12 +
 xen/arch/arm/include/asm/mpu.h              |   3 +
 xen/arch/arm/include/asm/mpu/cpregs.h       |   7 +
 xen/arch/arm/include/asm/mpu/domain-build.h |   6 +
 xen/arch/arm/include/asm/mpu/mm.h           |  13 +-
 xen/arch/arm/include/asm/mpu/p2m.h          |  25 ++
 xen/arch/arm/include/asm/p2m.h              |   3 +
 xen/arch/arm/mpu/arm32/mm.c                 |  10 +
 xen/arch/arm/mpu/arm64/mm.c                 | 136 +++++++++
 xen/arch/arm/mpu/domain-build.c             |  17 ++
 xen/arch/arm/mpu/mm.c                       | 101 +++++--
 xen/arch/arm/mpu/p2m.c                      | 295 +++++++++++++++++++-
 xen/arch/arm/traps.c                        |  91 ++++--
 20 files changed, 739 insertions(+), 69 deletions(-)

-- 
2.34.1
Re: [PATCH 0/8] Armv8-R AArch64 MPU support (single core)
Posted by Oleksii Kurochko 3 days, 8 hours ago
Hello everyone,

On 4/20/26 4:25 PM, Luca Fancellu wrote:
> Hi,
> 
> this serie complete the support for Armv8-R AArch64 MPU support for dom0less
> DomU boot on single core, it also build for Armv8-R AArch32 but the support is
> not complete.
> 
> The serie is based on another serie in the mailing list: "Fifth MPU Series".
> 
> I've spoken with Oleksii and the Arm maintainer to have the possibilty to have
> this on the Xen release, of course provided that maintainers have enough
> bandwidth and depending on the priority of the series to be in.
> 
> Asking for Oleksii Ack for the release, the changes in this serie are mostly
> related to MPU apart from few patches that touches common Arm code.

Despite the fact that this series was submitted just one day after the 
deadline, it appears to provide useful functionality. If maintainers 
have time to review it, it would be great to include it in this release.

Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>

Thanks.

~ Oleksii