[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190419121624.GA12209@kroah.com>
Date: Fri, 19 Apr 2019 14:16:24 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: Raul E Rangel <rrangel@...omium.org>
Cc: linux-usb@...r.kernel.org, groeck@...omium.org, oneukum@...e.com,
djkurtz@...omium.org, zwisler@...omium.org,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Alan Stern <stern@...land.harvard.edu>,
Dmitry Torokhov <dtor@...omium.org>,
linux-kernel@...r.kernel.org,
"Gustavo A. R. Silva" <gustavo@...eddedor.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Johan Hovold <johan@...nel.org>,
Mathias Nyman <mathias.nyman@...ux.intel.com>
Subject: Re: [PATCH v3] usb/hcd: Send a uevent signaling that the host
controller had died
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@...omium.org>
I'll wait for a v4 to fix up the bugs 0-day found in this before
reviewing :)
thanks,
greg k-h
Powered by blists - more mailing lists