From: "Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
To: netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
sergei.shtylyov@cogentembedded.com
Cc: davem@davemloft.net, wsa@the-dreams.de,
"Niklas Söderlund" <niklas.soderlund+renesas@ragnatech.se>
Subject: [PATCH 0/2] ravb: add sleep PM suspend/resume support
Date: Wed, 3 Aug 2016 15:56:45 +0200 [thread overview]
Message-ID: <20160803135647.23242-1-niklas.soderlund+renesas@ragnatech.se> (raw)
Hi,
This series adds sleep PM suspend/resume support to the ravb driver. It
is based on v4.7 and tested on Salvator-X.
I used NFS root filesystem and was able to suspend/resume and keep the
system working. I also tested suspend/resume with a initramfs when the
interface was down (ifconfig eth0 down) and it was no problems starting
after suspend/resume cycle. Note that there is a known issue on
Salvator-X where the system will wake up immediately after it have been
suspended so the system is not suspended for long.
I was not able to test suspend/resume on a Gen2 board due to lack of
daugterboard, so if anyone could do that it would be great. Sergei have
promised to try and find the time to test it in his 'copious free time'
:-) The test procedure is quiet simple:
1. Apply patches
2. Boot and verify network is working
3. Suspend system 'echo mem > /sys/power/state'
4. Wake up system
5. Verify network is still working
Niklas Söderlund (2):
ravb: use SET_RUNTIME_PM_OPS macro
ravb: add sleep PM suspend/resume support
drivers/net/ethernet/renesas/ravb_main.c | 75 +++++++++++++++++++++++++++-----
1 file changed, 65 insertions(+), 10 deletions(-)
--
2.9.0
next reply other threads:[~2016-08-03 14:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-03 13:56 Niklas Söderlund [this message]
2016-08-03 13:56 ` [PATCH 1/2] ravb: use SET_RUNTIME_PM_OPS macro Niklas Söderlund
2016-08-04 13:33 ` Geert Uytterhoeven
2016-08-04 15:28 ` Niklas Söderlund
2016-08-03 13:56 ` [PATCH 2/2] ravb: add sleep PM suspend/resume support Niklas Söderlund
2016-08-09 23:16 ` David Miller
2016-08-10 10:47 ` Sergei Shtylyov
2016-08-10 17:43 ` David Miller
2016-08-10 10:40 ` Sergei Shtylyov
2016-08-10 10:58 ` Niklas Söderlund
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=20160803135647.23242-1-niklas.soderlund+renesas@ragnatech.se \
--to=niklas.soderlund+renesas@ragnatech.se \
--cc=davem@davemloft.net \
--cc=linux-renesas-soc@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sergei.shtylyov@cogentembedded.com \
--cc=wsa@the-dreams.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).