aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview/hotplug.c
Commit message (Collapse)AuthorAge
* ARM: CPU hotplug: fix hard-coded control register constantsRussell King2010-12-20
| | | | | | | Use the definition we've provided in asm/system.h rather than numeric constants. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* ARM: CPU hotplug: fix reporting of spurious wakeupsRussell King2010-12-20
| | | | | | | | | | | | 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 <rmk+kernel@arm.linux.org.uk>
* ARM: CPU hotplug: remove bug checks in platform_cpu_die()Russell King2010-12-20
| | | | | | | | | 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 <rmk+kernel@arm.linux.org.uk>
* ARM: CPU hotplug: move cpu_killed completion to core codeRussell King2010-12-20
| | | | | | | | | 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 <rmk+kernel@arm.linux.org.uk>
* ARM: rename mach_cpu_disable() to platform_cpu_disable()Russell King2010-05-15
| | | | | | Consistently name all SMP platform related functions. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* RealView: Use flush_cache_all() rather than MCR in cpu_enter_lowpower()Harry Fearnhamm2008-12-01
| | | | | | | | | | | The MCR for flushing the whole D cache is undefined on ARMv7 CPUs. Signed-off-by: Harry Fearnhamm <Harry.Fearnhamm@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
* [ARM SMP] Add CPU hotplug support for Realview MPcoreRussell King2005-11-09
Add platform specific parts for hotplug CPU support for the Realview board. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>