Re: [PATCH v3] usb/hcd: Send a uevent signaling that the host controller had died
From: Greg Kroah-Hartman
Date: Fri Apr 19 2019 - 14:33:16 EST
On Wed, Apr 17, 2019 at 01:03:16PM -0600, Raul E Rangel wrote:
> This change will send an OFFLINE event to udev with the ERROR=DEAD
> environment variable set when the HC dies.
>
> By notifying user space the appropriate policies can be applied.
> i.e.,
> * Collect error logs.
> * Notify the user that USB is no longer functional.
> * Perform a graceful reboot.
>
> Signed-off-by: Raul E Rangel <rrangel@xxxxxxxxxxxx>
I'll wait for a v4 to fix up the bugs 0-day found in this before
reviewing :)
thanks,
greg k-h