Skip to content

ARM: SMP initialization consolidation

Rob Herring linux-arm-kernel linux-arm-msm linux-sh 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 10 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 10 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/10] ARM: SMP initialization consolidation
Quoted 52 lines · Rob Herring

From: Rob Herring<[email protected]>

In order to avoid duplicating the same platform code yet again for a new platform, this series consolidates platforms using similar SMP startup code to a common implementation. A new kconfig entry SMP_COMMON_PEN is added for platforms using the common pen functions.

OMAP uses a h/w mechansism for its pen, but it seems like it could use the same mechansism.

Rob
Rob Herring (10):
ARM: move Versatile SMP pen code to common location
ARM: ux500: convert to use common secondary pen code
ARM: msm: use common secondary pen code
ARM: add common scu_init_cpus
ARM: omap: use common scu_init_cpus
ARM: realview: use common scu_init_cpus
ARM: vexpress: use common scu_init_cpus
ARM: ux500: use common scu_init_cpus
ARM: shmobile: use common scu_init_cpus
ARM: move set_cpu_present calls to common smp code

  arch/arm/Kconfig                             |    8 ++
  arch/arm/include/asm/smp.h                   |    4 +
  arch/arm/include/asm/smp_scu.h               |    1 +
  arch/arm/kernel/Makefile                     |    3 +-
  arch/arm/kernel/headsmp.S                    |   40 ++++++++++
  arch/arm/kernel/smp.c                        |    4 +
  arch/arm/kernel/smp_pen.c                    |  104 +++++++++++++++++++++++++
  arch/arm/kernel/smp_scu.c                    |   19 +++++
  arch/arm/mach-msm/Makefile                   |    2 +-
  arch/arm/mach-msm/headsmp.S                  |   40 ----------
  arch/arm/mach-msm/platsmp.c                  |   84 +-------------------
  arch/arm/mach-omap2/omap-smp.c               |   25 +------
  arch/arm/mach-realview/include/mach/smp.h    |    3 +
  arch/arm/mach-realview/platsmp.c             |   30 +-------
  arch/arm/mach-shmobile/include/mach/common.h |    2 +-
  arch/arm/mach-shmobile/platsmp.c             |   20 +-----
  arch/arm/mach-shmobile/smp-sh73a0.c          |    6 +-
  arch/arm/mach-ux500/Kconfig                  |    1 +
  arch/arm/mach-ux500/Makefile                 |    2 +-
  arch/arm/mach-ux500/headsmp.S                |   37 ---------
  arch/arm/mach-ux500/include/mach/smp.h       |    4 +-
  arch/arm/mach-ux500/platsmp.c                |  105 +-------------------------
  arch/arm/mach-vexpress/ct-ca9x4.c            |    9 +--
  arch/arm/mach-vexpress/include/mach/smp.h    |    3 +
  arch/arm/mach-vexpress/platsmp.c             |    9 +--
  arch/arm/plat-versatile/Makefile             |    1 -
  arch/arm/plat-versatile/headsmp.S            |   40 ----------
  arch/arm/plat-versatile/platsmp.c            |  104 -------------------------
  28 files changed, 210 insertions(+), 500 deletions(-)
Quoted 7 lines

create mode 100644 arch/arm/kernel/headsmp.S create mode 100644 arch/arm/kernel/smp_pen.c delete mode 100644 arch/arm/mach-msm/headsmp.S delete mode 100644 arch/arm/mach-ux500/headsmp.S delete mode 100644 arch/arm/plat-versatile/headsmp.S delete mode 100644 arch/arm/plat-versatile/platsmp.c

Comments?

I only have a Versatile Express to test on, so any Tested-by's would be appreciated.

Rob