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

[PATCH 5/5] xen/arm: mpu: Implement a dummy enable_secondary_cpu_mm (arm32)


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Tue, 4 Feb 2025 19:23:57 +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=XsKT5QiKx02FP+fMWtE8QG8luAAR91pZZ+lj1Or0wn0=; b=H6jb6+8sUJmGSl/niKxUV+BfEI657q9H0amRae853XWYqOhS0k3lcQde7av5yRBz+NrJt1io1/fonLWEG6IzJGGa4p7v7MyQiyXU4jozELIAAQggIdV9RczkoSJarJB+1t85FyxgItCPp4hzTci0Vx17RTjrOMBvAF64kN2F2+yIlxZS9nmPKPsmrQYAEoMdGGyljHfP69gnlUJ1YLIwSfY5nwmZkCB7P8B0yV2YzM3eeBfuv3qnOyaKE9UE9WH6UFCSx4XG9rsHcgro8n/N3KWYDsamF41C9om7zG+yGEMTYSSXSd5O9qfFv4dNcmfpC+F9vT/aoy4v46uZr57ARQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=nBAkJp9p0A5slT0L1n3QtPxYoAeBnyhqEgynCltsgvHROuDbeaGD7cqcboKXChgx+iOiRDSZCjnuOFabTzekeR+yeO3j8UBQ4u52aeCsMeBoS/kTUfw/dtr8lQ6aacTw+Ongw3mrknVYHItsn63YgJNYbl+43tRs/5Mqi5eB8OlHpNNFf3TzEFWGqzId4oTzqKDCqUeyKdHlB/b1HZcOVBjHRu6JzW0zlKIh9y0Q58GN0fzvJzuVTrxKA/grURSr7PxyX4IlOzd+ZKx1rADOh+46GbBt7f1ZgdxFL8RQ0BpSRZhDVgMn4n67k2tGJBZGvR2pRVvoPOGsCevoK3667g==
  • 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:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Secondary cpus initialization is not yet supported. Thus, we print an
appropriate message and put the secondary cpus in WFE state.

Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
---
 xen/arch/arm/arm32/mpu/head.S | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/xen/arch/arm/arm32/mpu/head.S b/xen/arch/arm/arm32/mpu/head.S
index 4aad3c6b5d..49ab5fc9c0 100644
--- a/xen/arch/arm/arm32/mpu/head.S
+++ b/xen/arch/arm/arm32/mpu/head.S
@@ -156,6 +156,16 @@ FUNC(enable_boot_cpu_mm)
     ret
 END(enable_boot_cpu_mm)
 
+/*
+ * We don't yet support secondary CPUs bring-up. Implement a dummy helper to
+ * please the common code.
+ */
+ENTRY(enable_secondary_cpu_mm)
+    PRINT("- SMP not enabled yet -\r\n")
+1:  wfe
+    b 1b
+ENDPROC(enable_secondary_cpu_mm)
+
 /*
  * Local variables:
  * mode: ASM
-- 
2.25.1




 


Rackspace

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