SMP support for CNS3xxx + some SMP SCU cleanups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest8 patches 16 repliesIn review
- v14 patches 0 repliesSuperseded
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | ARM: SCU: Add common routines for secondary CPU bootuparch/ arch/ arch/ +1 more | +199 | 14 replies | |
| 2/8 | ARM: cns3xxx: Add support for SMParch/ arch/ arch/ +2 more | +100 | 1 reply | |
| 3/8 | ARM: VExpress: Switch to generic SCU routinesarch/ arch/ arch/ | +15 | 1 reply | |
| 4/8 | ARM: RealView: Switch to generic SCU routinesarch/ arch/ arch/ +1 more | +14 | 0 replies | |
| 5/8 | ARM: S5PV310: Switch to generic SCU routinesarch/ arch/ arch/ +1 more | +9 | 0 replies | |
| 6/8 | ARM: ux500: Switch to generic SCU routinesarch/ arch/ arch/ +2 more | +10 | 0 replies | |
| 7/8 | ARM: tegra: Switch to generic SCU routinesarch/ | +2 | 0 replies | |
| 8/8 | ARM: OMAP2: Switch to generic SCU routinesarch/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/8] SMP support for CNS3xxx + some SMP SCU cleanups
Hello everyone,
This is a reincarnation of my old series that was posted some time ago, i.e. http://www.spinics.net/lists/arm-kernel/msg94291.html
The main change is that boot protocol routines were split into its own file, i.e. smp_scu_boot.c. And now there are all platforms converted to the common SCU routines (where possible).
Russell suggested to get rid of the holding pen thing, I believe this is doable, but for now I don't want to change code behaviour. Just consolidate it as much as possible.
For convenience, the patches are available in GIT repository (based on Russell's devel tree):
git://git.infradead.org/users/cbou/linux-cns3xxx.git smp
Diffstat looks quite good, I think. Especially, considering that the series contains SMP addition for a platform, :-)
arch/arm/Kconfig | 2 +-
arch/arm/include/asm/smp_scu.h | 9 +
arch/arm/kernel/Makefile | 2 +-
arch/arm/kernel/smp_scu_boot.c | 149 ++++++++++++++++++
.../headsmp.S => kernel/smp_scu_head.S} | 11 +-
arch/arm/mach-cns3xxx/Kconfig | 1 +
arch/arm/mach-cns3xxx/Makefile | 1 +
arch/arm/mach-cns3xxx/include/mach/smp.h | 28 ++++
arch/arm/mach-cns3xxx/platsmp.c | 69 +++++++++
arch/arm/mach-omap2/omap-smp.c | 64 +--------
arch/arm/mach-realview/Makefile | 2 +-
arch/arm/mach-realview/hotplug.c | 5 +-
arch/arm/mach-realview/platsmp.c | 161 ++------------------
arch/arm/mach-s5pv310/Makefile | 2 +-
arch/arm/mach-s5pv310/headsmp.S | 41 -----
arch/arm/mach-s5pv310/hotplug.c | 5 +-
arch/arm/mach-s5pv310/platsmp.c | 125 +---------------
arch/arm/mach-tegra/platsmp.c | 36 +----
arch/arm/mach-ux500/Makefile | 2 +-
arch/arm/mach-ux500/headsmp.S | 38 -----
arch/arm/mach-ux500/hotplug.c | 5 +-
arch/arm/mach-ux500/include/mach/smp.h | 3 -
arch/arm/mach-ux500/platsmp.c | 115 +-------------
arch/arm/mach-vexpress/Makefile | 2 +-
arch/arm/mach-vexpress/headsmp.S | 39 -----
arch/arm/mach-vexpress/platsmp.c | 150 ++-----------------
26 files changed, 318 insertions(+), 749 deletions(-)
create mode 100644 arch/arm/kernel/smp_scu_boot.c
rename arch/arm/{mach-realview/headsmp.S => kernel/smp_scu_head.S} (81%)
create mode 100644 arch/arm/mach-cns3xxx/include/mach/smp.h
create mode 100644 arch/arm/mach-cns3xxx/platsmp.c
delete mode 100644 arch/arm/mach-s5pv310/headsmp.S
delete mode 100644 arch/arm/mach-ux500/headsmp.S
delete mode 100644 arch/arm/mach-vexpress/headsmp.S