Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f068f5e

Browse files
committed
Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull ARM SoC fixes from Olof Johansson: "Only one remaining fix for arm-soc platforms at this time, a small bugfix for cpu hotplug on highbank platforms that has become much easier to hit as of late. Details in the patch description, but it's small and well-contained and definitely impacts users of the platform, so 3.9 seems appropriate." * tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: ARM: highbank: fix cache flush ordering for cpu hotplug
2 parents 0f177f8 + 73053d9 commit f068f5e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

arch/arm/mach-highbank/hotplug.c

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,11 @@ extern void secondary_startup(void);
2828
*/
2929
void __ref highbank_cpu_die(unsigned int cpu)
3030
{
31-
flush_cache_all();
32-
3331
highbank_set_cpu_jump(cpu, phys_to_virt(0));
34-
highbank_set_core_pwr();
3532

36-
cpu_do_idle();
33+
flush_cache_louis();
34+
highbank_set_core_pwr();
3735

38-
/* We should never return from idle */
39-
panic("highbank: cpu %d unexpectedly exit from shutdown\n", cpu);
36+
while (1)
37+
cpu_do_idle();
4038
}

0 commit comments

Comments
 (0)