From: Julien Grall <jgr...@amazon.com> Hi all,
This series is a collection of patches to clean-up the MM subsystem I have done in preparation for the next revision of "xen/arm: Don't switch TTBR while the MMU is on" [1]. Cheers, [1] https://lore.kernel.org/all/20220309112048.17377-1-jul...@xen.org/ Julien Grall (7): xen/arm: Remove most of the *_VIRT_END defines xen/arm32: head.S: Introduce a macro to load the physical address of a symbol xen/arm: head: Add missing isb after writing to SCTLR_EL2/HSCTLR xen/arm: mm: Add more ASSERT() in {destroy, modify}_xen_mappings() xen/arm32: mm: Consolidate the domheap mappings initialization xen/arm: mm: Move domain_{,un}map_* helpers in a separate file xen/arm: mm: Reduce the area that xen_second covers xen/arch/arm/Kconfig | 1 + xen/arch/arm/Makefile | 1 + xen/arch/arm/arm32/head.S | 24 +-- xen/arch/arm/arm64/head.S | 1 + xen/arch/arm/domain_page.c | 193 +++++++++++++++++++++++ xen/arch/arm/include/asm/arm32/mm.h | 8 + xen/arch/arm/include/asm/config.h | 19 +-- xen/arch/arm/include/asm/lpae.h | 17 ++ xen/arch/arm/livepatch.c | 2 +- xen/arch/arm/mm.c | 231 ++++------------------------ xen/arch/arm/setup.c | 21 ++- xen/arch/x86/Kconfig | 1 + xen/arch/x86/include/asm/config.h | 1 - xen/common/Kconfig | 3 + 14 files changed, 297 insertions(+), 226 deletions(-) create mode 100644 xen/arch/arm/domain_page.c -- 2.32.0