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

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


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Mon, 18 Nov 2024 12:12:47 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=softfail (sender ip is 165.204.84.12) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine 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=cxZ8kmXZXDzk5Pkc13K8IChxvdLyLLw0YfRPVdrOXYA=; b=ieE/wH45mwYzg8cPNtbQb02BqZN9torMekpIKd4/JRaHo8UAHwBRQD7GMb85BUIZZBXSPk1KFAdR7ohsdYbvbTGJuLQ+PkLOiBjglTmRpBiTQNnVd1UV6vRubH+3kZSm8oc1IcS9IMWxN/Ya4eBl1mqZW6zC36l1vCs5ZVc5fGLihVwa86axbmbau0fs5QcQDj4ONqGdKrajtxL6EZ7Nj35peZ8SMCH9vtHgwCZrFakrPRVOwAHecP5X/vujIqduId3cpBVx1xyBBOrhCLDRTfzR/GmervmDpjV95+ao5Khl1PevuFSYqEpVNXumSmPrImPXhuVA910+UsKgvS+8eQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JU5hXxhAqXzwRAL9pgnLAOsoRmKsZqPaMzCIj6qoCO56mksIFslh2/55kneVnZMpkrQYwkg1oum6ElhiA5X8hnLc4u96WQhEf9i+1XHfQ8pLk6ck61doqGLBe2UCzgsYnRcvZPKNogJp0HL498PN6fvxrxkRf+XLyhBG5GI4CHL9z2JEBOOX8vD3UsI4el3rxWZmRy9p8vTfLlnlXvJF2b2VX+CI/oLlHletd9rT4Zt7GZax+6vzD17Vq+/ioqTAJz0p8Fru+h2e51bEWsXtS4dwOECDAzwz8zE7VxMXgB/6BpfIkvvGOS4ugvtH3WEJ1q5gX5AF3OxEqMh40Nr/7w==
  • 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: Mon, 18 Nov 2024 12:13:20 +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.

Changes from v5 :-
1. Changes mentioned in individual patches.

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        | 160 +++++++++++++++++++++++++++
 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, 205 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®.