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

[PATCH v5 0/3] Enable early bootup of AArch64 MPU systems


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Thu, 7 Nov 2024 15:03:27 +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=PBiv2GOIhg1R37a1jCV8SfIWyCn/z+gfjg0RbWL1A0g=; b=VXkX0txiPetjdgt2RvHWozcEKYyg1LCXRxk0ISbtOVdYCCvR4oyC5zRVMSJ9juJsWZB0rVxJUNHqNw+RwDNPNC/4pqNHQ70j6zS071j2DzUozwGqaPEzIZOLBCe/Fe4aeF+yJ/A4M9Gmgjr9z8e76vj5OF/vPOvtL0TMOkQjJZIm/7iTgcLW0XDL8v60y+x0AZ5t3wV3Zv2WpjIAQtqCFJDm+D2t1RZL8YWZKfK/lnYEUqMiDSHMY+5v1u9xvWBCYPvs24s4q/YPn7amdcsQeeroH2sbQQ7ZLz2qC/e2I/34eAPCk3KvI2LzD0oo2Q/Z9mLOo+1z1QF0RIGke7pDug==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=aUcDJmZVfe7vmdYm2xU33cYFhdT1xYJePBiqEnNZD+dFOgypazvNzXUsfJuDZwrurmOIFPww3J7JlvrKi/GbRiaOTzmEb/ktStgkJH8MsAczBaCg1T5vrWkVndQlItsNl50dDeznJYOMxCQKEMOF3h+Dgn7IKecToYOgaltMkcWjnOvP6B6X9QBNG/W3Z7cgs9IzhKO14GfYJRU1KqBUxLGDPBxM4hj07YLyobM/kzQb2CeYvmrcJIrHgusnVFzrwHte/FikGAFTCr6lSHu2tIcDIylYeQ6FhP9XCUy6RTFoNbuaoHjArKH9XN2++JRzvbFN4rnHlfQkUHRgN8xXjQ==
  • 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, 07 Nov 2024 15:04:05 +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.

Changes from v3 :-
1. Removed some of the R-b as the patches have been modified. 

Changes from v4 :-
1. First 3 patches have been committed. Last 3 patches have been rebased.

Ayan Kumar Halder (3):
  xen/arm: mpu: Create boot-time MPU protection regions
  xen/arm: mpu: Enable MPU
  xen/arm: mpu: Implement a dummy enable_secondary_cpu_mm

 xen/arch/Kconfig                     |   2 +
 xen/arch/arm/arch.mk                 |   4 +
 xen/arch/arm/arm64/mpu/Makefile      |   1 +
 xen/arch/arm/arm64/mpu/head.S        | 159 +++++++++++++++++++++++++++
 xen/arch/arm/include/asm/arm64/mpu.h |  25 +++++
 xen/arch/arm/include/asm/mm.h        |   2 +-
 xen/arch/arm/smp.c                   |  11 ++
 xen/arch/arm/xen.lds.S               |   1 +
 8 files changed, 204 insertions(+), 1 deletion(-)
 create mode 100644 xen/arch/arm/arm64/mpu/head.S
 create mode 100644 xen/arch/arm/include/asm/arm64/mpu.h

-- 
2.25.1




 


Rackspace

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