[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Fri, 3 Nov 2023 17:34:34 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=bnDYIsJDNzdWK1B6E7XtLTwREV5ouPUxVLKOnssY218=; b=jornZWkHNTMfQ9nOMH8sRY5C47tGwzdf32u9qfPVJ+3NNsWu2yH4FHBccH9Hn8mS1MHAcMIzLhOOIh9BDfISTXPO5TiRXERxrpqcsqJS29LMzQpUEQsmuuqpwtZfo58RcuSa9wYa3MwHAKPK6ycIA7dCKAZt6H4qV02omx24H1cWnqHxI6eO6v0KqCEa5hUu37vW14TANwdDv5vl12BaRyeDJge/2R3oEsOrerixIPnqT/iv675+VoBIj3zsvOmYGjPbKkTGqrgU5UV5P0AKvwiu8duzNT64AwfDQMgAJCVSCEVlbFAftjecvW9Op2I6V/VjXh6UZT8j1sryNvNh/A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D3DOQdTR/0clyh7Fl81FMACw1W1Y/2akwlHupgzHdn6pPfg3/QqKQ97Xq/h+ikvDEh1GEVSpV+b3fDgNODhql01aWXpXYLzYhZC/VqAmpT9M7QpBpO1QN6tnOSnuhMLlUtRi15jRSVYWdkDB/pMV56GLW/WCABqE/Rt2RX8S8eZK9+Dy/CL1S91eXhFYO8KxY8Z6QEd4YT76VnM04/PxojDtXA+Gps70ON7Msf3eli7/xFL9G2ZgbTLKUkc/LxqtcN5MbvEmEbqnJxOj68wyqUS+/7INwFToMe0nmc1I4YmMDiFT1pneJX67NRmRIXtpiqwMR4Szhov310Oy0j8mPQ==
  • Cc: <sstabellini@xxxxxxxxxx>, <julien@xxxxxxx>, <bertrand.marquis@xxxxxxx>, <michal.orzel@xxxxxxx>, <henry.wang@xxxxxxx>, <Volodymyr_Babchuk@xxxxxxxx>, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Delivery-date: Fri, 03 Nov 2023 17:34:58 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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@xxxxxxx/#t
[2] - https://lore.kernel.org/all/20231101233011.83098-3-julien@xxxxxxx/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




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.