Re: [PATCH] usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers

From: Mathias Nyman
Date: Thu Mar 09 2017 - 04:25:29 EST


On 08.03.2017 21:49, Guenter Roeck wrote:
Upstream commit 98d74f9ceaef ("xhci: fix 10 second timeout on removal of
PCI hotpluggable xhci controllers") fixes a problem with hot pluggable PCI
xhci controllers which can result in excessive timeouts, to the point where
the system reports a deadlock.

The same problem is seen with hot pluggable xhci controllers using the
xhci-plat driver, such as the driver used for Type-C ports on rk3399.
Similar to hot-pluggable PCI controllers, the driver for this chip
removes the xhci controller from the system when the Type-C cable is
disconnected.

The solution for PCI devices works just as well for non-PCI devices
and avoids the problem.

Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
---


Thanks, adding to queue

-Mathias