]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commitdiff
xen/arm64: Avoid sending SGI when kicking secondary cpus with spin_table
authorChen Baozi <baozich@gmail.com>
Tue, 7 Apr 2015 07:33:52 +0000 (15:33 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 8 May 2015 16:39:56 +0000 (17:39 +0100)
On arm64, either firmware or xen's smp_up_cpu gate uses WFE on secondary
cpus to stand-by when booting. Thus, using SEV is enough for the boot
cpu to kick other secondaries. Further more, the current implementation
of cpu_up_send_sgi would pass a NULL cpumask pointer to send_SGI, which
then lead a data fault on GICv3 send_SGI implementation.

Signed-off-by: Chen Baozi <baozich@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/arm64/smpboot.c

index 341cc77ce4d6dcf291fa2e71f46ae6b1a3194bcc..62e6abb842c240704cc0416ae5b0f4d66b617237 100644 (file)
@@ -38,7 +38,7 @@ static int __init smp_spin_table_cpu_up(int cpu)
 
     sev();
 
-    return cpu_up_send_sgi(cpu);
+    return 0;
 }
 
 static void __init smp_spin_table_init(int cpu, struct dt_device_node *dn)