All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/07] ARM: shmobile: Suspend on non-SMP for r8a7790/r8a7791
@ 2014-06-06  7:17 Magnus Damm
  2014-06-10  7:27 ` Simon Horman
  2014-06-11  4:57 ` keita kobayashi
  0 siblings, 2 replies; 3+ messages in thread
From: Magnus Damm @ 2014-06-06  7:17 UTC (permalink / raw)
  To: linux-sh

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.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 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(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2 00/07] ARM: shmobile: Suspend on non-SMP for r8a7790/r8a7791
  2014-06-06  7:17 [PATCH v2 00/07] ARM: shmobile: Suspend on non-SMP for r8a7790/r8a7791 Magnus Damm
@ 2014-06-10  7:27 ` Simon Horman
  2014-06-11  4:57 ` keita kobayashi
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2014-06-10  7:27 UTC (permalink / raw)
  To: linux-sh

On Fri, Jun 06, 2014 at 04:17:49PM +0900, Magnus Damm wrote:
> 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.
> 
> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>

Hi Magnus,

could you let me know what the status of this series is?

> ---
> 
>  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(-)
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2 00/07] ARM: shmobile: Suspend on non-SMP for r8a7790/r8a7791
  2014-06-06  7:17 [PATCH v2 00/07] ARM: shmobile: Suspend on non-SMP for r8a7790/r8a7791 Magnus Damm
  2014-06-10  7:27 ` Simon Horman
@ 2014-06-11  4:57 ` keita kobayashi
  1 sibling, 0 replies; 3+ messages in thread
From: keita kobayashi @ 2014-06-11  4:57 UTC (permalink / raw)
  To: linux-sh

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

Tested-by: Keita Kobayashi <keita.kobayashi.ym@renesas.com>

(2014/06/06 16:17), Magnus Damm wrote:

> 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.
> 
> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
> ---
> 
>  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(-)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-11  4:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-06  7:17 [PATCH v2 00/07] ARM: shmobile: Suspend on non-SMP for r8a7790/r8a7791 Magnus Damm
2014-06-10  7:27 ` Simon Horman
2014-06-11  4:57 ` keita kobayashi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.