Patch "ARM: BCM63xx: fix parameter to of_get_cpu_node in bcm63138_smp_boot_secondary" has been added to the 4.2-stable tree
Subsystems (4)
This is a note to let you know that I've just added the patch titled
ARM: BCM63xx: fix parameter to of_get_cpu_node in bcm63138_smp_boot_secondary
to the 4.2-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
arm-bcm63xx-fix-parameter-to-of_get_cpu_node-in-bcm63138_smp_boot_secondary.patch
and it can be found in the queue-4.2 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
a6b4b25bd15c0a490769422a7eee355e9e91a57bMon Sep 17 00:00:00 2001
From: Sudeep Holla <[email protected]>
Date: Fri, 10 Jul 2015 18:36:11 +0100
Subject: ARM: BCM63xx: fix parameter to of_get_cpu_node in bcm63138_smp_boot_secondary
From: Sudeep Holla <[email protected]>
commit a6b4b25bd15c0a490769422a7eee355e9e91a57b upstream.
of_get_cpu_node provides the device node associated with the given logical CPU and cpu_logical_map contains the physical id for each CPU in the logical ordering. Passing cpu_logical_map(cpu) to of_get_cpu_node is incorrect.
This patch fixes the issue by passing the logical CPU number to of_get_cpu_node
--- arch/arm/mach-bcm/bcm63xx_smp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-bcm/bcm63xx_smp.c +1 -1
@@ -127,7 +127,7 @@ static int bcm63138_smp_boot_secondary(u }/* Locate the secondary CPU node */ - dn =of_get_cpu_node (cpu_logical_map (cpu),NULL ); + dn =of_get_cpu_node (cpu,NULL );if (!dn) {pr_err ("SMP: failed to locate secondary CPU%d node\n" , cpu); ret = -ENODEV ;
Patches currently in stable-queue which might be from [email protected] are
queue-4.2/arm-bcm63xx-fix-parameter-to-of_get_cpu_node-in-bcm63138_smp_boot_secondary.patch