Skip to content

Armv8-R AArch64 MPU support (single core)

Luca Fancellu xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8xen/arm: Implement p2m_set_entry for MPU systemsxen/arch/arm/include/asm/arm32/mpu.h xen/arch/arm/include/asm/arm64/mpu.h xen/arch/arm/include/asm/mpu/mm.h +4 more+167 -214 replies
2/8xen/arm: Implement p2m_get_entry for MPU systemsxen/arch/arm/include/asm/mpu/p2m.h xen/arch/arm/mpu/p2m.c+77 -41 reply
3/8xen/mpu: enable device passthrough in MPU systemxen/arch/arm/mpu/p2m.c+7 -20 replies
4/8arm/mpu: Support vCPU context switch on MPU systemsxen/arch/arm/include/asm/mpu/cpregs.h xen/arch/arm/mpu/mm.c xen/arch/arm/mpu/p2m.c+57 -51 reply
5/8xen/arm: enable MMIO region trap in MPU systemxen/arch/arm/traps.c+56 -270 replies
6/8xen/arm: dump debug message in MPU systemxen/arch/arm/mpu/mm.c xen/arch/arm/mpu/p2m.c xen/arch/arm/traps.c+58 -21 reply
7/8arm/mpu: Save/restore guest EL1 MPU-related contextxen/arch/arm/arm64/mpu/p2m.c xen/arch/arm/domain.c xen/arch/arm/include/asm/domain.h +8 more+260 -121 reply
8/8arm/mpu: Save/restore VTCR_EL2 on vCPU context switchxen/arch/arm/arm64/mpu/p2m.c xen/arch/arm/domain.c xen/arch/arm/include/asm/domain.h +5 more+61 -03 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by.

PatchOleksii Kurochko
SeriesRelease-Acked-by
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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(-)
Signature · 1 line
2.34.1