Skip to content

xen/arm: Clean-up & fixes in boot/mm code

Julien Grall xen-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/219 patches 48 repliesIn review
  2. v2 posting 1/219 patches 1 replySuperseded
  3. v120 patches 38 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19xen/const: Extend the existing macro BIT to take a suffix in parameterxen/arch/arm/arm32/insn.c xen/arch/arm/arm64/insn.c xen/arch/arm/gic-v3-its.c +11 more+65 -643 replies
2/19xen/arm: Rename SCTLR_* defines and remove unused onexen/arch/arm/arm32/head.S xen/arch/arm/arm64/head.S xen/arch/arm/guest_walk.c +4 more+30 -301 reply
3/19xen/arm: processor: Use BIT(.., UL) instead of _AC(1, U) in SCTLR_ definesxen/include/asm-arm/processor.h+9 -92 replies
4/19xen/arm: Rework HSCTLR_BASExen/arch/arm/arm32/head.S xen/arch/arm/arm64/head.S xen/include/asm-arm/processor.h+55 -217 replies
5/19xen/arm: Remove parameter cpuid from start_xenxen/arch/arm/arm32/head.S xen/arch/arm/arm64/head.S xen/arch/arm/setup.c+1 -43 replies
6/19xen/arm: Rework secondary_start prototypexen/arch/arm/arm32/head.S xen/arch/arm/arm64/head.S xen/arch/arm/smpboot.c+5 -63 replies
7/19xen/arm64: head: Remove unnecessary commentxen/arch/arm/arm64/head.S+0 -21 reply
8/19xen/arm64: head: Move earlyprintk messages in .rodata.strxen/arch/arm/arm64/head.S xen/include/asm-arm/asm_defns.h+10 -91 reply
9/19xen/arm64: head: Correctly report the HW CPU IDxen/arch/arm/arm64/head.S+0 -61 reply
10/19xen/arm32: head: Correctly report the HW CPU IDxen/arch/arm/arm32/head.S+0 -81 reply
11/19xen/arm32: head: Don't set MAIR0 and MAIR1xen/arch/arm/arm32/head.S+0 -21 reply
12/19xen/arm32: head: Always zero r3 before update a page-table entryxen/arch/arm/arm32/head.S+3 -12 replies
13/19xen/arm32: mm: Avoid to zero and clean cache for CPU0 domheapxen/arch/arm/mm.c+0 -51 reply
14/19xen/arm32: mm: Avoid cleaning the cache for secondary CPUs page-tablesxen/arch/arm/mm.c+0 -36 replies
15/19xen/arm: mm: Introduce DEFINE_PAGE_TABLE{, S} and use itxen/arch/arm/mm.c+18 -141 reply
16/19xen/arm: mm: Protect Xen page-table update with a spinlockxen/arch/arm/mm.c+6 -05 replies
17/19xen/arm: mm: Initialize page-tables earlierxen/arch/arm/mm.c xen/arch/arm/setup.c+5 -112 replies
18/19xen/arm: mm: Check start is always before end in {destroy, modify}_xen_mappingsxen/arch/arm/mm.c+2 -01 reply
19/19xen/arm: Pair call to set_fixmap with call to clear_fixmap in copy_from_paddrxen/arch/arm/kernel.c+1 -24 replies

Reviews trailers per patch

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

PatchAndrii AnisovJan BeulichStefano Stabellini
1/19R-b A-b R-b
2/19R-b R-b
3/19R-b R-b
4/19R-b
5/19R-b A-b
6/19R-b R-b
7/19R-b A-b
8/19R-b A-b
9/19R-b R-b
10/19R-b R-b
11/19R-b R-b
12/19R-b R-b
13/19R-b R-b
14/19R-b
15/19R-b
16/19R-b R-b
17/19R-b R-b
18/19R-b A-b
19/19R-b R-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 3 reviewers.

Read the v2 thread

Cover letter [PATCH MM-PART2 RESEND v2 00/19] xen/arm: Clean-up & fixes in boot/mm code

Hi all,

This is the second part of the boot/memory rework for Xen on Arm. This part contains mostly clean-up & fixes found during the rework.

The first part of the rework is "xen/arm: TLB flush helpers rework" [1].

For convenience, I provided a branch with all the patches applied based on staging:

git://xenbits.xen.org/people/julieng/xen-unstable.git branch mm/part2/v2

Cheers,

[1] https://lists.xenproject.org/archives/html/xen-devel/2019-05/msg01109.html

Julien Grall (19):
xen/const: Extend the existing macro BIT to take a suffix in parameter xen/arm: Rename SCTLR_* defines and remove unused one xen/arm: processor: Use BIT(.., UL) instead of _AC(1, U) in SCTLR_
defines
xen/arm: Rework HSCTLR_BASE
xen/arm: Remove parameter cpuid from start_xen
xen/arm: Rework secondary_start prototype
xen/arm64: head: Remove unnecessary comment
xen/arm64: head: Move earlyprintk messages in .rodata.str xen/arm64: head: Correctly report the HW CPU ID
xen/arm32: head: Correctly report the HW CPU ID
xen/arm32: head: Don't set MAIR0 and MAIR1
xen/arm32: head: Always zero r3 before update a page-table entry xen/arm32: mm: Avoid to zero and clean cache for CPU0 domheap xen/arm32: mm: Avoid cleaning the cache for secondary CPUs page-tables xen/arm: mm: Introduce DEFINE_PAGE_TABLE{,S} and use it xen/arm: mm: Protect Xen page-table update with a spinlock xen/arm: mm: Initialize page-tables earlier
xen/arm: mm: Check start is always before end in {destroy,
modify}_xen_mappings
xen/arm: Pair call to set_fixmap with call to clear_fixmap in
copy_from_paddr

 xen/arch/arm/arm32/head.S         | 34 ++++----------
 xen/arch/arm/arm32/insn.c         |  2 +-
 xen/arch/arm/arm64/head.S         | 40 +++++------------
 xen/arch/arm/arm64/insn.c         | 18 ++++----
 xen/arch/arm/gic-v3-its.c         | 13 +++---
 xen/arch/arm/gic-v3-lpi.c         |  4 +-
 xen/arch/arm/guest_walk.c         | 10 ++---
 xen/arch/arm/kernel.c             |  3 +-
 xen/arch/arm/mm.c                 | 62 +++++++++++++-------------
 xen/arch/arm/setup.c              |  7 ++-
 xen/arch/arm/smpboot.c            |  4 +-
 xen/arch/arm/traps.c              |  6 +--
 xen/arch/arm/vgic-v3-its.c        | 12 ++---
 xen/arch/arm/vgic-v3.c            |  2 +-
 xen/arch/arm/vgic.c               |  2 +-
 xen/drivers/char/meson-uart.c     | 16 +++----
 xen/drivers/char/mvebu-uart.c     | 34 +++++++-------
 xen/include/asm-arm/asm_defns.h   |  5 +++
 xen/include/asm-arm/bitops.h      |  2 -
 xen/include/asm-arm/gic_v3_defs.h |  4 +-
 xen/include/asm-arm/gic_v3_its.h  | 10 ++---
 xen/include/asm-arm/p2m.h         |  4 +-
 xen/include/asm-arm/processor.h   | 93 ++++++++++++++++++++++++++++++---------
 xen/include/xen/const.h           |  2 +
 24 files changed, 201 insertions(+), 188 deletions(-)
Signature · 7 lines
2.11.0


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel