Files
kernel_common_drivers/drivers/usb
he.he ba15d0cf42 usb: special disk causing hub_set_address hang up [1/1]
PD#SWPL-171027

Problem:
Command completion event does not match command,
since when xhci_abort_cmd_ring and
the other command enqueue at the same time
casue to wait_for_completion stuck:

xhci-hcd xhci-hcd.2.auto:
ERROR mismatched command completion event
SET ADDRESS, command->status=25
xhci-hcd xhci-hcd.2.auto:

Timeout while waiting for setup device command
address--E: hub_port_init, 4952
address--S: hub_port_init, 4950
que:CMD-TRB=000000000bd71186, deq=000000000bd71186
xhci_cleanup_command_queue, 1672
SET ADDRESS, command->status=25

xhci-hcd xhci-hcd.2.auto:
Timeout while waiting for setup device command
address--E: hub_port_init, 4952
usb 6-1: device not accepting address 67, error -62
que:CMD-TRB=00000000063428ae, deq=00000000063428ae
irq:CMD-TRB=00000000063428ae, deq=000000000bd71186

xhci-hcd xhci-hcd.2.auto:
Command completion event does not match command

xhci-hcd xhci-hcd.2.auto:
ERROR mismatched command completion event

Solution:
when xhci_complete_del_and_free_cmd must dequeue the command

Verify:
t5m

Change-Id: I401fba241bf5e0f22a680c684853ec1ec2124fe4
Signed-off-by: he.he <he.he@amlogic.com>
2024-05-28 01:48:47 -07:00
..
2024-05-22 21:59:48 -07:00
2023-12-22 16:08:59 +08:00
2023-12-22 16:08:59 +08:00
2023-12-22 16:08:59 +08:00
2023-12-22 16:08:59 +08:00