lkml.org 
[lkml]   [2014]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 0/2] socfpga: fix hotplug/add suspend to ram
On Tue, 14 Oct 2014, atull@opensource.altera.com wrote:

> From: Alan Tull <atull@opensource.altera.com>
>
> Patch 1: socfpga: hotplug: put cpu1 in wfi
> Use WFI when putting CPU1 to sleep. Don't hold CPU1 in reset
> since that results in increased power consumption. Only
> briefly reset CPU1.
>
> Patch 2: socfpga: support suspend to ram
> * allocate space in ocram using sram driver
> * Add a function in ocram to do suspend to ram and
> place DDR in self-refresh
>
> Alan Tull (2):
> socfpga: hotplug: put cpu1 in wfi
> socfpga: support suspend to ram
>
> arch/arm/mach-socfpga/Kconfig | 1 +
> arch/arm/mach-socfpga/Makefile | 1 +
> arch/arm/mach-socfpga/core.h | 7 ++
> arch/arm/mach-socfpga/platsmp.c | 19 ++--
> arch/arm/mach-socfpga/pm.c | 150 ++++++++++++++++++++++++++++++++
> arch/arm/mach-socfpga/self-refresh.S | 157 ++++++++++++++++++++++++++++++++++
> arch/arm/mach-socfpga/socfpga.c | 10 +++
> 7 files changed, 337 insertions(+), 8 deletions(-)
> create mode 100644 arch/arm/mach-socfpga/pm.c
> create mode 100644 arch/arm/mach-socfpga/self-refresh.S
>

I've applied both patches. I just had to fixup a minor checkpatch error with
the 2nd patch:

ERROR: trailing whitespace
#284: FILE: arch/arm/mach-socfpga/self-refresh.S:34:
+^I/*^I$

total: 1 errors, 1 warnings, 354 lines checked

BR,
Dinh


\
 
 \ /
  Last update: 2014-10-15 22:21    [W:0.098 / U:0.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site