netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ravb: add sleep PM suspend/resume support
@ 2016-08-03 13:56 Niklas Söderlund
  2016-08-03 13:56 ` [PATCH 1/2] ravb: use SET_RUNTIME_PM_OPS macro Niklas Söderlund
  2016-08-03 13:56 ` [PATCH 2/2] ravb: add sleep PM suspend/resume support Niklas Söderlund
  0 siblings, 2 replies; 10+ messages in thread
From: Niklas Söderlund @ 2016-08-03 13:56 UTC (permalink / raw)
  To: netdev, linux-renesas-soc, sergei.shtylyov
  Cc: davem, wsa, Niklas Söderlund

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

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

end of thread, other threads:[~2016-08-10 18:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-03 13:56 [PATCH 0/2] ravb: add sleep PM suspend/resume support Niklas Söderlund
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

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