Commit Graph
7 Commits
Author SHA1 Message Date
Russell King 15d07dc9c5 ARM: move CP15 definitions to separate header file
Avoid namespace conflicts with drivers over the CP15 definitions by
moving CP15 related prototypes and definitions to a private header
file.

Acked-by: Stephen Warren <[email protected]>
Tested-by: Stephen Warren <[email protected]> [Tegra]
Acked-by: H Hartley Sweeten <[email protected]>
Tested-by: H Hartley Sweeten <[email protected]> [EP93xx]
Acked-by: Nicolas Pitre <[email protected]>
Acked-by: Kukjin Kim <[email protected]>
Signed-off-by: Russell King <[email protected]>
Signed-off-by: David Howells <[email protected]>
2012-03-28 18:30:01 +01:00
Russell King 30b99d07b7 ARM: fix wrongly patched constants
e3d9c625 (ARM: CPU hotplug: fix hard-coded control register constants)
changed the wrong constants in the hotplug assembly code.  Fix this.

Reported-by: viresh kumar <[email protected]>
Signed-off-by: Russell King <[email protected]>
2011-01-14 12:06:26 +00:00
Russell King e3d9c625f5 ARM: CPU hotplug: fix hard-coded control register constants
Use the definition we've provided in asm/system.h rather than
numeric constants.

Signed-off-by: Russell King <[email protected]>
2010-12-20 15:09:16 +00:00
Russell King d4450261e5 ARM: CPU hotplug: fix reporting of spurious wakeups
The original scheme for reporting spurious wakeups was broken - it
tried to use printk() from a context which wasn't coherent with the
other CPUs, which risks corrupting the printk() data.

Fix this by noting the number spurious wakeups, and only report them
when we are properly woken - when we will be coherent with the rest
of the system.

Signed-off-by: Russell King <[email protected]>
2010-12-20 15:09:14 +00:00
Russell King bbc81fd432 ARM: CPU hotplug: remove bug checks in platform_cpu_die()
platform_cpu_die() is entered from the CPU's own idle thread, which
can not be migrated to other CPUs.  Moreover, the 'cpu' argument
comes from the thread info, which will always be the 'current'
CPU.  So remove this useless bug check.

Signed-off-by: Russell King <[email protected]>
2010-12-20 15:09:10 +00:00
Russell King 3c030beabf ARM: CPU hotplug: move cpu_killed completion to core code
We always need to wait for the dying CPU to reach a safe state before
taking it down, irrespective of the requirements of the platform.
Move the completion code into the ARM SMP hotplug code rather than
having each platform re-implement this.

Signed-off-by: Russell King <[email protected]>
2010-12-20 15:09:10 +00:00
Colin Cross 1cea7326b3 [ARM] tegra: SMP support
Signed-off-by: Colin Cross <[email protected]>
Signed-off-by: Erik Gilling <[email protected]>
2010-08-05 14:57:01 -07:00