From mboxrd@z Thu Jan 1 00:00:00 1970 From: Khiem Nguyen Date: Fri, 26 Sep 2014 02:39:41 +0000 Subject: [PATCH RFC 0/7] ARM: shmobile: Support L2 shutdown mode in Suspend-to-RAM Message-Id: <5424D1ED.6070309@renesas.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org 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). 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 | 81 ++++++++++++++++++++++++--------- arch/arm/mach-shmobile/pm-rcar.c | 22 +++++++++ arch/arm/mach-shmobile/pm-rcar.h | 1 + 5 files changed, 115 insertions(+), 21 deletions(-) -- 1.7.9.5