[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 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>, <jbeulich@xxxxxxxx>
- From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
- Date: Tue, 13 Aug 2024 18:13:52 +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=KT6j/B5Nn8jiMhkUoj66gNweNhytDsgexPuGVpNobdY=; b=JLiXHLeKSrSVCKDvl65DosdHbLj+i2O05ufXh8czkzT0zodCx4wVA6AJGkbBCwtxQhWHeaPdz590UG5ZV4jCaSRpYjomRyIX7DxgLmjts2/XmgTLB+GiACqj4z2MSX1kEEjcw3eWAYiST5gAINb8zSIwJagJ5ui40TCQz/MpPXBaajxZ3H9vC46okpCsZjgHBAIxC/zGqe0fjWXNcyLDeVIv9ssUN1dxXdXknD4kbIi91JKcR7MyQJzdsuQLfu2bdvHYD3kYaUpKWjbG/vkpUTbL2Wf3ctbcAO9ySBLB2Qok/wX6EbWl0lI90BwqPeUhe1joschYBTUU3sCI3j70Bg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=PakLdZ/BcDisqXdADFYwPW8WUabJZUiZtSH23FZkuffZSJGpJTA3a0+Ib/ue8JVDPMTKFm/oDTt8CPhOVL9SLn5ydNO+/Ct80od1Q5OTcWRapKptI/MFbphwE0x8DDh7cqEniuk+YQvK5eLgeyDB7OKMjjK/gINsS6ZS66aycLA4uoPtjK0dFwKnHv5c//zmw+qWwPkmUmsnh/WGlyifPy5BYZ4hHgjxPGkTd28ToWZ1OLaqoGxE5pEW4KNS375DiFAF40taaTNhWqeIrtOz7J9fIzVNnuCuVFdTpU0/QEbrR7kDa0HyXSLdlYejB+veMjzyjJKLMqkKiPBIg7rU0Q==
- Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Tue, 13 Aug 2024 17:14:17 +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: 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 | 4 +++-
xen/arch/arm/Makefile | 1 -
xen/arch/arm/arm64/mmu/mm.c | 7 ++++++-
xen/arch/arm/arm64/smpboot.c | 6 +++---
xen/arch/arm/include/asm/arm64/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 | 10 ++++++++++
xen/arch/x86/Kconfig | 2 ++
xen/common/Kconfig | 3 +++
xen/include/xen/vmap.h | 2 ++
12 files changed, 33 insertions(+), 7 deletions(-)
rename xen/arch/arm/{ => mmu}/domain_page.c (100%)
--
2.25.1
|