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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8961845.QtBW1c5NsD@linux-5eaq.site>
Date:	Mon, 10 Jun 2013 10:39:01 +0200
From:	Oliver Neukum <oneukum@...e.de>
To:	"Morales, Alejandra" <alejandra.morales@....de>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: Questions about Runtime Power Management

On Sunday 09 June 2013 16:28:21 Morales, Alejandra wrote:

> I did a test with an external USB hard drive, checking the runtime power state before and after issuing a sleep command with hdparm -Y. The drive effectively spinned down, but the runtime power state didn't change from active to suspended.

Hard disks, as opposed to USB storage devices, don't do kernel based runtime PM.
If you give a drive commands by hdparm, implementation is the job of the disk and
nothing else in the system learns about it.

> - Do scsi device drivers implement the runtime_status updates when drives effectively change their state?
> - Is runtime power management supported by net devices?
> 
> Any answer would be really appreciated. Thanks in advance.

You are approaching this from the wrong side. "net device" is the function of
a device. It is effectively impossible to even define what runtime PM would mean
in that case. You need to approach the question from the side of implementation.
Is your device USB, PCI, SCSI, FibreChannel, ... ?

As far as SCSI is concerned, yes SCSI devices can do runtime PM (in principle)
The most mature implementation is USB.

You need to furthermore realise that there are forms of runtime PM independent
of the generic kernel based runtime PM (hdparm, USB LPM, ...)

	HTH
		Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ