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

[PATCH v3 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: Tue, 7 Nov 2023 11:02:15 +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=aQ3nDnZzIOlBJ/9NcxXfJ1436Pka6wUXHNTU65y2wps=; b=i4HgHBN3PzIbqMJ0nibTQy45uiFX1T/ooQEUvbmAo52MtnR0FMH9dMLuQ9+NNUVgTGdfOZThe8/CBgvx7z5fox+I8AY+Kh4q9aubrd3nJvnkSK2bnjNFgkH+f2USmGZWJqJ+GXXUgulwa251HCw4WpzUjcONOkC0j8FzwhqfqQ6oMGxCvna2uHex2aBTuq8EQjSpy4ifPyTGfZ9gMTIDiIyTAjXRIVM6/Rllw6Z3J66k0tQMLCcKNyoNw6bSBuvt3PLtT9p3ky0LZOb2OHXvN93VkZuhY3Oi64uZTDyvpJEslUBTz+TWtbrqlSznG9E6JMjQXdJI/w1nTVN+PZ/SOA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZTAmkjuPgo8CfOPfHVA+cNmfQVbjBhHMhk956MX4pTfIpgt9+nllt2B+KA1RLuuNMNJJVi50s6FLxERIclAsFde5Zkpte9tSmQiZM2WP9gAx8MOTbKIM0TP/kUsGavU/D9aL9MrcM+cqivIgWlW3OuDr1vKbDoeE61G8yYOOVzEeQl+LDTBubPGicl+cqK6ai57CWrC5wWNWdwWfDFNfaEH30mKHPoFlCy8JiIpmvyEgnCkUGTns6mqlowSBiNWhd7+rLjxeDwb7FT5OeJNBMzKxKTUrcTBLA8cpA4ZrwgOkvnFgNd9abLW6rtq4CdMeRzXvf27V9jJesfKUrsq1XA==
  • 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: Tue, 07 Nov 2023 11:02:39 +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"


[1] - 
https://lore.kernel.org/all/f098a07d-fa19-4b40-bfac-7b121524382a@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".

v2 - Changes mentioned in individual patches.

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               | 578 +-----------------------
 xen/arch/arm/arm32/mmu/Makefile         |   1 +
 xen/arch/arm/arm32/mmu/head.S           | 573 +++++++++++++++++++++++
 xen/arch/arm/include/asm/arm32/macros.h |  58 ++-
 4 files changed, 641 insertions(+), 569 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®.