Skip to content

ARM: shmobile: SMP Cortex-A9 SCU rework

Magnus Damm linux-arm-kernel linux-sh 1 version New

Get series with b4
b4 am 20130213134628.12153.47120.sendpatchset@w520

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ARM: shmobile: Kill off sh73a0 scu_base_addr() functionarch/arm/mach-shmobile/smp-sh73a0.c+10 -101 reply
1/6ARM: shmobile: Kill off sh73a0 scu_base_addr() function+0 -00 replies
2/6ARM: shmobile: Kill off r8a7779 scu_base_addr() functionarch/arm/mach-shmobile/smp-r8a7779.c+8 -90 replies
3/6ARM: shmobile: Rework EMEV2 scu_base variablearch/arm/mach-shmobile/smp-emev2.c+8 -70 replies
4/6ARM: shmobile: Move headsmp-sh73a0.S to headsmp-scu.Sarch/arm/mach-shmobile/Makefile arch/arm/mach-shmobile/headsmp-scu.S arch/arm/mach-shmobile/headsmp-sh73a0.S +2 more+54 -540 replies
5/6ARM: shmobile: Common shmobile_scu_base in headsmp-scu.Sarch/arm/mach-shmobile/Makefile arch/arm/mach-shmobile/headsmp-scu.S arch/arm/mach-shmobile/include/mach/common.h +3 more+10 -91 reply
5/6ARM: shmobile: Common shmobile_scu_base in headsmp-scu.S+0 -01 reply
6/6ARM: shmobile: Update EMEV2 to use scu_power_mode()arch/arm/mach-shmobile/smp-emev2.c+8 -340 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/06] ARM: shmobile: SMP Cortex-A9 SCU rework

ARM: shmobile: SMP Cortex-A9 SCU rework

[PATCH 01/06] ARM: shmobile: Kill off sh73a0 scu_base_addr() function [PATCH 02/06] ARM: shmobile: Kill off r8a7779 scu_base_addr() function [PATCH 03/06] ARM: shmobile: Rework EMEV2 scu_base variable [PATCH 04/06] ARM: shmobile: Move headsmp-sh73a0.S to headsmp-scu.S [PATCH 05/06] ARM: shmobile: Common shmobile_scu_base in headsmp-scu.S [PATCH 06/06] ARM: shmobile: Update EMEV2 to use scu_power_mode()

Rework the EMEV2 SMP code to make use of common scu_power_mode() code together with a shared shmobile_scu_base and early SCU setup code in headsmp-scu.S.

The patches are known to build for sh73a0, r8a7779 and EMEV2.

Note that the code has only been tested on the KZM9D/EMEV2 board, and because of that changes to other boards have been kept at a minimum. Next target after this is to update the r8a7779 SMP/SCU code to make use of scu_base_addr(), but that requires hardware access for testing.

---

No known dependencies apart from previous SMP cleanup series "[PATCH 00/06] ARM: shmobile: Trivial SMP cleanups" Written against -next in renesas.git.

 arch/arm/mach-shmobile/Makefile              |    6 +-
 arch/arm/mach-shmobile/headsmp-scu.S         |   58 +++++++++++++++++++++++++
 arch/arm/mach-shmobile/headsmp-sh73a0.S      |   50 ----------------------
 arch/arm/mach-shmobile/include/mach/common.h |    3 -
 arch/arm/mach-shmobile/smp-emev2.c           |   59 +++++++-------------------
 arch/arm/mach-shmobile/smp-r8a7779.c         |   19 +++-----
 arch/arm/mach-shmobile/smp-sh73a0.c          |   26 +++++------
 7 files changed, 98 insertions(+), 123 deletions(-)