Skip to content

RFC ARM: shmobile: Support L2 shutdown mode in Suspend-to-RAM

Khiem Nguyen linux-sh 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest7 patches 0 repliesNew
  2. v1 RFC7 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ARM: shmobile: use common ARMv7 cache disabling codearch/arm/mach-shmobile/platsmp-apmu.c+1 -260 replies
2/7ARM: shmobile: use signals from SYSC to wake up from Suspend-to-RAMarch/arm/mach-shmobile/platsmp-apmu.c+8 -00 replies
3/7ARM: shmobile: Implement L2 shutdown mode for Suspend-to-RAMarch/arm/mach-shmobile/common.h arch/arm/mach-shmobile/headsmp.S arch/arm/mach-shmobile/platsmp-apmu.c+25 -20 replies
4/7ARM: shmobile: Backup and restore L2CTLR in Suspend-to-RAMarch/arm/mach-shmobile/common.h arch/arm/mach-shmobile/headsmp.S arch/arm/mach-shmobile/platsmp-apmu.c+30 -00 replies
5/7ARM: shmobile: Clear External Event Request in system resumearch/arm/mach-shmobile/platsmp-apmu.c arch/arm/mach-shmobile/pm-rcar.c arch/arm/mach-shmobile/pm-rcar.h+25 -00 replies
6/7ARM: shmobile: Do additional settings for L2shutdown modearch/arm/mach-shmobile/platsmp-apmu.c+25 -00 replies
7/7ARM: shmobile: Use separate CPUCMCR addresses for CA15/CA7arch/arm/mach-shmobile/platsmp-apmu.c+14 -50 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH RFC v2 0/7] ARM: shmobile: Support L2 shutdown mode in Suspend-to-RAM

These patches implement L2 shutdown mode in RCar Gen2 SoC and change Suspend-to-RAM from Core Standby mode to L2 shutdown mode. The impact to CPUIdle operation was also put into consideration during implementation.

I have confirmed Suspend-to-RAM in Lager board and Koelsch board. So far, there is no regression detected during my testing. There might be further patches to support Alt board. But it would be after upstream kernel can boot up in Alt board.

I hope to receive some comments for this patch series whether it's right direction or not. Therefore, I marked it with RFC. Any comments are appreciated.

This patch series is written on top of renesas-devel-20140924-v3.17-rc6 and has dependency on CPUIdle patches from Kobayashi-san
(http://www.spinics.net/lists/linux-sh/msg34150.html).

Known issue:
- Build error occurred in case CONFIG_SUSPEND is disable, thanks for report from Geert-san.
This error caused by CPUIdle patches, which are prerequisite of this patch series. I guess Kobayashi-san will fix it in next version of CPUIdle patches.

--
v2
- Use {} for both arms of *if*
- Append lacked code to set cpucmcr_ca15 in patch 0007

--
Khiem Nguyen (7):
ARM: shmobile: use common ARMv7 cache disabling code
ARM: shmobile: use signals from SYSC to wake up from Suspend-to-RAM
ARM: shmobile: Implement L2 shutdown mode for Suspend-to-RAM
ARM: shmobile: Backup and restore L2CTLR in Suspend-to-RAM
ARM: shmobile: Clear External Event Request in system resume
ARM: shmobile: Do additional settings for L2shutdown mode
ARM: shmobile: Use separate CPUCMCR addresses for CA15/CA7

 arch/arm/mach-shmobile/common.h       |    4 ++
 arch/arm/mach-shmobile/headsmp.S      |   28 +++++++++++
 arch/arm/mach-shmobile/platsmp-apmu.c |   82 ++++++++++++++++++++++++---------
 arch/arm/mach-shmobile/pm-rcar.c      |   22 +++++++++
 arch/arm/mach-shmobile/pm-rcar.h      |    1 +
 5 files changed, 116 insertions(+), 21 deletions(-)
Signature · 1 line
1.7.9.5