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  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]
Date:   Sat, 23 Dec 2017 02:50:12 +0100
From:   "Rafael J. Wysocki" <>
To:     "Rafael J. Wysocki" <>
Cc:     Ulf Hansson <>,
        Kishon Vijay Abraham I <>,
        Linux Kernel Mailing List <>,
        "Rafael J . Wysocki" <>,
        Linux PM <>,
        Yoshihiro Shimoda <>,
        Geert Uytterhoeven <>,
        Linux-Renesas <>
Subject: Re: [PATCH v2 1/3] phy: core: Move runtime PM reference counting to
 the parent device

On Sat, Dec 23, 2017 at 2:35 AM, Rafael J. Wysocki <> wrote:
> On Thu, Dec 21, 2017 at 11:50 AM, Ulf Hansson <> wrote:
>> On 21 December 2017 at 02:39, Rafael J. Wysocki <> wrote:
>>> On Wed, Dec 20, 2017 at 3:09 PM, Ulf Hansson <> wrote:
>>>> The runtime PM deployment in the phy core is deployed using the phy core
>>>> device, which is created by the phy core and assigned as a child device of
>>>> the phy provider device.


>> Also, I have considered how to deal with wakeup paths for phys,
>> although I didn't want to post changes as a part of this series, but
>> maybe I should to give a more complete picture?
> Yes, you should.
> The point is that without genpd using pm_runtime_force_suspend() the
> phy code could very well stay the way it is.  And it is logical,
> because having a parent with enabled runtime PM without enabling
> runtime PM for its children is at least conceptually questionable.

Actually, I sort of agree that the phy's usage of runtime PM is too
convoluted.  For example, it uses pm_runtime_enabled() unnecessarily
at least in some places, but that doesn't seem to be fixed by your


Powered by blists - more mailing lists