[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <db6c18cd-73ca-f7b3-d5b6-fad9b3733d41@suse.com>
Date: Tue, 15 Feb 2022 10:43:32 +0100
From: Oliver Neukum <oneukum@...e.com>
To: Jung Daehwan <dh10.jung@...sung.com>,
Pavan Kondeti <quic_pkondeti@...cinc.com>
CC: Mathias Nyman <mathias.nyman@...ux.intel.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Mathias Nyman <mathias.nyman@...el.com>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
quic_ugoswami@...cinc.com
Subject: Re: [PATCH v2] xhci: reduce xhci_handshake timeout in xhci_reset
On 15.02.22 09:51, Jung Daehwan wrote:
>
> I also think it doesn't make sense 10 secs timeout with irqs disabled.
> It could cause critical system problem as Pavan said. How about adding
> new quirk for different timeout value?
>
Hi,
I am afraid this amounts to putting bandages onto a fundamental
flaw. We need a version of xhci_reset() that can sleep and if
you need interrupts to be off to reset the HC, you are doing a bad design.
Regards
Oliver
Powered by blists - more mailing lists