Skip to content

xen: arm: Split MMU code in preparation for MPU work (part 2)

Ayan Kumar Halder xen-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 of 4 patches 1 replyIn review
  2. v34 patches 21 repliesSuperseded
  3. v24 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches8 repliesSuperseded

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xen: arm: Add a new helper update_boot_mapping()xen/arch/arm/arm64/mmu/mm.c xen/arch/arm/arm64/smpboot.c xen/arch/arm/include/asm/arm64/mm.h+17 -120 replies
2/4xen: arm: Move domain_page.c to MMU specificxen/arch/arm/Makefile xen/arch/arm/mmu/Makefile xen/arch/arm/mmu/domain_page.c+1 -10 replies
3/4xen: arm: Enclose access to EL2 MMU specific registers under CONFIG_MMUxen/arch/arm/traps.c+10 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMichal OrzelJulien Grall
SeriesA-b
1/4R-b
2/4R-b
3/4R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/4] xen: arm: Split MMU code in preparation for MPU work (part 2)

Hi,

In https://patchew.org/Xen/[email protected]/, Henry has reorganized some of the code between the MMU specific and generic files.

In this patch serie, we address the remaining code reorg so that MMU specific code is cleanly separated and we have added stubs wherever necessary to avoid introducing if-def.

Changes from :-

v1..v2 - mentioned in individual patches.
v3 - Reordered the patches so that first 3 can be committed (as they have been reviewed).

Ayan Kumar Halder (4):
xen: arm: Add a new helper update_boot_mapping()
xen: arm: Move domain_page.c to MMU specific
xen: arm: Enclose access to EL2 MMU specific registers under
CONFIG_MMU
xen: make VMAP support in MMU system only

 xen/arch/arm/Kconfig                 |  4 +++-
 xen/arch/arm/Makefile                |  1 -
 xen/arch/arm/arm64/mmu/mm.c          | 14 +++++++++++++-
 xen/arch/arm/arm64/smpboot.c         |  6 +++---
 xen/arch/arm/include/asm/arm64/mm.h  |  9 +--------
 xen/arch/arm/mmu/Makefile            |  1 +
 xen/arch/arm/{ => mmu}/domain_page.c |  0
 xen/arch/arm/setup.c                 |  2 ++
 xen/arch/arm/traps.c                 | 10 ++++++++++
 xen/arch/ppc/Kconfig                 |  1 +
 xen/arch/riscv/Kconfig               |  1 +
 xen/arch/x86/Kconfig                 |  1 +
 xen/common/Kconfig                   |  3 +++
 xen/common/Makefile                  |  2 +-
 xen/common/vmap.c                    |  2 --
 xen/include/xen/vmap.h               |  2 ++
 16 files changed, 42 insertions(+), 17 deletions(-)
 rename xen/arch/arm/{ => mmu}/domain_page.c (100%)
Signature · 1 line
2.25.1