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

From: Sergei Shtylyov
Date: Mon Feb 14 2022 - 10:45:48 EST


Hello!

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

> From: Daehwan Jung <dh10.jung@xxxxxxxxxxx>
>
> 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@xxxxxxxxxxx>
> Signed-off-by: Pavankumar Kondeti <quic_pkondeti@xxxxxxxxxxx>
[...]

MBR, Sergey