Skip to content

xen/arm: mm: Remove open-coding mappings

Julien Grall xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 24 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16xen/arm: mm: Allow other mapping size in xen_pt_update_entry()xen/arch/arm/include/asm/page.h xen/arch/arm/mm.c+95 -181 reply
2/16xen/arm: mm: Add support for the contiguous bitxen/arch/arm/include/asm/page.h xen/arch/arm/mm.c+79 -80 replies
3/16xen/arm: mm: Avoid flushing the TLBs when mapping are insertedxen/arch/arm/mm.c+14 -32 replies
4/16xen/arm: mm: Don't open-code Xen PT update in remove_early_mappings()xen/arch/arm/mm.c+6 -51 reply
5/16xen/arm: mm: Re-implement early_fdt_map() using map_pages_to_xen()xen/arch/arm/mm.c+13 -51 reply
6/16xen/arm32: mm: Re-implement setup_xenheap_mappings() using map_pages_to_xen()xen/arch/arm/mm.c+6 -10 replies
7/16xen/arm: mm: Allocate xen page tables in domheap rather than xenheapxen/arch/arm/mm.c+21 -150 replies
8/16xen/arm: mm: Allow page-table allocation from the boot allocatorxen/arch/arm/mm.c+14 -60 replies
9/16xen/arm: Move fixmap definitions in a separate headerxen/arch/arm/acpi/lib.c xen/arch/arm/include/asm/config.h xen/arch/arm/include/asm/early_printk.h +5 more+40 -171 reply
10/16xen/arm: add Persistent Map (PMAP) infrastructurexen/arch/arm/Kconfig xen/arch/arm/include/asm/fixmap.h xen/arch/arm/include/asm/lpae.h +6 more+158 -67 replies
11/16xen/arm: mm: Clean-up the includes and order themxen/arch/arm/mm.c+10 -170 replies
12/16xen/arm: mm: Use the PMAP helpers in xen_{,un}map_table()xen/arch/arm/mm.c+9 -240 replies
13/16xen/arm32: setup: Move out the code to populate the boot allocatorxen/arch/arm/setup.c+51 -395 replies
14/16xen/arm64: mm: Add memory to the boot allocator firstxen/arch/arm/setup.c+24 -312 replies
15/16xen/arm: mm: Rework setup_xenheap_mappings()xen/arch/arm/mm.c+18 -690 replies
16/16xen/arm: mm: Re-implement setup_frame_table_mappings() with map_pages_to_xen()xen/arch/arm/mm.c+6 -583 replies

Reviews trailers per patch

All 16 patches have a Reviewed-by or Acked-by.

PatchHongda DengStefano StabelliniJan BeulichMichal OrzelBertrand MarquisLuca Fancellu
1/16R-b R-b
2/16R-b R-b
3/16R-b R-b T-b
4/16R-b R-b
5/16R-b R-b
6/16R-b
7/16A-b
8/16R-b
9/16A-b A-b
10/16R-b R-b T-b
11/16A-b
12/16R-b
13/16R-b R-b R-b
14/16R-b R-b T-b
15/16R-b
16/16R-b R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v1 thread

Cover letter [PATCH 00/16] xen/arm: mm: Remove open-coding mappings

From: Julien Grall <[email protected]>

Hi all,

This series was originally sent as "xen/arm: mm: Add limited support for superpages" [1] and finally has grown enough to remove most of the open-coding mappings in the boot code.

This will help to:
1) Get better compliance with the Arm memory model
2) Pave the way to support other page size (64KB, 16KB)

Cheers,

[1] <[email protected]>

Julien Grall (15):
xen/arm: mm: Allow other mapping size in xen_pt_update_entry() xen/arm: mm: Add support for the contiguous bit
xen/arm: mm: Avoid flushing the TLBs when mapping are inserted xen/arm: mm: Don't open-code Xen PT update in remove_early_mappings() xen/arm: mm: Re-implement early_fdt_map() using map_pages_to_xen() xen/arm32: mm: Re-implement setup_xenheap_mappings() using

    map_pages_to_xen()
  xen/arm: mm: Allocate xen page tables in domheap rather than xenheap
  xen/arm: mm: Allow page-table allocation from the boot allocator
  xen/arm: Move fixmap definitions in a separate header
  xen/arm: mm: Clean-up the includes and order them
  xen/arm: mm: Use the PMAP helpers in xen_{,un}map_table()
  xen/arm32: setup: Move out the code to populate the boot allocator
  xen/arm64: mm: Add memory to the boot allocator first
  xen/arm: mm: Rework setup_xenheap_mappings()
  xen/arm: mm: Re-implement setup_frame_table_mappings() with
    map_pages_to_xen()

Wei Liu (1):
xen/arm: add Persistent Map (PMAP) infrastructure

 xen/arch/arm/Kconfig                    |   1 +
 xen/arch/arm/acpi/lib.c                 |   2 +
 xen/arch/arm/include/asm/config.h       |   6 -
 xen/arch/arm/include/asm/early_printk.h |   1 +
 xen/arch/arm/include/asm/fixmap.h       |  48 +++
 xen/arch/arm/include/asm/lpae.h         |   8 +
 xen/arch/arm/include/asm/mm.h           |   4 -
 xen/arch/arm/include/asm/page.h         |   8 +
 xen/arch/arm/include/asm/pmap.h         |  32 ++
 xen/arch/arm/kernel.c                   |   1 +
 xen/arch/arm/mm.c                       | 494 +++++++++++++-----------
 xen/arch/arm/setup.c                    | 141 +++----
 xen/common/Kconfig                      |   3 +
 xen/common/Makefile                     |   1 +
 xen/common/pmap.c                       |  72 ++++
 xen/include/xen/acpi.h                  |  18 +-
 xen/include/xen/pmap.h                  |  16 +
 17 files changed, 549 insertions(+), 307 deletions(-)
 create mode 100644 xen/arch/arm/include/asm/fixmap.h
 create mode 100644 xen/arch/arm/include/asm/pmap.h
 create mode 100644 xen/common/pmap.c
 create mode 100644 xen/include/xen/pmap.h
Signature · 1 line
2.32.0