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

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Mon, 7 Apr 2025 19:44:40 +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=O/Iqka0dcv9RhvfMjDP4w03bYWU+ZYL+FD1BKc/UdKc=; b=u0PWqBoZ2EqGRq56BB49eXrOeyh5MnhpLp7AWTR2mWqGpjk40FlaTHTWwxHUpSxhCm7ChfMNgXCMY0eOCjsVbWP4Vkkh6DdQNBf/0tGQANa3NhibTVzDZjfH4twVo2OkTnhxf5yFOZix5w5vsyXj2dTlVDbcmnMFLnU5iB2i+nnPYSoesBOhOnBmFGZ9XS6INIZQOOza4Ru3VDG7UhtdbhEfncnlCo/g4thd+ais/32eKYYiHNPgfWHpl7gFenFcOqxcs4uLZbl+QKRB+kPUcFexQdSXCLOa2A0A3I73nrtU+nvDNTzQlcPz8xa4BAp5xqqR8PbWGF/cqhi7ClBtuQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=d6IBFSfv6v0mBbA5Sbf04YtbHd28hFElW6WjBujFukneRCzDrLQUjQp+DLScIs6wc4cCBOlmbT1Uz/JbzL7ryxBORUruEiocRt8C05DyFUYV6kusQgAubldYlyEGdlkWOjECZ8Wk3ZuOJIf+eTOwoch5MOMTiH16fSQ6dpGLvGH5HpK81U/cnI0l1ZyvWSMbX2XZlh7WRgkKazLwJNXTZYosmCArP5eDBQyjoYAZhamX4q3DDpx0D+o9+Nu+pwN72BPwnH9EbgdQYJbftOi0QNfI/is1bd6Kd4qHkACelxXS21B81hBjGIouEIY4hrP0OAk4Kt7RLYVVBxj5Neg/ww==
  • 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: Mon, 07 Apr 2025 18:45:02 +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            | 101 +++++++++++++++++++++++
 xen/arch/arm/arm32/mpu/p2m.c             |  18 ++++
 xen/arch/arm/arm32/mpu/smpboot.c         |  23 ++++++
 xen/arch/arm/arm64/mpu/head.S            |  78 +----------------
 xen/arch/arm/include/asm/arm32/sysregs.h |   7 ++
 xen/arch/arm/include/asm/arm64/sysregs.h |  11 +++
 xen/arch/arm/include/asm/cpregs.h        |   4 +
 xen/arch/arm/include/asm/mm.h            |   9 +-
 xen/arch/arm/include/asm/mmu/mm.h        |   9 ++
 xen/arch/arm/include/asm/mpu/common.inc  |  79 ++++++++++++++++++
 xen/arch/arm/include/asm/mpu/cpregs.h    |  24 ++++++
 xen/arch/arm/include/asm/mpu/mm.h        |   5 ++
 xen/arch/arm/mpu/Makefile                |   1 +
 xen/arch/arm/mpu/domain_page.c           |  41 +++++++++
 16 files changed, 329 insertions(+), 85 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/common.inc
 create mode 100644 xen/arch/arm/include/asm/mpu/cpregs.h
 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®.