Re: [PATCH] driver core: fix async device shutdown hang

From: Greg Kroah-Hartman
Date: Thu Sep 19 2024 - 05:02:37 EST


On Wed, Sep 18, 2024 at 11:31:43PM -0500, Stuart Hayes wrote:
> Modify device_shutdown() so that supplier devices do not wait for
> consumer devices to be shut down first when the devlink is sync state
> only, since the consumer is not dependent on the supplier in this case.
>
> Without this change, a circular dependency could hang the system.
>
> Fixes: 8064952c6504 ("driver core: shut down devices asynchronously")
>
> Signed-off-by: Stuart Hayes <stuart.w.hayes@xxxxxxxxx>

Nit, no blank line between Fixes: and signed-off-by is needed.

> ---
> The patch this fixes is in driver-core-next and linux-next.
>
> Please let me know if this needs to be a V2 or if it needs anything
> else... it is the identical patch I sent in yesterday, except I added
> a "Fixes:" tag and the comments. Thank you for the help!

In theory, yes, this is a v2 as something did change, but I can take
this as-is for now, thanks.

greg k-h