Welcome to the Linux Foundation Forum!

TUSB73x0 SuperSpeed USB 3.0 xHCI indicates Internal Host error

Hi

We are using Texas Instruments TUSB73x0 SuperSpeed USB 3.0 xHCI Host Controller (rev 02). each xHCI HC connect to 3 USB camera directly.
1200 x 1200 or 1920 x 1200 are picture resolution(number of pixel for each picture).

16 is YUV encoding, each pixel needs 16bit.

30/20 are frame rate.
if we using bulk transaction. some times we got following error from kernel message, it is not easy to reproduce, but we got those error from time to time.

[Thu Apr 6 20:28:53 2023] uvcvideo: Non-zero status (-71) in video completion handler.
[Thu Apr 6 20:28:53 2023] xhci_hcd 0000:77:00.0: Transfer error for slot 2 ep 6 on endpoint
[Thu Apr 6 20:28:53 2023] uvcvideo: Non-zero status (-71) in video completion handler.
[Thu Apr 6 20:28:53 2023] xhci_hcd 0000:77:00.0: Transfer error for slot 2 ep 6 on endpoint
those error msg from this kernel code:
1. https://elixir.bootlin.com/linux/v5.10.140/source/drivers/usb/host/xhci-ring.c#L2526
2. https://elixir.bootlin.com/linux/v5.10.140/source/drivers/media/usb/uvc/uvc_video.c#L1542
Do you have any idea what this error means? what can we do to avoid those errors?

we use a USB 3.0 protocol analyzer in between host controller and Cypress , for bulk transaction, when the issue happens, we captured lots of error. HOSTerr. and retry.

From https://www.ti.com/lit/ds/symlink/tusb7340.pdf?ts=1684093075880&ref_url=https%3A%2F%2Fwww.google.com%2F

I saw TUSB73x0 also provide 7.5.1.65 De-Emphasis and Swing Control Register. please check 7.5.1.65.

Do you have any tool to tune this De-Emphasis?

why HostErr happens, engineers from TI said it maybe a linux driver bug,and is any one can help me figure this bug out? thanks.

Categories

Upcoming Training