[PATCH 0/2] ravb: add sleep PM suspend/resume support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux