[Xen-devel,00/20] xen/arm: Clean-up & fixes in boot/mm code

Message ID 20190422164937.21350-1-julien.grall@arm.com
Headers show
  • xen/arm: Clean-up & fixes in boot/mm code
Related show


Julien Grall April 22, 2019, 4:49 p.m.
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 next-4.13 (it is staging + patch queued for Arm):

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


[1] https://lists.xen.org/archives/html/xen-devel/2019-04/msg01432.html

Julien Grall (20):
  xen/const: Introduce _BITUL and _BITULL
  xen/arm: Rename SCTLR_* defines and remove unused one
  xen/arm: processor: Use _BITUL instead of _AC(1, U) in SCTLR_ defines
  xen/arm: Rework HSCTLR_BASE
  xen/arm: Rework secondary_start prototype
  xen/arm: Remove parameter cpuid from start_xen
  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: Use the shorter version __aligned(PAGE_SIZE) to align
  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,
  xen/arm: Pair call to set_fixmap with call to clear_fixmap in
  xen/arm: Allow cleaning the directory even when CONFIG_EARLY_PRINTK is

 xen/arch/arm/Makefile           |  5 +++
 xen/arch/arm/Rules.mk           |  7 ----
 xen/arch/arm/arm32/head.S       | 33 ++++-----------
 xen/arch/arm/arm64/head.S       | 40 +++++-------------
 xen/arch/arm/guest_walk.c       |  2 +-
 xen/arch/arm/kernel.c           |  3 +-
 xen/arch/arm/mm.c               | 57 +++++++++++---------------
 xen/arch/arm/setup.c            |  7 ++--
 xen/arch/arm/smpboot.c          |  4 +-
 xen/arch/arm/traps.c            |  6 +--
 xen/include/asm-arm/asm_defns.h |  5 +++
 xen/include/asm-arm/p2m.h       |  4 +-
 xen/include/asm-arm/processor.h | 91 +++++++++++++++++++++++++++++++----------
 xen/include/xen/const.h         |  3 ++
 14 files changed, 137 insertions(+), 130 deletions(-)