[Bug 220460] Plugging USB-C adapter into one port results in `Failed to set U2 timeout to 0x3f,error code -110`

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=220460

--- Comment #5 from Mathias Nyman (mathias.nyman@xxxxxxxxxxxxxxx) ---
Thanks, trace show the link between host and hub goes to an error state
immediately after enabling U1 and U2 link power save states.

Hub driver sends a SetPortFeature U1 timeout 41us to hub port 1.
hub is now allowed to set port 1 link to U1 power save state after 41us
of inactivity:

862.173255: xhci_queue_trb: CTRL: @0x00000000fffc7600 bRequestType 23 bRequest
03 wValue 0017 wIndex 2901 wLength 0 length 8 TD size 0 intr 0 type 'Setup
Stage' flags I:i:c

Tell xHCI host that the new MEL (maximum exit latency) to get link up and
running has changed, set a new value of 747us:

862.173694: xhci_dbg_context_change: Set up evaluate context for LPM MEL
change.
862.173696: xhci_configure_endpoint: RS 00001 super-speed Ctx Entries 3 MEL 747
us Port# 4/0 [TT Slot 0 Port# 0 TTT 0 Intr 0] Addr 0 State enabled/disabled

Hub driver sends a SetPortFeature U2 timeout 16128us to hub port 1.
hub is now allowed to set port 1 link to U1 power save state after 16128us
of inactivity:

862.173771: xhci_queue_trb: CTRL: @0x00000000fffc7620 bRequestType 23 bRequest
03 wValue 0018 wIndex 3f01 wLength 0 length 8 TD size 0 intr 0 type 'Setup
Stage' flags I:i:c

Link suddenly goes to error (Inactive) state, most likely due to failure to 
enter U1/U2. Could also be related to bad U1,U2 MEL or SEL (system exit latecy)
values. 

862.175770: xhci_handle_event: EVENT: @0x00000000ff8facd0 TRB 0000000004000000
status 'Success' len 0 slot 0 ep 0 type 'Port Status Change Event' flags e:c
862.175802: xhci_handle_port_status: port 4-1: 0x004202c0 Powered Not-connected
Disabled Link:Inactive PortSpeed:0 Change: CSC PLC Wake:

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux