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  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 May 2020 14:52:33 +0300
From:   Andy Shevchenko <>
To:     Dinghao Liu <>
Cc:     Kangjie Lu <>, Laxman Dewangan <>,
        Mark Brown <>,
        Thierry Reding <>,
        Jonathan Hunter <>,
        linux-spi <>,,
        Linux Kernel Mailing List <>
Subject: Re: Re: Re: [PATCH] spi: tegra20-slink: Fix runtime PM imbalance on error

On Sat, May 23, 2020 at 2:32 PM <> wrote:
> > On Fri, May 22, 2020 at 6:20 PM Andy Shevchenko
> > <> wrote:
> > > On Fri, May 22, 2020 at 10:46 AM <> wrote:


> I also checked many other implementation of probe in drivers.
> It seems that using pm_runtime_put() is ok.

In *error path* or normal path?

> If I misunderstood
> your opinion, please point it out, thanks.

Bottom line is (for the *error path* case):
pm_runtime_put_noidle() has no side effects
pm_runtime_put() (potentially) might have side effects.

You should choose one which is clearer about what it does.

With Best Regards,
Andy Shevchenko

Powered by blists - more mailing lists