Skip to content

ARM: shmobile: Suspend on non-SMP for r8a7790/r8a7791

Magnus Damm linux-sh 2 versions – In review

Get series with b4
b4 am 20140606071749.14853.90558.sendpatchset@w520

Versions newest first · linked by author and title

  1. v2 Latest7 patches 5 repliesIn review
  2. v18 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Dropped V1 patch 6, 7, 8 - needs more discussions how to tie in UP case
- Moved V1 patch 5 to V2 patch 3
- Added r8a7791 code at end of series

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ARM: shmobile: Allow use of boot code for non-SMP casearch/arm/mach-shmobile/Makefile arch/arm/mach-shmobile/headsmp.S+15 -93 replies
2/7ARM: shmobile: Adjust APMU code to build for non-SMParch/arm/mach-shmobile/platsmp-apmu.c+7 -40 replies
3/7ARM: shmobile: Use __init for APMU suspend init functionarch/arm/mach-shmobile/platsmp-apmu.c+1 -10 replies
4/7ARM: shmobile: Move r8a7790 reset code to pm-r8a7790.carch/arm/mach-shmobile/pm-r8a7790.c arch/arm/mach-shmobile/smp-r8a7790.c+38 -320 replies
5/7ARM: shmobile: Allow r8a7790 to build non-SMP APMU codearch/arm/mach-shmobile/Makefile arch/arm/mach-shmobile/pm-r8a7790.c arch/arm/mach-shmobile/smp-r8a7790.c+4 -30 replies
6/7ARM: shmobile: Move r8a7791 reset code to pm-r8a7791.carch/arm/mach-shmobile/pm-r8a7791.c arch/arm/mach-shmobile/smp-r8a7791.c+26 -260 replies
7/7ARM: shmobile: Allow r8a7791 to build non-SMP APMU codearch/arm/mach-shmobile/Makefile arch/arm/mach-shmobile/pm-r8a7791.c arch/arm/mach-shmobile/smp-r8a7791.c+4 -30 replies

Reviews trailers per patch

None of the 7 patches has a Reviewed-by or Acked-by.

PatchKeita Kobayashi
SeriesT-b
1/7
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 00/07] ARM: shmobile: Suspend on non-SMP for r8a7790/r8a7791

ARM: shmobile: Suspend on non-SMP for r8a7790/r8a7791 (V2)

[PATCH v2 01/07] ARM: shmobile: Allow use of boot code for non-SMP case [PATCH v2 02/07] ARM: shmobile: Adjust APMU code to build for non-SMP [PATCH v2 03/07] ARM: shmobile: Use __init for APMU suspend init function [PATCH v2 04/07] ARM: shmobile: Move r8a7790 reset code to pm-r8a7790.c [PATCH v2 05/07] ARM: shmobile: Allow r8a7790 to build non-SMP APMU code [PATCH v2 06/07] ARM: shmobile: Move r8a7791 reset code to pm-r8a7791.c [PATCH v2 07/07] ARM: shmobile: Allow r8a7791 to build non-SMP APMU code

These patches update mach-shmobile and r8a7790/r8a7791 to allow build of early boot code and APMU power management code in case of CONFIG_SMP=n.

The reason for this change is to allow use of Suspend-to-RAM for recent SoCs like R-Car Gen2 with simplified kernel configuration such as when SMP is disabled. Power management code like CPUFreq, CPUIdle and Suspend-to-RAM should work regardless of what kind of CONFIG_SMP setting the user decides.

---

Written on top of renesas-devel-v3.15-rc8-20140605v3

Changes since V1:
- Dropped V1 patch 6, 7, 8 - needs more discussions how to tie in UP case
- Moved V1 patch 5 to V2 patch 3
- Added r8a7791 code at end of series

 arch/arm/mach-shmobile/Makefile       |   21 ++++++++++------
 arch/arm/mach-shmobile/headsmp.S      |   13 ++++++----
 arch/arm/mach-shmobile/platsmp-apmu.c |   13 ++++++----
 arch/arm/mach-shmobile/pm-r8a7790.c   |   41 +++++++++++++++++++++++++++++++--
 arch/arm/mach-shmobile/pm-r8a7791.c   |   29 +++++++++++++++++++++--
 arch/arm/mach-shmobile/smp-r8a7790.c  |   31 ------------------------
 arch/arm/mach-shmobile/smp-r8a7791.c  |   25 --------------------
 7 files changed, 95 insertions(+), 78 deletions(-)