[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 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: Thu, 8 Aug 2024 13:09:32 +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=yV7NyhtbmiM4x5V4/xuEj04uj/rKjST5nQ5idUZLBpg=; b=rwHA4MdnHpU4sRdbgYILODvv6+ufcddyeSbHkgOs0RM9RVIK3CuNcqFUyp10qrTjvyWi/7fZ2Vn3d2P8w3NDP6mfKLsh8C6Lt4/z4kWxYwIIiQsfvM/CaybGY4iyDYZccEig+fIP+8tNRZJ3SHbR/aG3amOHUTNaBgXgkjYk/DDswsdKOI8KQoMYkrk6igOQz77q+v9Py4Blnztr6Nysup3qi75OOCdkKudRFQOsOLnGoqC7Bz7FeShVDQO0gbo2q1RncqXGxgCLOgH/4Vp0S9h5tQMj5wpuk/nr8/2jAwv+IlG1UaTD7H16Y1dT8uBARzX6r7R1It/4xSoUPmgrSg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UbzHsrSLf1V4pze56S6llFmcRDYBxoDMHp8IFVQPPKpulBOHDD8AKiZ5rLvkixMtuWdpTBiMDXHII/ZNYI9fcrM9MJrOGw8W103VpcsLez54wryrkVtb81RKH+3Svbu2vaqtgYh2YoQ1mOFiZLYuBhegG1m4Ss5AFg/T9ICVN9cLXxulPwGplrMB9Ke/i6svfu8PsrYW1eEmb2Scsse8GvLY/tb1o8fVdtj6zNv1O6fvd7nWyGWcD49I0C1ZnMDZUpf3Yzxqs20Fpw9lxLs2PhnQ8lTAS2h8qjifa2Ri+ekuwzlcxJilsiHaN8/yAv0nnT3nmMRY7b3M0jKqRULpHg==
- Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Thu, 08 Aug 2024 12:09:59 +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 a new helper update_boot_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 | 7 ++++++-
xen/arch/arm/arm64/mmu/mm.c | 5 +++++
xen/arch/arm/arm64/smpboot.c | 6 +++---
xen/arch/arm/include/asm/mm.h | 2 ++
xen/arch/arm/mmu/Makefile | 1 +
xen/arch/arm/{ => mmu}/domain_page.c | 0
xen/arch/arm/setup.c | 2 ++
xen/arch/arm/traps.c | 6 ++++++
xen/include/xen/vmap.h | 2 ++
9 files changed, 27 insertions(+), 4 deletions(-)
rename xen/arch/arm/{ => mmu}/domain_page.c (100%)
--
2.25.1
|