xen/arm: arm32: Allow Xen to boot on unidentified CPUs
PATCH v2 1/1 xen/arm: arm32: Allow Xen to boot on unidentified CPUs
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.
---
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(-)
xen/arch/arm/arm32/head.S +1 -1
@@ -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) */
Signature · 1 line
2.25.1
Quoted 6 lines · Ayan Kumar Halder
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 <[email protected]>
Quoted 27 lines
---
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(-)xen/arch/arm/arm32/head.S +1
-1@@ -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) */Signature · 1 line
2.25.1
Hi,
Quoted 9 lines · Stefano Stabellini
Quoted 6 lines · Ayan Kumar Halder
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 <[email protected]>Reviewed-by Stefano Stabellini <[email protected]>
I have committed it.
Cheers,
Signature · 1 line
Julien Grall