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] [day] [month] [year] [list]
Date:	Thu, 5 Jul 2012 21:46:55 +0200
From:	"Rafael J. Wysocki" <rjw@...k.pl>
To:	Linux PM list <linux-pm@...r.kernel.org>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Magnus Damm <magnus.damm@...il.com>,
	Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH 0/2] PM / Domains: Allow drivers to attach PM domain callbacks to devices at any time

On Tuesday, July 03, 2012, Rafael J. Wysocki wrote:
> Hi,
> 
> This is a follow-up of the discussion I had with Arnd and Magnus during
> the LCJ last month.
> 
> Namely, one of the limitations of the current generic PM domains code is that
> pm_genpd_add_callbacks() has to be executed after the device in question has
> been added to a PM domain.  This means that, if a driver wants to run this
> routine from its .probe() callback, it cannot be registered before adding
> the device to the PM domain, which potentially may be a problem when device
> trees get involved into the system initialization.
> 
> For this reason, it is desirable to allow pm_genpd_add_callbacks() to be called
> for devices that haven't been added to any generic PM domains yet and the
> following patches attempt to make that happen.
> 
> [1/2] Add reference counter for objects used to store PM domains data related
>       to devices.
> [2/2] Make it possible to call pm_genpd_add_callbacks() before the device is
>       added to a PM domain.

Well, I'm taking the lack of comments as the lack of objections. :-)

Thanks,
Rafael
--
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