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

[XEN v2] xen/arm: arm32: Allow Xen to boot on unidentified CPUs


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Date: Mon, 26 Jun 2023 19:14:44 +0100
  • 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
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=V6yihoa+/80SBfUX8wWhjluFGN6I/haOtnxcY6AQwwc=; b=BS6iKZVR+BO/4DWLJlapv2cWrnAq6NBiOLaCraZym+rqjg+Fk1qXQOKc9jePCL850M49jER027IYS58yc1kPJuAi+T6pwq0ZgjUaCv5cZ7sMFPSjCVgsCRyaS4yY6FmOktWSwq21VPQ+S35XFV2oozSCWgDuAeD+QaQaFIPucGzPzuHba+EJlTHyfrwwPFc1m6nUA8pmLxH5TD4h/2c0W8r3gjDqDAcZ9HHneiuwK/eohuGx9p7wbV4N2M5uOvUL9GRIfL5IJ1BKb6r8L4kku6LICa+cGHsojf7MtvMurYGIu1Sve67IZe6uak7E057GHQwFst3b+3zF32eIG8qYlA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nPms2fW+NGjL8xmVhSmiK5ykPeQHyTYjxpzm5yziXrMoZW8UZlY/5xD5NvJDA38uTAuEZPymFQK3RN58veFjG4Qv+sm8ZGrXgGbVgKY98YJ2Q4E1DQ1xZLBs64l94C08mMRL/kZGNI0go+dfjS+MElMixmmY3fjDXq/RbOQi+EFXfIW+h5DT9QPWsOqWLrIiNIWa9FmvXIlxmGp4gvdLZU7wfRlhetPYw0k5MbCwZwnGbFVMI2h+pEh5S4JFyZYVsKLmQ8OylXKfuH7All96hNzjyLa/rgPHTITNwBBhGIOYtxaNsRkZAQRDWlA2Su+D265XDUY0jk/58TmM4mm4Gw==
  • Cc: <sstabellini@xxxxxxxxxx>, <stefano.stabellini@xxxxxxx>, <julien@xxxxxxx>, <Volodymyr_Babchuk@xxxxxxxx>, <bertrand.marquis@xxxxxxx>, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Delivery-date: Mon, 26 Jun 2023 18:15:02 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Currently if the processor id is not identified (ie it is missing in proc-v7.S)
, then Xen boot fails quite early.
We have removed this restriction as for some CPUs (eg Cortex-R52), there isn't
any special initialization required.

Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
---
Changes from -

v1 - "[PATCH v1] xen/arm: arm32: Add support to identify the Cortex-R52 
processor"
No need to add R52 proc id and empty stubs as there is no cpu initialization
required.

 xen/arch/arm/arm32/head.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xen/arch/arm/arm32/head.S b/xen/arch/arm/arm32/head.S
index f9f7be9588..3e88178552 100644
--- a/xen/arch/arm/arm32/head.S
+++ b/xen/arch/arm/arm32/head.S
@@ -324,7 +324,7 @@ cpu_init:
         PRINT("- Missing processor info: ")
         print_reg r4
         PRINT(" -\r\n")
-        b     fail
+        b     cpu_init_done
 1:
         /* Jump to cpu_init */
         ldr   r1, [r1, #PROCINFO_cpu_init]  /* r1 := vaddr(init func) */
-- 
2.25.1




 


Rackspace

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