[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140814211712.GC2029@verge.net.au>
Date: Fri, 15 Aug 2014 06:17:13 +0900
From: Simon Horman <horms@...ge.net.au>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Geert Uytterhoeven <geert+renesas@...der.be>,
Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>,
Magnus Damm <magnus.damm@...il.com>,
Linux-sh list <linux-sh@...r.kernel.org>,
Kevin Hilman <khilman@...aro.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: smsc911x_suspend crash (was: Re: [PATCH] ARM: shmobile: r8a7778:
Add missing call to shmobile_init_late())
On Thu, Aug 14, 2014 at 10:52:30AM +0200, Geert Uytterhoeven wrote:
> Hi Simon,
>
> (taking this to netdev for the crash in smsc911x_suspend())
>
> On Thu, Aug 14, 2014 at 8:16 AM, Simon Horman <horms@...ge.net.au> wrote:
> > while this may be part of the puzzle my light testing shows
> > that suspend-to-ram does not appear to work with this patch applied.
>
> Thanks for testing!
>
> > My procedure is as followw.
> >
> > 1. Apply this patch on top of renesas-devel-v3.16-20140811
> > 2. make bockw_defconfig
> > 3. Select CONFIG_SUSPEND
> > 4. Update r8a7778-bockw.dts to include no_console_suspend in bootargs
>
> Alternative:
>
> echo 0 > /sys/module/printk/parameters/console_suspend
Thanks, I didn't know that.
> > 4. Boot and then:
> >
> > i. echo enabled > /sys/devices/platform/sh-sci.0/tty/ttySC0/power/wakeup
> > ii. echo mem > /sys/power/wakeup_count
>
> Uh?
>
> echo mem > /sys/power/state
>
> > root@...ian:~# echo mem > /sys/power/wakeup_count
> > -bash: echo: write error: Invalid argument
>
> I guess there's an "echo mem > /sys/power/state" here?
Yes, sorry about that noise. I had some stray commands in my test-run
and edited out the correct one.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists