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

[PATCH 0/5] Enable early bootup of AArch32 MPU systems


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Tue, 4 Feb 2025 19:23:52 +0000
  • 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=SHG8ViCwCswuSP2yufgLGkM1w0E0EtH3Fn4Jyr3k5Ug=; b=oZCP1DxciyKsaRvE85wrune7kzILLHrfSm7Hlsl4+DUKnJRI56soyPen8l75St3GDS780M3UTjv5P5AhcdRHar46+x29oP8WpYDD/AWuFYMB0aK5T39QYjEHnL/1wdS6LDAFTuC5FJ26PeW9IoDb3Hrbzl2lra0QterFnUHkLCAunGtuA0ElVr1cf3jUG2KZVvhRPQCE1Hn2mp3L9OYWeUBl4Uc6yjF8ipYgWScDbx4MRHUar1kdD0CNt56+kLzovuHc7YId4LGXNPSWG1zViVmpIaB7MzzhoQZ/9z9sa74e0CpNGtExmBg/obEoqXtTaiJIXvY/vcQFQGp8e20fmw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yx6YB9l25ZoG9XFSrWLv4efQwzGltD85OE/1Nos+ZcrC1PESzn5F4cyF+fuw7m/wM5r5x5VXxpiy79I5lMutQbsIMxZ2UMg8R8fWBZ8L2slL2VFCUwLv3Eb8bkeCJNJWB1qjcKgvzBi2Ubv8ugshsKlkfvXP9IIBci47HtEAm8G1Hp82fUVvWrcNO2NJqYN4jz/Fdt6AmbnNiOJtEdeML8kQfZG29bbvRGPnhsZAwF5/+erHhPZEO3G31V2btbMUu8ZUlzjYLMbXW5P5EDOJTpU/uJoPDo2YW1nUaL1VOU7pXXjIzWfJWY3+Xo3erDv1ldFhm9wz75HeQJZMRAmUPw==
  • 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: Tue, 04 Feb 2025 19:24:21 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Enabled early booting of R52.

Ayan Kumar Halder (5):
  xen/arm: mpu: Ensure that the page size is 4KB (arm32)
  xen/arm: mpu: Enclose access to MMU specific registers under
    CONFIG_MMU (arm32)
  xen/arm: mpu: Move some of the definitions to common file
  xen/arm: mpu: Create boot-time MPU protection regions (arm32)
  xen/arm: mpu: Implement a dummy enable_secondary_cpu_mm (arm32)

 xen/arch/arm/arm32/Makefile                |   1 +
 xen/arch/arm/arm32/head.S                  |   2 +
 xen/arch/arm/arm32/mpu/Makefile            |   1 +
 xen/arch/arm/arm32/mpu/head.S              | 174 +++++++++++++++++++++
 xen/arch/arm/arm32/mpu/mm.c                |  15 ++
 xen/arch/arm/arm64/mpu/head.S              |   2 +-
 xen/arch/arm/include/asm/cpregs.h          |   4 +
 xen/arch/arm/include/asm/early_printk.h    |   2 +-
 xen/arch/arm/include/asm/{arm64 => }/mpu.h |   6 +-
 xen/arch/arm/include/asm/mpu/cpregs.h      |  21 +++
 10 files changed, 223 insertions(+), 5 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/mm.c
 rename xen/arch/arm/include/asm/{arm64 => }/mpu.h (87%)
 create mode 100644 xen/arch/arm/include/asm/mpu/cpregs.h

-- 
2.25.1




 


Rackspace

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