Skip to contentSkip to conversation

xhci: Fix HIK camera control timeout on Etron hosts

PATCH In review Kuangyi Chiang 3 participants 10 messages Sep 14 – Nov 5

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xhci: Fix HIK camera control timeout on Etron hosts

Control transfers to the HIK 1080P Camera (2bdf:0280) can time out when the device is connected through an Etron xHCI host:

[   48.363671] uvcvideo: Found UVC 1.00 device HIK 1080P Camera (2bdf:0280)
[   53.465662] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[   58.585653] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
[   58.592967] uvcvideo: Failed to initialize the device (-5).

Testing shows that at least 125 us between control transfers is required to avoid the timeout. Limit the workaround to the affected Etron host and USB device combination to avoid changing control-transfer timing for other devices.

Perform the delay before taking xhci->lock so the existing state validation and TD queueing remain in the same critical section. Use udelay() because urb_enqueue() may be called from atomic context and cannot use a sleeping delay.

---
 drivers/usb/host/xhci.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
drivers/usb/host/xhci.c +10 -0
index 5c759ad..925716a 100644
@@ -1648,6 +1648,16 @@ static int xhci_urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flag
 
 	trace_xhci_urb_enqueue(urb);
 
+	/*
+	 * This camera needs at least 125 us between control transfers
+	 * when used with an Etron xHCI host.
+	 */
+	if ((xhci->quirks & XHCI_ETRON_HOST) &&
+	    usb_endpoint_xfer_control(&urb->ep->desc) &&
+	    le16_to_cpu(urb->dev->descriptor.idVendor) == 0x2bdf &&
+	    le16_to_cpu(urb->dev->descriptor.idProduct) == 0x0280)
+		udelay(125);
+
 	spin_lock_irqsave(&xhci->lock, flags);
 
 	ret = xhci_check_args(hcd, urb->dev, urb->ep,
Signature · 1 line
2.25.1
#1 lore raw
Quoted 8 lines · Kuangyi Chiang

Control transfers to the HIK 1080P Camera (2bdf:0280) can time out when the device is connected through an Etron xHCI host:

[   48.363671] uvcvideo: Found UVC 1.00 device HIK 1080P Camera (2bdf:0280)
[   53.465662] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[   58.585653] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
[   58.592967] uvcvideo: Failed to initialize the device (-5).
Quoted 4 lines

Testing shows that at least 125 us between control transfers is required to avoid the timeout. Limit the workaround to the affected Etron host and USB device combination to avoid changing control-transfer timing for other devices.

Any idea why it happens or why the delay helps?
How many other HCs did you test this camera with?
Does it help to reconnect and try again?

FWIW, I tried a few USB 2.0 cameras with my Etron and they mostly work, except one. It passes probe just fine, but fails on streaming attempt. Adding 125us delay doesn't help, but 1000 works sometimes and 4000 even more often.

Probably a HW bug. Honestly, I never use Etron for anything serious.

Quoted 4 lines

Perform the delay before taking xhci->lock so the existing state validation and TD queueing remain in the same critical section. Use udelay() because urb_enqueue() may be called from atomic context and cannot use a sleeping delay.

Actually, you would need to do that under lock if you want to ensure that multiple callers can't submit URBs closely together. But that's dodgy and we don't even know what exactly triggers it or whether this solution really is the best one.

Regards,
Michal

#2 lore raw

Hi,

Thanks for the review.

Michal Pecio <[email protected]> 於 2026年9月14日週一 下午7:09寫道:

Quoted 10 lines · Kuangyi Chiang
Quoted 8 lines

Control transfers to the HIK 1080P Camera (2bdf:0280) can time out when the device is connected through an Etron xHCI host:

[   48.363671] uvcvideo: Found UVC 1.00 device HIK 1080P Camera (2bdf:0280)
[   53.465662] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[   58.585653] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
[   58.592967] uvcvideo: Failed to initialize the device (-5).
Quoted 6 lines
Quoted 4 lines

Testing shows that at least 125 us between control transfers is required to avoid the timeout. Limit the workaround to the affected Etron host and USB device combination to avoid changing control-transfer timing for other devices.

Any idea why it happens or why the delay helps?

We don't know the root cause yet, but we did some more testing.

We tested delays of 50us, 125us, and 200us. The issue was still reproducible with 50us, while 125us and 200us passed our test.

Our pass criterion is 30 successful plug/unplug cycles on each port. So 125us is the minimum delay we tested that consistently works.

We also tried USB_QUIRK_DELAY_CTRL_MSG, but its 200ms delay is too long and causes UVC initialization to fail.

Quoted 1 line

How many other HCs did you test this camera with?

The camera works with the EHCI host we tested without any delay. We can also reproduce a similar issue with an ASMedia ASM1142 xHCI host (1b21:1242). This patch, however, is limited to the Etron/HIK combination.

Quoted 1 line

Does it help to reconnect and try again?

No. The issue is still reproducible after reconnecting the camera.

Quoted 13 lines

FWIW, I tried a few USB 2.0 cameras with my Etron and they mostly work, except one. It passes probe just fine, but fails on streaming attempt. Adding 125us delay doesn't help, but 1000 works sometimes and 4000 even more often.

Probably a HW bug. Honestly, I never use Etron for anything serious.

Quoted 4 lines

Perform the delay before taking xhci->lock so the existing state validation and TD queueing remain in the same critical section. Use udelay() because urb_enqueue() may be called from atomic context and cannot use a sleeping delay.

Quoted 4 lines

Actually, you would need to do that under lock if you want to ensure that multiple callers can't submit URBs closely together. But that's dodgy and we don't even know what exactly triggers it or whether this solution really is the best one.

Agreed. For the UVC control transfers involved here, the next transfer is submitted only after the previous one completes, so they are serialized.

The delay before xhci->lock does not prevent other callers from submitting control URBs close together. However, this workaround is limited to control transfers for the affected Etron/HIK combination.

Regards,
Kuangyi

Quoted 3 lines

Regards,
Michal

#3 lore raw
Quoted 22 lines · Kuangyi Chiang

Hi,

Thanks for the review.

Michal Pecio <[email protected]> 於 2026年9月14日週一 下午7:09寫道:

Quoted 10 lines · Kuangyi Chiang
Quoted 8 lines

Control transfers to the HIK 1080P Camera (2bdf:0280) can time out when the device is connected through an Etron xHCI host:

[   48.363671] uvcvideo: Found UVC 1.00 device HIK 1080P Camera (2bdf:0280)
[   53.465662] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[   58.585653] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
[   58.592967] uvcvideo: Failed to initialize the device (-5).
Quoted 6 lines
Quoted 4 lines

Testing shows that at least 125 us between control transfers is required to avoid the timeout. Limit the workaround to the affected Etron host and USB device combination to avoid changing control-transfer timing for other devices.

Any idea why it happens or why the delay helps?

Quoted 8 lines

We don't know the root cause yet, but we did some more testing.

We tested delays of 50us, 125us, and 200us. The issue was still reproducible with 50us, while 125us and 200us passed our test.

Our pass criterion is 30 successful plug/unplug cycles on each port. So 125us is the minimum delay we tested that consistently works.

Are there issues with the control transfers already during enumeration of the device, when reading descriptors etc, or are these issues only visible after uvc driver is controlling the device?

Quoted 3 lines

We also tried USB_QUIRK_DELAY_CTRL_MSG, but its 200ms delay is too long and causes UVC initialization to fail.

Does it help if you as a hack set udev->quirks |= USB_QUIRK_DELAY_CTRL_MSG _after_ enumeration and uvc initialization?

Quoted 6 lines
Quoted 1 line

How many other HCs did you test this camera with?

The camera works with the EHCI host we tested without any delay. We can also reproduce a similar issue with an ASMedia ASM1142 xHCI host (1b21:1242). This patch, however, is limited to the Etron/HIK combination.

I think we should avoid usb device specific quirks in the xhci driver, especially now that we know it's not really tied to a specific xHC vendor.

If this is only an issue with the control transfers sent by uvc driver then I think this device specific quirk should be in there.

Thanks
Mathias

#4 lore raw

Hi,

Mathias Nyman <[email protected]> 於 2026年9月16日週三 下午8:18寫道:

Quoted 52 lines · Kuangyi Chiang
Quoted 22 lines

Hi,

Thanks for the review.

Michal Pecio <[email protected]> 於 2026年9月14日週一 下午7:09寫道:

Quoted 10 lines · Kuangyi Chiang
Quoted 8 lines

Control transfers to the HIK 1080P Camera (2bdf:0280) can time out when the device is connected through an Etron xHCI host:

[   48.363671] uvcvideo: Found UVC 1.00 device HIK 1080P Camera (2bdf:0280)
[   53.465662] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[   58.585653] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
[   58.592967] uvcvideo: Failed to initialize the device (-5).
Quoted 6 lines
Quoted 4 lines

Testing shows that at least 125 us between control transfers is required to avoid the timeout. Limit the workaround to the affected Etron host and USB device combination to avoid changing control-transfer timing for other devices.

Any idea why it happens or why the delay helps?

Quoted 8 lines

We don't know the root cause yet, but we did some more testing.

We tested delays of 50us, 125us, and 200us. The issue was still reproducible with 50us, while 125us and 200us passed our test.

Our pass criterion is 30 successful plug/unplug cycles on each port. So 125us is the minimum delay we tested that consistently works.

Are there issues with the control transfers already during enumeration of the device, when reading descriptors etc, or are these issues only visible after uvc driver is controlling the device?

Quoted 3 lines

We also tried USB_QUIRK_DELAY_CTRL_MSG, but its 200ms delay is too long and causes UVC initialization to fail.

Does it help if you as a hack set udev->quirks |= USB_QUIRK_DELAY_CTRL_MSG _after_ enumeration and uvc initialization?

Quoted 6 lines
Quoted 1 line

How many other HCs did you test this camera with?

The camera works with the EHCI host we tested without any delay. We can also reproduce a similar issue with an ASMedia ASM1142 xHCI host (1b21:1242). This patch, however, is limited to the Etron/HIK combination.

Quoted 6 lines

I think we should avoid usb device specific quirks in the xhci driver, especially now that we know it's not really tied to a specific xHC vendor.

If this is only an issue with the control transfers sent by uvc driver then I think this device specific quirk should be in there.

Thanks for the suggestions.

We'll do some more testing based on your suggestions, including enabling USB_QUIRK_DELAY_CTRL_MSG after UVC initialization.

We'll report back once we have the results.

Thanks,
Kuangyi

#5 lore raw

Hi,

Sorry for the late reply.

Kuangyi Chiang <[email protected]> 於 2026年9月18日週五 上午9:58寫道:

Quoted 63 lines

Hi,

Mathias Nyman <[email protected]> 於 2026年9月16日週三 下午8:18寫道:

Quoted 52 lines · Kuangyi Chiang
Quoted 22 lines

Hi,

Thanks for the review.

Michal Pecio <[email protected]> 於 2026年9月14日週一 下午7:09寫道:

Quoted 10 lines · Kuangyi Chiang
Quoted 8 lines

Control transfers to the HIK 1080P Camera (2bdf:0280) can time out when the device is connected through an Etron xHCI host:

[   48.363671] uvcvideo: Found UVC 1.00 device HIK 1080P Camera (2bdf:0280)
[   53.465662] uvcvideo: Failed to set UVC probe control : -110 (exp. 26).
[   58.585653] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
[   58.592967] uvcvideo: Failed to initialize the device (-5).
Quoted 6 lines
Quoted 4 lines

Testing shows that at least 125 us between control transfers is required to avoid the timeout. Limit the workaround to the affected Etron host and USB device combination to avoid changing control-transfer timing for other devices.

Any idea why it happens or why the delay helps?

Quoted 8 lines

We don't know the root cause yet, but we did some more testing.

We tested delays of 50us, 125us, and 200us. The issue was still reproducible with 50us, while 125us and 200us passed our test.

Our pass criterion is 30 successful plug/unplug cycles on each port. So 125us is the minimum delay we tested that consistently works.

Are there issues with the control transfers already during enumeration of the device, when reading descriptors etc, or are these issues only visible after uvc driver is controlling the device?

Quoted 3 lines

We also tried USB_QUIRK_DELAY_CTRL_MSG, but its 200ms delay is too long and causes UVC initialization to fail.

Does it help if you as a hack set udev->quirks |= USB_QUIRK_DELAY_CTRL_MSG _after_ enumeration and uvc initialization?

Quoted 6 lines
Quoted 1 line

How many other HCs did you test this camera with?

The camera works with the EHCI host we tested without any delay. We can also reproduce a similar issue with an ASMedia ASM1142 xHCI host (1b21:1242). This patch, however, is limited to the Etron/HIK combination.

Quoted 6 lines

I think we should avoid usb device specific quirks in the xhci driver, especially now that we know it's not really tied to a specific xHC vendor.

If this is only an issue with the control transfers sent by uvc driver then I think this device specific quirk should be in there.

Quoted 6 lines

Thanks for the suggestions.

We'll do some more testing based on your suggestions, including enabling USB_QUIRK_DELAY_CTRL_MSG after UVC initialization.

We'll report back once we have the results.

We did some more testing.

We don't see this issue during device enumeration.

We also found that the timeout is not limited to UVC control transfers. In one failure case, the first timeout was observed in a UAC control transfer, followed by UVC control transfer timeouts:

[  961.127402] usb 2-3: 5:2: failed to get current value for ch 0 (-110)
[  971.367443] uvcvideo 2-3:1.0: Failed to query (GET_DEF) UVC control
2 on unit 2: -110 (exp. 2).
[  976.487473] uvcvideo 2-3:1.0: Failed to query (GET_DEF) UVC control

3 on unit 2: -110 (exp. 2).

As suggested, we also tried enabling USB_QUIRK_DELAY_CTRL_MSG after UVC initialization, but subsequent UVC control transfers still timed out. In addition, UAC control transfers may already have timed out before the quirk is enabled.

So far, we have reproduced the issue with these xHCI hosts:

ASMedia ASM1142 (1b21:1242)
Etron EJ168 (1b6f:7023)
Etron EJ188 (1b6f:7052)
Intel xHCI (8086:8d31)

The issue is less frequently reproducible on the ASMedia host.

The camera works with the EHCI host we tested without any additional delay.

So we agree that this device-specific workaround should not be in the xHCI driver. Since the issue can affect both UAC and UVC control transfers, we plan to handle it in the corresponding class drivers.

Thanks,
Kuangyi

#6 lore raw
Quoted 8 lines · Kuangyi Chiang

We did some more testing.

We don't see this issue during device enumeration.

We also found that the timeout is not limited to UVC control transfers. In one failure case, the first timeout was observed in a UAC control transfer, followed by UVC control transfer timeouts:

Quoted 5 lines
[  961.127402] usb 2-3: 5:2: failed to get current value for ch 0 (-110)
[  971.367443] uvcvideo 2-3:1.0: Failed to query (GET_DEF) UVC control
2 on unit 2: -110 (exp. 2).
[  976.487473] uvcvideo 2-3:1.0: Failed to query (GET_DEF) UVC control

3 on unit 2: -110 (exp. 2).

But that's the same device and the same control pipe, right?

So it just failed and we don't know why or whether it was the host or the device. And this is all during UVC/UAC probe, before any userspace begins using the device? Or could userspace be involved?

The UVC driver has some aggressive PM; for every userspace ioctl, it calls usb_autopm_get_interface(), submits an interrupt URB which almost never completes and unlinks the URB before usb_autopm_put_interface(). Repeated periodic unlinks is a known problem case for many xHCI chips.

FYI, I found that 7c0c31c66a7f9 in v7.3 reduced occurrences of periodic unlink failures on other junk HW like ASMedia and VIA. Some of those failures, on ASMedia, resulted in control transfer breakage too.

Have you tried 7.3 yet?
Do you see any interrupt URBs there, using usbmon for example?

Quoted 6 lines

So far, we have reproduced the issue with these xHCI hosts:

ASMedia ASM1142 (1b21:1242)
Etron EJ168 (1b6f:7023)
Etron EJ188 (1b6f:7052)
Intel xHCI (8086:8d31)

I don't know that Intel chip, but the others are quite buggy.

Have you tried other HCs? Any successes?
IME, chips from NEC, Fresco, Renesas are more reliable.

Quoted 2 lines

The camera works with the EHCI host we tested without any additional delay.

That's a little suspicious, it may still be an xHCI bug.

Regards,
Michal

#7 lore raw

Hi,

Thanks for your feedback.

Michal Pecio <[email protected]> 於 2026年10月29日週四 下午1:03寫道:

Quoted 10 lines · Kuangyi Chiang
Quoted 8 lines

We did some more testing.

We don't see this issue during device enumeration.

We also found that the timeout is not limited to UVC control transfers. In one failure case, the first timeout was observed in a UAC control transfer, followed by UVC control transfer timeouts:

Quoted 7 lines
Quoted 5 lines
[  961.127402] usb 2-3: 5:2: failed to get current value for ch 0 (-110)
[  971.367443] uvcvideo 2-3:1.0: Failed to query (GET_DEF) UVC control
2 on unit 2: -110 (exp. 2).
[  976.487473] uvcvideo 2-3:1.0: Failed to query (GET_DEF) UVC control

3 on unit 2: -110 (exp. 2).

But that's the same device and the same control pipe, right?

Yes, that's correct. Both UAC and UVC share EP0.

Quoted 4 lines

So it just failed and we don't know why or whether it was the host or the device. And this is all during UVC/UAC probe, before any userspace begins using the device? Or could userspace be involved?

We launch a camera application during testing, so userspace could be involved.

Quoted 11 lines

The UVC driver has some aggressive PM; for every userspace ioctl, it calls usb_autopm_get_interface(), submits an interrupt URB which almost never completes and unlinks the URB before usb_autopm_put_interface(). Repeated periodic unlinks is a known problem case for many xHCI chips.

FYI, I found that 7c0c31c66a7f9 in v7.3 reduced occurrences of periodic unlink failures on other junk HW like ASMedia and VIA. Some of those failures, on ASMedia, resulted in control transfer breakage too.

Have you tried 7.3 yet?

Not yet. Our tests were based on kernel 7.2.4.
Thanks for pointing out commit 7c0c31c66a7f9.

Quoted 1 line

Do you see any interrupt URBs there, using usbmon for example?

We haven't checked interrupt URBs with usbmon yet.

However, we captured USB traces using a protocol analyzer and observed different behavior between the failing and successful cases.

In the failing case, the device ACKed the DATA stage but kept NAKing the STATUS stage until the transfer timed out.

In the successful case, the device initially NAKed the DATA stage, then ACKed it, and the STATUS stage completed successfully.

We haven't determined the root cause yet.

In our tests, adding a 1 ms delay to both the UAC and UVC control request paths prevented the timeouts.

When the delay was added to only one driver, we still observed control transfer timeouts (-110) in the other driver.

Quoted 8 lines
Quoted 7 lines

So far, we have reproduced the issue with these xHCI hosts:

ASMedia ASM1142 (1b21:1242)
Etron EJ168 (1b6f:7023)
Etron EJ188 (1b6f:7052)
Intel xHCI (8086:8d31)

Quoted 4 lines

I don't know that Intel chip, but the others are quite buggy.

Have you tried other HCs? Any successes?
IME, chips from NEC, Fresco, Renesas are more reliable.

In our recent tests without the delay patches, we did not observe any timeouts on the following HCs:

AMD EHCI (1002:4396)
AMD xHCI (1022:149c)
ASMedia ASM1042A (1b21:1142)
NEC xHCI (1033:0194)

Regards,
Kuangyi

Quoted 8 lines
Quoted 3 lines

The camera works with the EHCI host we tested without any additional delay.

That's a little suspicious, it may still be an xHCI bug.

Regards,
Michal

#8 lore raw
Quoted 7 lines · Kuangyi Chiang

However, we captured USB traces using a protocol analyzer and observed different behavior between the failing and successful cases.

In the failing case, the device ACKed the DATA stage but kept NAKing the STATUS stage until the transfer timed out.

Quoted 7 lines

In the successful case, the device initially NAKed the DATA stage, then ACKed it, and the STATUS stage completed successfully.

We haven't determined the root cause yet.

In our tests, adding a 1 ms delay to both the UAC and UVC control request paths prevented the timeouts.

Could it be a device bug triggered by timing? Some xHCI controllers perform control transfers faster than others - we have seen anything (IIRC) from complete transfer in a microframe, through one stage per microframe, up to one stage per frame even for high-speed devices. We are not aware of any way to influence this, besides delaying URB submissions. I don't know how fast EHCI controllers are.

Quoted 12 lines
Quoted 11 lines
Quoted 6 lines

So far, we have reproduced the issue with these xHCI hosts:

ASMedia ASM1142 (1b21:1242)
Etron EJ168 (1b6f:7023)
Etron EJ188 (1b6f:7052)
Intel xHCI (8086:8d31)

I don't know that Intel chip, but the others are quite buggy.

Have you tried other HCs? Any successes?
IME, chips from NEC, Fresco, Renesas are more reliable.

Quoted 7 lines

In our recent tests without the delay patches, we did not observe any timeouts on the following HCs:

AMD EHCI (1002:4396)
AMD xHCI (1022:149c)
ASMedia ASM1042A (1b21:1142)
NEC xHCI (1033:0194)

ASM1042A surprises me, because ASMedia in general are among the fastest ones, except AMD Promontory chipsets which are extremely slow. NEC was slightly slower than the fastest chips IIRC. I'm not familiar with AMD Matisse and have no idea what xHCI IP they put inside.

Purely out of curiosity, could you connect a USB 3.0 NIC like RTL8153 or AX88197 to Matisse and see if it breaks after a minute of:

while :; do ifconfig <xxx> up ; ifconfig <xxx> down ; echo -n . ; done

I found this to be a 100% reliable way to detect ASMedia controllers, including those in AMD Promontory chipsets. This is the periodic unlink bug I mentioned, which is mostly mitigated by 7c0c31c66a7f9 in 7.3, so the test is more effective on 7.2.

Regards,
Michal

#9 lore raw

Hi,

Thanks for the explanation.

Michal Pecio <[email protected]> 於 2026年11月3日週二 下午2:28寫道:

Quoted 17 lines · Kuangyi Chiang
Quoted 7 lines

However, we captured USB traces using a protocol analyzer and observed different behavior between the failing and successful cases.

In the failing case, the device ACKed the DATA stage but kept NAKing the STATUS stage until the transfer timed out.

Quoted 7 lines

In the successful case, the device initially NAKed the DATA stage, then ACKed it, and the STATUS stage completed successfully.

We haven't determined the root cause yet.

In our tests, adding a 1 ms delay to both the UAC and UVC control request paths prevented the timeouts.

Quoted 6 lines

Could it be a device bug triggered by timing? Some xHCI controllers perform control transfers faster than others - we have seen anything (IIRC) from complete transfer in a microframe, through one stage per microframe, up to one stage per frame even for high-speed devices. We are not aware of any way to influence this, besides delaying URB submissions. I don't know how fast EHCI controllers are.

Hans de Goede also suggested that EHCI naturally spaces consecutive control requests about 1 ms apart, while xHCI can issue them back-to-back, and some older devices may need extra time between control requests.

That could explain why a 1 ms delay helps in our tests, although we have not confirmed the root cause yet.

For reference:
https://lore.kernel.org/linux-media/CAHN5xi1_T=C1v=hDqoHxLtc9uuZO5Evsv2hS2-ZSGd3_mo=qSA@mail.gmail.com/T/#m99c67eb54d5b60bad94d2643f4c28068e1653894

Quoted 29 lines
Quoted 13 lines
Quoted 8 lines
Quoted 7 lines

So far, we have reproduced the issue with these xHCI hosts:

ASMedia ASM1142 (1b21:1242)
Etron EJ168 (1b6f:7023)
Etron EJ188 (1b6f:7052)
Intel xHCI (8086:8d31)

Quoted 4 lines

I don't know that Intel chip, but the others are quite buggy.

Have you tried other HCs? Any successes?
IME, chips from NEC, Fresco, Renesas are more reliable.

Quoted 7 lines

In our recent tests without the delay patches, we did not observe any timeouts on the following HCs:

AMD EHCI (1002:4396)
AMD xHCI (1022:149c)
ASMedia ASM1042A (1b21:1142)
NEC xHCI (1033:0194)

ASM1042A surprises me, because ASMedia in general are among the fastest ones, except AMD Promontory chipsets which are extremely slow. NEC was slightly slower than the fastest chips IIRC. I'm not familiar with AMD Matisse and have no idea what xHCI IP they put inside.

Purely out of curiosity, could you connect a USB 3.0 NIC like RTL8153 or AX88197 to Matisse and see if it breaks after a minute of:

Quoted 6 lines

while :; do ifconfig <xxx> up ; ifconfig <xxx> down ; echo -n . ; done

I found this to be a 100% reliable way to detect ASMedia controllers, including those in AMD Promontory chipsets. This is the periodic unlink bug I mentioned, which is mostly mitigated by 7c0c31c66a7f9 in 7.3, so the test is more effective on 7.2.

Unfortunately, we don't have either of those USB 3.0 network adapters available for testing.

Regards,
Kuangyi