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

[PATCH v1 0/4] xen: arm: Split MMU code in preparation for MPU work (part 2)


  • To: <sstabellini@xxxxxxxxxx>, <bertrand.marquis@xxxxxxx>, <michal.orzel@xxxxxxx>, <ayan.kumar.halder@xxxxxxx>, <Volodymyr_Babchuk@xxxxxxxx>, <julien@xxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Fri, 2 Aug 2024 13:14:39 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.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=arcselector10001; 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=ITrrWosK14v5+EcosBCaPLfPpp+3saTWMWs0TdG6SCY=; b=Lqec4XdeLpmXebov2Xfe56Ebghv4r6Of43oZNKMtHW3CNinhNF+MDryabhHKjFTbQGWHsBm1n2hppZEcpnxWd2YkGwOCcM0E9vUhx8/fdqShfP7QBU6/uYw0nLgZT/RdqhSS4kLwasks4eqTpVlA/RMxuT9cU1hi24hftWq8cdtQyzDIEKp3ISNKSLgnoSFuJ6otMyAoF0WQqMB6PVzac9qCGi4rsc+5tQCVVnHM6PLFV5ZOMhmoxnLHfLkW/Vj04qHLt8kadVI0w+uCOACTWaURuoZedGWh4N+t+C8Yb8lGHGIetqKCBbQjXkQNAXruTIquew5Az5cT2A8/8y3q8g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EU6UWUy+WJ2SdzJVPGyYvRKTr/xK/ckUXw92MqkBS5C1gNOerircKk0RPT4VscZHAxkrilcp09oiWroanKIY3d1CKvxh+BhDXjzb3HZSLtE0pZmRdN5t5yvxWg8kRi5GQfUAdOHrmYUrTcIS6QV8pyR07ctXB4Sy8vpLFjVRq/XMy5oDT6Wz4tqRj0QiLv1FVhxjAJ3GalYLZlLHjEnSOFDJmYsezasUiG7r9pbqChr3dcomz5u44Jp67o/hmQeSUcO9/ZIgJZ9LsYIhPLi+9VXqD8wH328ye+F4BkdRo2JCrlJTqugeZd6Gab80ec0IxNBPtNemPcLWHAdoWsWyHQ==
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 02 Aug 2024 12:15:09 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi,

In https://patchew.org/Xen/20231116145032.1651305-1-Henry.Wang@xxxxxxx/, Henry 
has
reorganized some of the code between the MMU specific and generic files.

In this patch serie, we address the remaining code reorg so that MMU specific
code is cleanly separated and we have added stubs wherever necessary to avoid
introducing if-def.

Ayan Kumar Halder (4):
  xen: arm: Add an empty stub for update_identity_mapping()
  xen: arm: make VMAP only support in MMU system
  xen: arm: Move the functions of domain_page to MMU specific
  xen: arm: Enclose access to EL2 MMU specific registers under
    CONFIG_MMU

 xen/arch/arm/Kconfig                |   6 +-
 xen/arch/arm/Makefile               |   2 +-
 xen/arch/arm/domain_page.c          | 161 +----------------------
 xen/arch/arm/include/asm/arm32/mm.h |  12 ++
 xen/arch/arm/include/asm/arm64/mm.h |   6 +
 xen/arch/arm/mmu/Makefile           |   1 +
 xen/arch/arm/mmu/domain_page.c      | 194 ++++++++++++++++++++++++++++
 xen/arch/arm/setup.c                |   4 +
 xen/arch/arm/smpboot.c              |   2 +
 xen/arch/arm/traps.c                |   6 +-
 xen/include/xen/vmap.h              |   6 +
 11 files changed, 242 insertions(+), 158 deletions(-)
 create mode 100644 xen/arch/arm/mmu/domain_page.c

-- 
2.25.1




 


Rackspace

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