[PATCH v2 0/2] xen/arm: Split MMU code as the prepration of MPU work form Arm32

Ayan Kumar Halder posted 2 patches 6 months, 2 weeks ago
Failed in applying to current master (apply log)
There is a newer version of this series
xen/arch/arm/arm32/head.S               | 566 +-----------------------
xen/arch/arm/arm32/mmu/Makefile         |   1 +
xen/arch/arm/arm32/mmu/head.S           | 559 +++++++++++++++++++++++
xen/arch/arm/include/asm/arm32/macros.h |  57 +++
4 files changed, 622 insertions(+), 561 deletions(-)
create mode 100644 xen/arch/arm/arm32/mmu/head.S
[PATCH v2 0/2] xen/arm: Split MMU code as the prepration of MPU work form Arm32
Posted by Ayan Kumar Halder 6 months, 2 weeks ago
Hi,

These are the set of patches based on top of
"[PATCH v8 0/8] xen/arm: Split MMU code as the prepration of MPU work".
This is the preparation work to add MPU support on Arm32.

There are two more dependencies for this series :-

1. "[XEN v1 1/4] xen/arm: arm32: Move pt_enforce_wxn() so that it can be bundled with other MMU functionality"
is merged into "[PATCH v8 3/8] xen/arm: Fold mmu_init_secondary_cpu() to head.S"
as per the discussion on [1].

2. "[XEN v4] xen/arm32: head: Replace load_paddr with adr_l when they are equivalent"

Julien, I see that you have submitted "[PATCH 0/2] xen/arm32: Improve logging during early boot" [2].
Let me know if you want to reorder this series or base your series on top of mine.

[1] - https://lore.kernel.org/all/f098a07d-fa19-4b40-bfac-7b121524382a@xen.org/#t
[2] - https://lore.kernel.org/all/20231101233011.83098-3-julien@xen.org/T/

Changes from :-

v1 - Dropped "[XEN v1 1/4] xen/arm: arm32: Move pt_enforce_wxn() so that it can be bundled with other MMU functionality"
and "[XEN v1 4/4] xen/arm: traps.c: Enclose VMSA specific registers within CONFIG_MMU".

Ayan Kumar Halder (2):
  xen/arm32: head: Introduce enable_{boot,secondary}_cpu_mm()
  xen/arm32: head Split and move MMU-specific head.S to mmu/head.S

 xen/arch/arm/arm32/head.S               | 566 +-----------------------
 xen/arch/arm/arm32/mmu/Makefile         |   1 +
 xen/arch/arm/arm32/mmu/head.S           | 559 +++++++++++++++++++++++
 xen/arch/arm/include/asm/arm32/macros.h |  57 +++
 4 files changed, 622 insertions(+), 561 deletions(-)
 create mode 100644 xen/arch/arm/arm32/mmu/head.S

-- 
2.25.1
Re: [PATCH v2 0/2] xen/arm: Split MMU code as the prepration of MPU work form Arm32
Posted by Julien Grall 6 months, 1 week ago

On 03/11/2023 17:34, Ayan Kumar Halder wrote:
> Hi,

Hi Ayan,

> These are the set of patches based on top of
> "[PATCH v8 0/8] xen/arm: Split MMU code as the prepration of MPU work".
> This is the preparation work to add MPU support on Arm32.
> 
> There are two more dependencies for this series :-
> 
> 1. "[XEN v1 1/4] xen/arm: arm32: Move pt_enforce_wxn() so that it can be bundled with other MMU functionality"
> is merged into "[PATCH v8 3/8] xen/arm: Fold mmu_init_secondary_cpu() to head.S"
> as per the discussion on [1].
> 
> 2. "[XEN v4] xen/arm32: head: Replace load_paddr with adr_l when they are equivalent"
> 
> Julien, I see that you have submitted "[PATCH 0/2] xen/arm32: Improve logging during early boot" [2].
> Let me know if you want to reorder this series or base your series on top of mine.

I will rebase my patches on top of yours.

Cheers.

-- 
Julien Grall