mbox series

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

Message ID 20231103173436.3912488-1-ayan.kumar.halder@amd.com (mailing list archive)
Headers show
Series xen/arm: Split MMU code as the prepration of MPU work form Arm32 | expand

Message

Ayan Kumar Halder Nov. 3, 2023, 5:34 p.m. UTC
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

Comments

Julien Grall Nov. 6, 2023, 9:53 a.m. UTC | #1
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.