ARM: shmobile: Suspend on non-SMP for r8a7790/r8a7791
v2 cover 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(-)
Quoted 13 lines · Magnus Damm
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
__initfor APMU suspend init function [PATCH v2 04/07] ARM: shmobile: Move r8a7790 reset code topm-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 topm-r8a7791.c[PATCH v2 07/07] ARM: shmobile: Allow r8a7791 to build non-SMP APMU codeThese 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.
Quoted 7 lines
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_SMPsetting the user decides.Signed-off-by Magnus Damm <[email protected]>
Hi Magnus,
could you let me know what the status of this series is?
Quoted 22 lines
---
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 seriesarch/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(-)--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Magnus
I tested these patches. Test result is below:
[Test environment]
-lager / koelsch
-tag:renesas-devel-v3.15-rc8-20140605v3
[Test command]
Suspend to RAM command
#echo enabled > /sys/class/tty/ttySC6/power/wakeup #echo mem > /sys/power/state
[Test results]
-lager(SMP) :OK
-lager(non-SMP) :OK
-koelsch(SMP) :OK
-koelsch(non-SMP) :OK
Quoted 37 lines · Magnus Damm
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
__initfor APMU suspend init function [PATCH v2 04/07] ARM: shmobile: Move r8a7790 reset code topm-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 topm-r8a7791.c[PATCH v2 07/07] ARM: shmobile: Allow r8a7791 to build non-SMP APMU codeThese 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_SMPsetting the user decides.Signed-off-by Magnus Damm <[email protected]>---
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 seriesarch/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(-)