Re: [PATCH] reboot: Add timeout for device shutdown

From: Greg KH
Date: Wed May 29 2024 - 06:01:16 EST


On Wed, May 29, 2024 at 08:32:24AM +0000, Soumya Khasnis wrote:
> The device shutdown callbacks invoked during shutdown/reboot
> are prone to errors depending on the device state or mishandling
> by one or more driver. In order to prevent a device hang in such
> scenarios, we bail out after a timeout while dumping a meaningful
> call trace of the shutdown callback which blocks the shutdown or
> reboot process.
>
> Change-Id: Ibfc63ca8f8aa45866cbe6b90401d438d95eca742

Any reason you didn't run this through checkpatch.pl first?

:(