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

[PATCH v3 0/6] Enable early bootup of AArch64 MPU systems


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Thu, 10 Oct 2024 15:03:45 +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=VCvFWrFfzVYxS4zF7rcBjY1zan7BZ6VEWYnFIlCknl8=; b=SL996NMuR8a6z3DhcAnA42i5SHpx6sftyx6I0+m2U3Tidob63dQ3/aPbYMcQeISRCChVSeBPrzKPrnbGP8PLc3YjfbVS7ytMTgWpvxhQ2Gm3OsSFJ7BL7pug0xkg/ZMjAe6vPwDAnpZJ5wfOSi9OeMX/O7XjpPijSOg9y98lFe5lJkeC4aEK6WJSiO4dq5DSCpgZ1fpEb4j+HokK4RKR92+sBQvj7S3hQ2nI0fEojrAPY5kydvEzymDBFYIftiPLxOf0/oLlGGhA4MgYsCd5MYWJbCK30U2AyLy3cFYLeLDPPYUOvN8M8YTrBKWCYTYA7y9VBWySn+ScZpJlmDcYKg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=V3uhzs7T8sYRxj99HDwuO9cnz9R0jDvHwqXnkGkXLxsNhTK3cd5h+ZgDw8L27X7FZlVCS39jLDOjsjnbMjdvEVmGQP1h8hT6oTAa3FVnJl9jqkU5u1NYaak9HQLGQSLuqAS6dtwL2MXgJJEjxUFVexxzhZ6M5dVM7VFOD+1Uciq3JPTvCmOZzq/Ciec0tdeDwPxezeFLKXlWFsFvO7ZQ2UtJbyLGG75rXs5Y4OsP7p/TxxWPV08HB7WmdDf9njfuLxbS+oM6BI2Fuunb/HF+1yP1fLdz+UB7hZBAEvBlD1VH8W9/YMyoJJho+L9Ngx+CmuSRf+mAR3f0du3ymmhlbw==
  • 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>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>
  • Delivery-date: Thu, 10 Oct 2024 14:04:27 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

We have enabled early booting of R82.

Changes from v2 :-
1. Added a new patch "xen/arm: Skip initializing the BSS section when it is 
empty".
2. Split "xen/arm: mpu: Create boot-time MPU protection regions" into 2 patches.

Ayan Kumar Halder (6):
  xen/arm: Skip initializing the BSS section when it is empty
  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: Enable MPU
  xen/arm: mpu: Implement a dummy enable_secondary_cpu_mm

 SUPPORT.md                                   |   1 +
 xen/arch/Kconfig                             |   2 +
 xen/arch/arm/Kconfig                         |  27 ++-
 xen/arch/arm/Makefile                        |   1 +
 xen/arch/arm/arm64/head.S                    |   2 +
 xen/arch/arm/arm64/mpu/Makefile              |   1 +
 xen/arch/arm/arm64/mpu/head.S                | 165 +++++++++++++++++++
 xen/arch/arm/include/asm/arm64/mpu/sysregs.h |  30 ++++
 xen/arch/arm/include/asm/config.h            |   4 +-
 xen/arch/arm/include/asm/mm.h                |   2 +
 xen/arch/arm/include/asm/mpu/arm64/mm.h      |  22 +++
 xen/arch/arm/include/asm/mpu/layout.h        |  33 ++++
 xen/arch/arm/include/asm/mpu/mm.h            |  20 +++
 xen/arch/arm/platforms/Kconfig               |   2 +-
 xen/arch/arm/setup.c                         |  13 ++
 xen/arch/arm/xen.lds.S                       |   7 +
 16 files changed, 329 insertions(+), 3 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/arm64/mpu/sysregs.h
 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®.