lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160803135647.23242-1-niklas.soderlund+renesas@ragnatech.se>
Date:	Wed,  3 Aug 2016 15:56:45 +0200
From:	Niklas Söderlund 
	<niklas.soderlund+renesas@...natech.se>
To:	netdev@...r.kernel.org, linux-renesas-soc@...r.kernel.org,
	sergei.shtylyov@...entembedded.com
Cc:	davem@...emloft.net, wsa@...-dreams.de,
	Niklas Söderlund 
	<niklas.soderlund+renesas@...natech.se>
Subject: [PATCH 0/2] ravb: add sleep PM suspend/resume support

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ