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

[PATCH v4 0/3] Enable early bootup of Armv8-R AArch32 systems


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Thu, 3 Apr 2025 18:12: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=QPaVRhWJsDHWA1QUu0+5fTyeqQZX7UO2SCPi94wxtzQ=; b=fS9OE9fgbxtZ+nrb2UF+ZGLuEX6drnLVCTUih+gzNcLYps3aUUslKulMv5tx+b+1NA1V2mddHEmBzGQyL8M3gLK+IDb1/BNMHB9bH6w6NA1FLDx0BbMiFG4XsSoaC7Cu5FnBfuoHV813h5jDa5G/7LQoB/RxFXGVTbx0hfGUpNYEgFeywr5f+7Kaqz6ifUSnsOJO62z+zSt63mxMv81escD8UgqF2qiX6/ew2UIyUkEl10W64Gvrt9XutDU28MrSAq6KoMGgrVze3eihsVKF4HX5KxgdNh93tranwwA6U0xiNx+x3RhXW54EJGMlGfUs7hotzgc66uESBJn1f0FSVA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=p5A5H67bz/Hqnvo8rNUHfGXAuQP7jYYBsuL4hDWV9YzoGxbX8mtx2i8hn0hO0f90DJeF1JduLPk+1gdT1BplqhWfgRWPWrCtnY/yjknWVNV59cP8IKVbPye1gJLSp0mLR26CVgV7F2RDVhQ1jE+qcVBmfW/RV4GwwXf/G2CFFT6vPbQu4vaYaht5bXFNMJY1F9QVWEFL2GsTSKrCfeVZDbjbYmjmmVS50MC/OxUXcfzvwalACDDdV4qfQrKylejyCCBEn0Po3Xiz0FL2OSgkwRtQgH2TkSw+Lbxi+1YeURdGYNM9VLv6JV6oS9QoreFmB/enJ/u3qkIzd/WFwUJUpw==
  • 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: Thu, 03 Apr 2025 17:13:11 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Enable early booting of Armv8-R AArch32 based systems.

Ayan Kumar Halder (3):
  xen/arm: Move some of the functions to common file
  xen/arm32: Create the same boot-time MPU regions as arm64
  xen/arm32: mpu: Stubs to build MPU for arm32

 xen/arch/arm/arm32/Makefile                   |  1 +
 xen/arch/arm/arm32/mpu/Makefile               |  3 +
 xen/arch/arm/arm32/mpu/head.S                 | 91 +++++++++++++++++++
 xen/arch/arm/arm32/mpu/p2m.c                  | 18 ++++
 xen/arch/arm/arm32/mpu/smpboot.c              | 23 +++++
 xen/arch/arm/arm64/mpu/head.S                 | 88 +-----------------
 xen/arch/arm/include/asm/arm64/sysregs.h      | 11 +++
 xen/arch/arm/include/asm/cpregs.h             |  4 +
 xen/arch/arm/include/asm/mm.h                 |  5 +
 xen/arch/arm/include/asm/mpu/cpregs.h         | 30 ++++++
 .../include/asm/mpu/prepare_xen_region.inc    | 89 ++++++++++++++++++
 xen/arch/arm/mpu/Makefile                     |  1 +
 xen/arch/arm/mpu/domain_page.c                | 40 ++++++++
 13 files changed, 317 insertions(+), 87 deletions(-)
 create mode 100644 xen/arch/arm/arm32/mpu/Makefile
 create mode 100644 xen/arch/arm/arm32/mpu/head.S
 create mode 100644 xen/arch/arm/arm32/mpu/p2m.c
 create mode 100644 xen/arch/arm/arm32/mpu/smpboot.c
 create mode 100644 xen/arch/arm/include/asm/mpu/cpregs.h
 create mode 100644 xen/arch/arm/include/asm/mpu/prepare_xen_region.inc
 create mode 100644 xen/arch/arm/mpu/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®.