ARM: mach-ux500: use SGI0 to wake up the other core
authorSrinidhi Kasagar <srinidhi.kasagar@stericsson.com>
Fri, 2 Nov 2012 12:44:34 +0000 (18:14 +0530)
committerRob Herring <rob.herring@calxeda.com>
Thu, 10 Jan 2013 17:44:39 +0000 (11:44 -0600)
The commit 7d28e3eaa1a8e951251b942e7220f97114bd73b9
("ARM: ux500: wake secondary cpu via resched") makes use
of schedule IPI to wake up the secondary core which seems
incorrect. Rather use SGI0.

Signed-off-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Acked-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-ux500/platsmp.c

index 3db7782f3afb3ed68e85eece8fec575524a08dbe..79531f1dffbc541ad807a4de14111a418523814f 100644 (file)
@@ -91,7 +91,7 @@ static int __cpuinit ux500_boot_secondary(unsigned int cpu, struct task_struct *
         */
        write_pen_release(cpu_logical_map(cpu));
 
-       smp_send_reschedule(cpu);
+       gic_raise_softirq(cpumask_of(cpu), 0);
 
        timeout = jiffies + (1 * HZ);
        while (time_before(jiffies, timeout)) {