From: Simon Horman <horms@verge.net.au>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
Magnus Damm <magnus.damm@gmail.com>,
Linux-sh list <linux-sh@vger.kernel.org>,
Kevin Hilman <khilman@linaro.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: smsc911x_suspend crash (was: Re: [PATCH] ARM: shmobile: r8a7778: Add missing call to shmobile_in
Date: Thu, 14 Aug 2014 21:17:13 +0000 [thread overview]
Message-ID: <20140814211712.GC2029@verge.net.au> (raw)
In-Reply-To: <CAMuHMdV7u-9DQ=TGBYSh2GvQgzQE3EAabXoEGU=3N4XyZ_Dx6w@mail.gmail.com>
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@verge.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@debian:~# 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.
WARNING: multiple messages have this Message-ID (diff)
From: Simon Horman <horms@verge.net.au>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>,
Magnus Damm <magnus.damm@gmail.com>,
Linux-sh list <linux-sh@vger.kernel.org>,
Kevin Hilman <khilman@linaro.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: smsc911x_suspend crash (was: Re: [PATCH] ARM: shmobile: r8a7778: Add missing call to shmobile_init_late())
Date: Fri, 15 Aug 2014 06:17:13 +0900 [thread overview]
Message-ID: <20140814211712.GC2029@verge.net.au> (raw)
In-Reply-To: <CAMuHMdV7u-9DQ=TGBYSh2GvQgzQE3EAabXoEGU=3N4XyZ_Dx6w@mail.gmail.com>
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@verge.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@debian:~# 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.
next prev parent reply other threads:[~2014-08-14 21:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-14 8:52 smsc911x_suspend crash (was: Re: [PATCH] ARM: shmobile: r8a7778: Add missing call to shmobile_init_l Geert Uytterhoeven
2014-08-14 8:52 ` smsc911x_suspend crash (was: Re: [PATCH] ARM: shmobile: r8a7778: Add missing call to shmobile_init_late()) Geert Uytterhoeven
2014-08-14 17:01 ` smsc911x_suspend crash (was: Re: [PATCH] ARM: shmobile: r8a7778: Add missing call to shmobile_in Florian Fainelli
2014-08-14 17:01 ` smsc911x_suspend crash (was: Re: [PATCH] ARM: shmobile: r8a7778: Add missing call to shmobile_init_late()) Florian Fainelli
2014-08-14 21:18 ` smsc911x_suspend crash (was: Re: [PATCH] ARM: shmobile: r8a7778: Add missing call to shmobile_in Simon Horman
2014-08-14 21:18 ` smsc911x_suspend crash (was: Re: [PATCH] ARM: shmobile: r8a7778: Add missing call to shmobile_init_late()) Simon Horman
2014-08-15 8:33 ` smsc911x_suspend crash (was: Re: [PATCH] ARM: shmobile: r8a7778: Add missing call to shmobile_in Geert Uytterhoeven
2014-08-15 8:33 ` smsc911x_suspend crash (was: Re: [PATCH] ARM: shmobile: r8a7778: Add missing call to shmobile_init_late()) Geert Uytterhoeven
2014-08-14 21:17 ` Simon Horman [this message]
2014-08-14 21:17 ` Simon Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140814211712.GC2029@verge.net.au \
--to=horms@verge.net.au \
--cc=geert+renesas@glider.be \
--cc=geert@linux-m68k.org \
--cc=khilman@linaro.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=linux-sh@vger.kernel.org \
--cc=magnus.damm@gmail.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.