]> xenbits.xensource.com Git - xen.git/commitdiff
xen/arm: arm32: Allow Xen to boot on unidentified CPUs
authorAyan Kumar Halder <ayan.kumar.halder@amd.com>
Mon, 26 Jun 2023 18:14:44 +0000 (19:14 +0100)
committerJulien Grall <jgrall@amazon.com>
Thu, 29 Jun 2023 21:07:27 +0000 (22:07 +0100)
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@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/arm32/head.S

index 1ad981b674601d5e6781d2dfca841ac103550c8f..72f667b85666c0d5ee7c04628a18ae711019bf8f 100644 (file)
@@ -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) */