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]
Date:   Tue, 24 Oct 2017 10:34:49 +0200
From:   Waldemar Rymarkiewicz <waldemar.rymarkiewicz@...il.com>
To:     linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: How to power gate a specific single device from outside?

Hi

I am looking for a convenient way to power gate specific single device
when the platform is running in backup mode - the platform lost main
power supply and it's on backup buttery now. The intention is to save
max power in backup mode and switch off all unnecessary blocks.

I could not find anything standard that let me power gate single
device from userland. Perhaps it's considered as a too risky operation
to expose to the user. I don't want to touch drivers too much as well
not to make them dependant on extra system feature. Better to have a
separate module that handles this system mode and forces some drivers
to unload/power gate their HW.

Are there already some proven solutions/ideas around the kernel that
can be used straight away?

Suggestions appreciated.

/Waldek

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ