[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4641414.31r3eYUQgx@kreacher>
Date: Fri, 19 Mar 2021 15:42:58 +0100
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Linux PM <linux-pm@...r.kernel.org>,
"elaine.zhang" <zhangqing@...k-chips.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Ulf Hansson <ulf.hansson@...aro.org>
Subject: [PATCH v2 0/2] PM: runtime: Update device status before letting suppliers suspend (another take)
On Thursday, March 18, 2021 7:06:54 PM CET Rafael J. Wysocki wrote:
> Hi All,
>
> The previous attempt to address the issue tackled by this series, commit
> 44cc89f76464 ("PM: runtime: Update device status before letting suppliers
> suspend") was incorrect, because it introduced a rather nasty race condition
> into __rpm_callback(), so let's revert it (patch [1/2]).
>
> Instead, let's avoid suspending the suppliers immediately after dropping the
> PM-runtime references to them and do that later, when the status of the
> consumer has changed to RPM_SUSPENDED.
>
> Please see the patch changelogs for details.
>
> Elaine, please test this series on the system where you saw the original
> problem.
The above still applies.
The v2 is sent because of some updates in the second patch, plus the tags from Ulf.
Thanks!
Powered by blists - more mailing lists