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

[PATCH v3 0/6] Enable R52 support for the first chunk of MPU support


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Wed, 11 Jun 2025 15:35:38 +0100
  • 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=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=lZ53+t2/x3mii/RAnIdlbJCsZzMfjwSpIHYR7e9AEDw=; b=djGKdsi1SRD2opLjOUEnzymkmuvtIh2zEWM3Okokpl4Y0wcXIq4Ts6hTDftM5UL6jSv4tQ5pKyBuJ1q5WVJQvvdRDpEQkNY5MBozYBWviVSoEfpfa7paqFVKJSvTdw7c7JlnKRmK4sgLjzCPMAmJOV69TjPnH0ueBk3ujqmo5T/BEEEyowvkMSqiz8mdgDy15nc5r4/ffd/Sbhmku49Odd9HxryZah56WYDJhHEN+xOFK4RpR6uwuGs1POmfWRJXg/WJP9/DXbefXNMqbK6kbCajU0AuzFv/LWI/1WOvwFXSTj/wq2pri1KhGBCJ0y3h17sYuVCCTp7DRwjqIxt9kA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=kqBu1HLnp/S6vYQaPCoAsYETHDjlli3q+xGnypcPU6zq4NsZnwlGP9snpH//fsmPTd48Wikwhl4PLcYo8LVQ4Z7D+m5QReGdWYMq6WG8bMDa+NxVp7OL+IUD9U82JTh+///MUiRw2d4omd+NCPdWBzu5rmJ68So9a49Fky5DC8+gLTxEJUfVqmqHRmQQ1I2ppyh+8MUS51LuS8aS9EfC6iuFhr86gcAS1lH9LUW4LTt3K4xa8GE5U/06ZB5NYYxfaQaRTQ/y/xB2iAib4lcg5H2nb7dlD1v0rJkIW6x+/YNgHFpCD0UETgb+xQRsWjdmYP2WtZ9TooTXVSAdNVGFPw==
  • Cc: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, "Volodymyr Babchuk" <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Wed, 11 Jun 2025 14:36:03 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hi all,

This patch serie enables R52 support based on Luca's series.
"[PATCH v6 0/6] First chunk for Arm R82 and MPU support".

Changes from :-

v1 .. v2 - Changes mentioned in individual patches

v3 - Split "arm/mpu: Provide access to the MPU region from the C code"
into 4 patches.

Ayan Kumar Halder (6):
  arm/mpu: Introduce MPU memory region map structure
  arm/mpu: Provide and populate MPU C data structures
  arm/mpu: Move domain-page.c to arm32 specific dir
  arm/mpu: Move the functions to arm64 specific files
  arm/mpu: Define arm32 system registers
  arm/mpu: Enable read/write to protection regions for arm32

 xen/arch/arm/arm32/Makefile                |   1 +
 xen/arch/arm/arm32/asm-offsets.c           |   6 +
 xen/arch/arm/arm32/cache.S                 |  43 ++++++
 xen/arch/arm/arm32/mpu/head.S              |  41 ++++-
 xen/arch/arm/include/asm/arm32/mpu.h       |  34 ++++-
 xen/arch/arm/include/asm/mpu.h             |   2 -
 xen/arch/arm/include/asm/mpu/cpregs.h      |  68 ++++++++-
 xen/arch/arm/include/asm/mpu/regions.inc   |   2 +-
 xen/arch/arm/mpu/Makefile                  |   3 +-
 xen/arch/arm/mpu/arm32/Makefile            |   2 +
 xen/arch/arm/mpu/{ => arm32}/domain-page.c |   0
 xen/arch/arm/mpu/arm32/mm.c                | 165 +++++++++++++++++++++
 xen/arch/arm/mpu/arm64/Makefile            |   1 +
 xen/arch/arm/mpu/arm64/mm.c                | 130 ++++++++++++++++
 xen/arch/arm/mpu/mm.c                      | 123 +--------------
 15 files changed, 487 insertions(+), 134 deletions(-)
 create mode 100644 xen/arch/arm/arm32/cache.S
 create mode 100644 xen/arch/arm/mpu/arm32/Makefile
 rename xen/arch/arm/mpu/{ => arm32}/domain-page.c (100%)
 create mode 100644 xen/arch/arm/mpu/arm32/mm.c
 create mode 100644 xen/arch/arm/mpu/arm64/Makefile
 create mode 100644 xen/arch/arm/mpu/arm64/mm.c

-- 
2.25.1




 


Rackspace

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