[PATCH v4 0/5] Prerequisite patches for R82 upstreaming

Luca Fancellu posted 5 patches 3 weeks, 2 days ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20241203094811.427076-1-luca.fancellu@arm.com
xen/arch/arm/alternative.c           |  3 +-
xen/arch/arm/arm32/mmu/mm.c          |  4 +-
xen/arch/arm/cpuerrata.c             |  5 +--
xen/arch/arm/include/asm/mmu/setup.h | 31 ++++++++++++++
xen/arch/arm/include/asm/setup.h     | 20 +++------
xen/arch/arm/kernel.c                |  9 ++--
xen/arch/arm/livepatch.c             |  3 +-
xen/arch/arm/mm.c                    | 40 ------------------
xen/arch/arm/mmu/Makefile            |  1 +
xen/arch/arm/mmu/mm.c                | 61 ++++++++++++++++++++++++++++
xen/arch/arm/mmu/setup.c             |  8 +++-
xen/arch/arm/setup.c                 | 27 ++++++------
xen/common/device-tree/bootfdt.c     |  4 +-
xen/common/device-tree/bootinfo.c    |  2 +-
xen/common/page_alloc.c              |  5 +++
xen/include/xen/bootfdt.h            |  1 -
xen/include/xen/mm.h                 |  6 +++
xen/include/xen/vmap.h               |  2 +-
xen/include/xen/xvmalloc.h           | 21 +++++++---
19 files changed, 162 insertions(+), 91 deletions(-)
create mode 100644 xen/arch/arm/include/asm/mmu/setup.h
create mode 100644 xen/arch/arm/mmu/mm.c
[PATCH v4 0/5] Prerequisite patches for R82 upstreaming
Posted by Luca Fancellu 3 weeks, 2 days ago
In this serie I've taken out patches from the R82 branch already in the ML[1]
and some new patches I've done based on the current status of staging that will
not impact the current Armv8-R earlyboot work.

[1] https://patchwork.kernel.org/project/xen-devel/cover/20230626033443.2943270-1-Penny.Zheng@arm.com/

Changes between v2 and v3:
 - New patch
 - changes to previous patch are listed inside them

Luca Fancellu (4):
  common/vmap: Fall back to simple allocator when !HAS_VMAP
  arm/setup: Move MMU specific extern declarations to mmu/setup.h
  xen/arm: Use vmap_contig instead of __vmap where it's possible
  xen/arm: Move setup_frametable_mappings to arm/mmu

Penny Zheng (1):
  xen/arm: Check for Static Heap feature when freeing resources

 xen/arch/arm/alternative.c           |  3 +-
 xen/arch/arm/arm32/mmu/mm.c          |  4 +-
 xen/arch/arm/cpuerrata.c             |  5 +--
 xen/arch/arm/include/asm/mmu/setup.h | 31 ++++++++++++++
 xen/arch/arm/include/asm/setup.h     | 20 +++------
 xen/arch/arm/kernel.c                |  9 ++--
 xen/arch/arm/livepatch.c             |  3 +-
 xen/arch/arm/mm.c                    | 40 ------------------
 xen/arch/arm/mmu/Makefile            |  1 +
 xen/arch/arm/mmu/mm.c                | 61 ++++++++++++++++++++++++++++
 xen/arch/arm/mmu/setup.c             |  8 +++-
 xen/arch/arm/setup.c                 | 27 ++++++------
 xen/common/device-tree/bootfdt.c     |  4 +-
 xen/common/device-tree/bootinfo.c    |  2 +-
 xen/common/page_alloc.c              |  5 +++
 xen/include/xen/bootfdt.h            |  1 -
 xen/include/xen/mm.h                 |  6 +++
 xen/include/xen/vmap.h               |  2 +-
 xen/include/xen/xvmalloc.h           | 21 +++++++---
 19 files changed, 162 insertions(+), 91 deletions(-)
 create mode 100644 xen/arch/arm/include/asm/mmu/setup.h
 create mode 100644 xen/arch/arm/mmu/mm.c

-- 
2.34.1
Re: [PATCH v4 0/5] Prerequisite patches for R82 upstreaming
Posted by Julien Grall 2 weeks, 5 days ago
Hi Luca,

On 03/12/2024 09:48, Luca Fancellu wrote:
> In this serie I've taken out patches from the R82 branch already in the ML[1]
> and some new patches I've done based on the current status of staging that will
> not impact the current Armv8-R earlyboot work.
> 
> [1] https://patchwork.kernel.org/project/xen-devel/cover/20230626033443.2943270-1-Penny.Zheng@arm.com/
> 
> Changes between v2 and v3:
>   - New patch
>   - changes to previous patch are listed inside them
> 
> Luca Fancellu (4):

I have committed all the patches but...

>    common/vmap: Fall back to simple allocator when !HAS_VMAP
>    arm/setup: Move MMU specific extern declarations to mmu/setup.h
>    xen/arm: Use vmap_contig instead of __vmap where it's possible
 >    xen/arm: Move setup_frametable_mappings to arm/mmu>
> Penny Zheng (1):
>    xen/arm: Check for Static Heap feature when freeing resources

.. this one where I left a comment. This could possibly be handled on 
commit.

Cheers,

-- 
Julien Grall