[PATCH] ARM: formalize an IPI for CPU wake-ups

Stephen Boyd sboyd at codeaurora.org
Mon Jul 30 14:19:41 EDT 2012


On 07/10/12 23:34, Kukjin Kim wrote:
> Stephen Boyd wrote:
>> Great. Kukjin Kim, can exynos use SGI0? It looks like exynos is the only
>> one left to move to SGI0.
>>
> Yeah, EXYNOS can use SGI0 instead of SGI1 :)
>
>

Russell, can we apply something like this?

diff --git a/arch/arm/mach-exynos/platsmp.c b/arch/arm/mach-exynos/platsmp.c
index 36c3984..090e32b 100644
--- a/arch/arm/mach-exynos/platsmp.c
+++ b/arch/arm/mach-exynos/platsmp.c
@@ -139,7 +139,7 @@ int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle)
 
 		__raw_writel(virt_to_phys(exynos4_secondary_startup),
 			CPU1_BOOT_REG);
-		gic_raise_softirq(cpumask_of(cpu), 1);
+		gic_raise_softirq(cpumask_of(cpu), 0);
 
 		if (pen_release == -1)
 			break;


I see we have another user of SGI1. Magnus/Rafael, can we move
smp-emev2.c to use SGI0 instead of SGI1?

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.




More information about the linux-arm-kernel mailing list