Re: [PATCH] xhci: reduce xhci_handshake timeout in xhci_reset

Sergei Shtylyov
2022-02-14T15:45:47Z

Hello!

On 2/14/22 2:04 PM, Pavankumar Kondeti wrote:

> From: Daehwan Jung <dh10.jung@samsung.com>
>
> xhci_reset() is called with interrupts disabled. Waiting 10 seconds for
> controller reset and controller ready operations can be fatal to the
> system when controller is timed out. Reduce the timeout to 1 second
> and print a error message when the time out happens.

Waiting 1 second with IRQs diabled is also hardly acceptable. :-/

>
> Fixes: 22ceac191211 ("xhci: Increase reset timeout for Renesas 720201 host.")
> Signed-off-by: Daehwan Jung <dh10.jung@samsung.com>
> Signed-off-by: Pavankumar Kondeti <quic_pkondeti@quicinc.com>
[...]

MBR, Sergey