Skip to content

sh: sh: SuperH Mobile Sleep Mode Rewrite Part 2/2

Magnus Damm linux-sh 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/9sh: Move ap325rxa board code into separate directoryarch/sh/Makefile arch/sh/boards/Makefile arch/sh/boards/board-ap325rxa.c +1 more+610 -6110 replies
2/9sh: Add ap325rxa specific memory pre/post sleep codearch/sh/boards/mach-ap325rxa/Makefile arch/sh/boards/mach-ap325rxa/sdram.S arch/sh/boards/mach-ap325rxa/setup.c+83 -10 replies
3/9sh: Add Ecovec24 specific memory pre/post sleep codearch/sh/boards/mach-ecovec24/Makefile arch/sh/boards/mach-ecovec24/sdram.S arch/sh/boards/mach-ecovec24/setup.c+67 -10 replies
4/9sh: Rework SuperH Mobile sleep mode codearch/sh/include/asm/suspend.h arch/sh/kernel/asm-offsets.c arch/sh/kernel/cpu/shmobile/pm.c +1 more+171 -1640 replies
5/9sh: Keep track of allowed sleep modesarch/sh/include/asm/suspend.h arch/sh/kernel/cpu/shmobile/cpuidle.c arch/sh/kernel/cpu/shmobile/pm.c+34 -180 replies
6/9sh: Add MMU and Cache handling sleep mode codearch/sh/include/asm/suspend.h arch/sh/kernel/asm-offsets.c arch/sh/kernel/cpu/shmobile/pm.c +1 more+132 -00 replies
7/9sh: Use RSMEM for sleep code on sh7724arch/sh/kernel/cpu/shmobile/pm.c+8 -40 replies
8/9sh: Add R-standby sleep mode supportarch/sh/include/asm/suspend.h arch/sh/kernel/asm-offsets.c arch/sh/kernel/cpu/shmobile/pm.c +1 more+26 -70 replies
9/9sh: Add KFR2R09 specific memory pre/post R-standby codearch/sh/boards/mach-kfr2r09/sdram.S arch/sh/boards/mach-kfr2r09/setup.c+30 -10 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/09] sh: sh: SuperH Mobile Sleep Mode Rewrite Part 2/2

sh: SuperH Mobile Sleep Mode Rewrite Part 2/2

[PATCH 01/09] sh: Move ap325rxa board code into separate directory [PATCH 02/09] sh: Add ap325rxa specific memory pre/post sleep code [PATCH 03/09] sh: Add Ecovec24 specific memory pre/post sleep code [PATCH 04/09] sh: Rework SuperH Mobile sleep mode code [PATCH 05/09] sh: Keep track of allowed sleep modes
[PATCH 06/09] sh: Add MMU and Cache handling sleep mode code [PATCH 07/09] sh: Use RSMEM for sleep code on sh7724 [PATCH 08/09] sh: Add R-standby sleep mode support
[PATCH 09/09] sh: Add KFR2R09 specific memory pre/post R-standby code

These patches implement the second part of the sleep mode rewrite for SuperH Mobile. This part includes the latest R-standby support.

This and the previous patch set have been tested with CONFIG_SUSPEND on Migo-R, AP325RXA, MS7724SE, KFR2R09 and Ecovec24.

---

 arch/sh/Makefile                      |    1 
 arch/sh/boards/Makefile               |    1 
 arch/sh/boards/board-ap325rxa.c       |  610 --------------------------------
 arch/sh/boards/mach-ap325rxa/Makefile |    4 
 arch/sh/boards/mach-ap325rxa/sdram.S  |   69 +++
 arch/sh/boards/mach-ap325rxa/setup.c  |  623 +++++++++++++++++++++++++++++++++
 arch/sh/boards/mach-ecovec24/Makefile |    1 
 arch/sh/boards/mach-ecovec24/sdram.S  |   52 ++
 arch/sh/boards/mach-ecovec24/setup.c  |   14 
 arch/sh/boards/mach-kfr2r09/sdram.S   |   28 +
 arch/sh/boards/mach-kfr2r09/setup.c   |    3 
 arch/sh/include/asm/suspend.h         |   50 ++
 arch/sh/kernel/asm-offsets.c          |   23 +
 arch/sh/kernel/cpu/shmobile/cpuidle.c |   42 +-
 arch/sh/kernel/cpu/shmobile/pm.c      |  101 ++++-
 arch/sh/kernel/cpu/shmobile/sleep.S   |  348 ++++++++++--------
 16 files changed, 1163 insertions(+), 807 deletions(-)