[OEM-B/OEM-OSP1-B/B/E/F/U][PATCH 0/1] UBUNTU SAUCE: Fix time-consuming r8152 init during Dell WD19/WD19DC hotplug

You-Sheng Yang vicamo.yang at canonical.com
Mon Feb 24 06:58:43 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1864284

[Impact]
USB devices attached to Dell WD19/WD19DC USB Type-C dock take up to nearly one
minutes to be ready for use.

[Fix]
r8152 driver init process involves several for-loops that each may take up to 14
seconds to exit when USB port reset occurs during hotplug. This is still
reproducible with latest v5.6-rc mainline kernel although the fail rate is much
lower since v5.5-rc7.

[Test Case]
Verified on Dell WD19DC.

[Regression Potential]
Low. Just to exit the loop early when it should have been.

You-Sheng Yang (1):
  r8151: check disconnect status after sleep

 drivers/net/usb/r8152.c | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.25.0




More information about the kernel-team mailing list