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

[PATCH v1 0/4] Enable early bootup of AArch64 MPU systems.


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Fri, 23 Aug 2024 17:31:23 +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=UpDB0Wsw0MyL0N2tth1H16X6gmYFTdsxV1NglD4KSYs=; b=xG8zQq3s6dE5sM9EIHfbc6YLcOmMapCjKsbBqjaihQXqFpSBRCrCa24kp8GXR+aSNsYiu105o8m99vDJQv8vg2GzL2FPwXQAA5wIK0/F/5oaCZum0MMLabhXkuK0UG5zeU4EISvvk8biRhc0DOLBXDxJjIPdLkgXJ6AWsPE6QibA5Ktcfb3S5kXpETghId5Akpo3DVquLztK0U7BNi9gmDzwoOxFZZJKc90DzhpeqKBnZpLSXEqyX6Q8FDdNTLZ7lOutmHIadxm5Kl3RM6MQZPaaI2hpbSACUgY8M4GWR2SctZCvVOwlP+QE6R8DPFQMHmxzhSBnYI1wmLs3+rBtSQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xVo8lj69fUcl17XENm9h4wHg3tTFKaE7fim5G+yN9O6ndomFamv2ohiA9SGV2ss8CZDIwvujguZHfSbrRHnaT6yblvJAIPyxcZK+ZaTS/mw5TAp9GZISaLzwB1YYXWZ6Dr0QuxTeoYYoYOUWVw5BfVQuPqkCD6wSjvfHSQySP+p84RrpnixOsBY1hYYLavbmBRUy9temmySwKof6dQE2UThlU3uunlTUTG4IAGprKeeq5ei4JvBVQgiMWFfl9AQRa6LqjQrUUvOf6dHVY4aKkznEz+rN7KtSjEzXCIU9BnvXWmwrsYtJmiUlkagtbun4MePO8DR8sdsNOZW22J1yGA==
  • 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: Fri, 23 Aug 2024 16:31:55 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

These patches are based on 
https://lore.kernel.org/all/6d065949-dfae-41f8-b030-c7d09516846b@xxxxxxx/T/
"[PATCH v4 0/4] xen: arm: Split MMU code in preparation for MPU work (part 2)"

We have enabled early booting of R82.

Ayan Kumar Halder (4):
  xen/arm: mpu: Introduce choice between MMU and MPU
  xen/arm: mpu: Define Xen start address for MPU systems
  xen/arm: mpu: Create boot-time MPU protection regions
  xen/arm: mpu: Disable secondary cpu bringup

 xen/arch/arm/Kconfig                     | 28 ++++++++-
 xen/arch/arm/Makefile                    |  1 +
 xen/arch/arm/arm64/mpu/Makefile          |  1 +
 xen/arch/arm/arm64/mpu/head.S            | 79 ++++++++++++++++++++++++
 xen/arch/arm/include/asm/arm64/sysregs.h | 50 +++++++++++++++
 xen/arch/arm/include/asm/mpu/arm64/mm.h  | 13 ++++
 xen/arch/arm/include/asm/mpu/layout.h    | 25 ++++++++
 xen/arch/arm/include/asm/mpu/mm.h        | 18 ++++++
 xen/arch/arm/platforms/Kconfig           |  2 +-
 9 files changed, 215 insertions(+), 2 deletions(-)
 create mode 100644 xen/arch/arm/arm64/mpu/Makefile
 create mode 100644 xen/arch/arm/arm64/mpu/head.S
 create mode 100644 xen/arch/arm/include/asm/mpu/arm64/mm.h
 create mode 100644 xen/arch/arm/include/asm/mpu/layout.h
 create mode 100644 xen/arch/arm/include/asm/mpu/mm.h

-- 
2.25.1




 


Rackspace

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