From: Greg KH <gregkh@linuxfoundation.org>
To: Ray Chi <raychi@google.com>
Cc: mathias.nyman@linux.intel.com, stern@rowland.harvard.edu,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
albertccwang@google.com, badhri@google.com, pumahsu@google.com
Subject: Re: [PATCH] usb: core: stop USB enumeration if too many retries
Date: Tue, 30 Aug 2022 14:44:15 +0200 [thread overview]
Message-ID: <Yw4GH4U5ULV3VFSY@kroah.com> (raw)
In-Reply-To: <20220826075839.292615-1-raychi@google.com>
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?
thanks,
greg k-h
next prev parent reply other threads:[~2022-08-30 12:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-26 7:58 [PATCH] usb: core: stop USB enumeration if too many retries Ray Chi
2022-08-26 14:55 ` Alan Stern
2022-08-26 17:53 ` Ray Chi
2022-08-26 19:02 ` Alan Stern
2022-08-30 12:44 ` Greg KH [this message]
2022-09-02 9:28 ` Ray Chi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Yw4GH4U5ULV3VFSY@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=albertccwang@google.com \
--cc=badhri@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mathias.nyman@linux.intel.com \
--cc=pumahsu@google.com \
--cc=raychi@google.com \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.