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

[PATCH v2 0/4] Enable early bootup of Armv8-R AArch32 systems


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Thu, 13 Mar 2025 18:28:46 +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=tyGmGVp2mRMlL0WSKAMgYyI6Zq0EKA9ZuDqJUwOsVWY=; b=Q+dgL33qPAlu7xMEOtCkbFvczlv3rTZ8hzPaOtM3ho4/BMkHpzJkI5VKarum7Ie6XKK/QZx8aze9a7W7yuJxx6d6yLpl7oBKHhKrUSlRTMLhAdFazXBgaZCs7QmuANF0e1icPRextYVEyJOTw1mlAclErsB4gevbAqRssP6P6+8PvANNU2s4B8JRlvx9uRPrfnc3Vth4dfb5KUVZrV5w+ifb/THGsQmEMRfpoH1mw3+nbAfdEgNABIzldE51QuT12hjWfLZXOVyVpnWDzZ8C2J5mehbxtBu5Y6S6Su9ld+rsZh0us7HgTXae6lVGtp7J3ewGxa2EcDB1ueutI3tgig==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nvnAtkH7r9+IwQJ8IZmS5X4K7Gf6xPq8EpPpnx17VWLlmEPAdykXpbswtlVfmLORWnOAF6fSPBFPe2RUdL5A40u2djtQQxk8tiwaK0VR6l87aZHyWn8UtXruJf/bOiqrJBVyIxjG4xT15esjA1FJSabhkhCin1QhQHLeB3YXYP2yciKFND7J1pvaAbLjgZZMQCtTDzLtTji150Crj4SpjbvxIOhmf540QNCIxIDcYP4kgBIJZChNWGmtotZUfRW/LfnEAQMjiMwbT9xd5VZ0vPaYXN3ueISuMpDyYeKccoRuVwoTh2z+Nfv8GF5QtKDPtWFfDgvtUemSNO0fVHpCSw==
  • 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: Thu, 13 Mar 2025 18:29:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Enabled early booting of Armv8-R AArch32 based systems.

This patch serie with
https://patchwork.kernel.org/project/xen-devel/list/?series=943154 and
https://gitlab.com/xen-project/people/ayankuma/xen/-/commit/b407e5713c619821f3f5a55da65d4f8f380c3778

will enable build on Xen on Armv8-R AArch32 for MPU.

The current patch serie does *not* conflict with the other serie. Thus, any of
them can be committed in any order.

Ayan Kumar Halder (3):
  xen/arm32: Initialize MM specific registers in enable_mmu
  xen/arm32: mpu: Create boot-time MPU protection regions
  xen/arm32: mpu: Implement a dummy enable_secondary_cpu_mm

Michal Orzel (1):
  xen/arm32: Allow ARM_PA_BITS_40 only if !MPU

 xen/arch/arm/Kconfig                  |   2 +-
 xen/arch/arm/arm32/Makefile           |   1 +
 xen/arch/arm/arm32/head.S             |  14 --
 xen/arch/arm/arm32/mmu/head.S         |  15 +++
 xen/arch/arm/arm32/mpu/Makefile       |   1 +
 xen/arch/arm/arm32/mpu/head.S         | 180 ++++++++++++++++++++++++++
 xen/arch/arm/include/asm/cpregs.h     |   4 +
 xen/arch/arm/include/asm/mpu/cpregs.h |  21 +++
 8 files changed, 223 insertions(+), 15 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/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®.