]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ARM: mach-shmobile: r8a7779 SMP support V3
authorMagnus Damm <damm@opensource.se>
Tue, 10 Jan 2012 08:44:39 +0000 (17:44 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 12 Jan 2012 02:00:27 +0000 (11:00 +0900)
commitf40aaf6da14a4043d6361e0c7d74ada18e866059
tree655a02f6a7a0ef50772c13c00fef992924bdeb78
parentf0a217a31a745421df98db0d14ebdadef11d734c
ARM: mach-shmobile: r8a7779 SMP support V3

This patch contains r8a7779 SMP support V3 - now including
CPU hotplug offine and online support. The r8a7779 power
domain code is tied together with SMP glue code which allows
us to control the power domains via CPU hotplug.

At this point the kernel boots with the 4 Cortex-A9 cores in
SMP mode and all CPU cores except CPU0 can be hotplugged.

The code in platsmp.c is quite far from pretty, but it is
kept like that intentionally to avoid creating layers of
code that will go away in the near future anyway. The code
needs to be updated when some per-SoC handling code will be
added to the ARM architecture, see the following patch for
more information:
 "[RFC PATCH 0/3] Per SoC descriptor"

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/Makefile
arch/arm/mach-shmobile/include/mach/common.h
arch/arm/mach-shmobile/include/mach/r8a7779.h
arch/arm/mach-shmobile/platsmp.c
arch/arm/mach-shmobile/pm-r8a7779.c
arch/arm/mach-shmobile/smp-r8a7779.c [new file with mode: 0644]