[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPBYUsA1oARNuGus5uzxZ7Co+gJrm2V_axCPsyZHhp85cndaAg@mail.gmail.com>
Date: Fri, 2 Sep 2022 17:28:24 +0800
From: Ray Chi <raychi@...gle.com>
To: Greg KH <gregkh@...uxfoundation.org>
Cc: mathias.nyman@...ux.intel.com,
Alan Stern <stern@...land.harvard.edu>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Albert Wang <albertccwang@...gle.com>,
Badhri Jagan Sridharan <badhri@...gle.com>,
Puma Hsu <pumahsu@...gle.com>
Subject: Re: [PATCH] usb: core: stop USB enumeration if too many retries
On Tue, Aug 30, 2022 at 8:44 PM Greg KH <gregkh@...uxfoundation.org> wrote:
>
> On Fri, Aug 26, 2022 at 03:58:39PM +0800, Ray Chi wrote:
> > If a broken accessory connected to a USB host, usbcore might
> > keep doing enumeration retries and it will take a long time to
> > cause system unstable.
> >
> > This patch provides a quirk to specific USB ports of the hub to
> > stop USB enumeration if needed.
>
> Where does it ever allow the port to handle new devices in the future if
> the device is removed and then a new one is added back? Or is the port
> just now dead for forever?
>
I modified the patch according to Alan's suggestion, so the port will
be working again
after clearing the quirk with the v2 patch.
> thanks,
>
> greg k-h
Thanks,
Ray
Powered by blists - more mailing lists