summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/smp_scu.c
Commit message (Collapse)AuthorAgeFilesLines
* ARM: 6960/1: allow enabling SCU code on UPRob Herring2011-07-061-0/+2
| | | | | | | | The scu_power_mode function can be used on UP builds as it drives signals to an SOC power controller. So make it selectable for !SMP. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* ARM: pm: add function to set WFI low-power mode for SMP CPUsRussell King2011-02-111-0/+23
| | | | | | | | Add a function to set the SCU low-power mode for SMP CPUs. This centralizes this functionality rather than having to expose the SCU register definitions to each platform. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* Check whether the SCU was already initialisedCatalin Marinas2009-11-051-0/+4
| | | | | | | If Linux is running in non-secure mode, this register may have been already initialised and writing to the control register not allowed. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
* [ARM] 5516/1: Flush the D-cache after initialising the SCUCatalin Marinas2009-05-281-0/+7
| | | | | | | | | | | | | | | | On MP systems, the data loaded by CPU0 before the SCU was initialised may not be visible to the other CPUs. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> This also includes the following compile fix: This patch includes 'asm/cacheflush.h' which is needed to use 'flush_cache_all()' function. Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
* [ARM] smp: separate SCU support code from realviewRussell King2009-05-171-0/+41
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>