[PATCH 5.15 1/1] PM: sleep: Restore asynchronous device resume optimization
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Sun Sep 1 23:00:08 PDT 2024
On Mon, Sep 02, 2024 at 11:10:45AM +0800, Yenchia Chen wrote:
> From: "Rafael J. Wysocki" <rafael.j.wysocki at intel.com>
>
> Before commit 7839d0078e0d ("PM: sleep: Fix possible deadlocks in core
> system-wide PM code"), the resume of devices that were allowed to resume
> asynchronously was scheduled before starting the resume of the other
> devices, so the former did not have to wait for the latter unless
> functional dependencies were present.
>
> Commit 7839d0078e0d removed that optimization in order to address a
> correctness issue, but it can be restored with the help of a new device
> power management flag, so do that now.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki at intel.com>
> Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka at linux.intel.com>
> Signed-off-by: yenchia.chen <yenchia.chen at mediatek.com>
Please sign off using your name, not your email alias.
Also, what git id is this?
thanks,
greg k-h
More information about the Linux-mediatek
mailing list