Re: crash in usb_hc_died+0x16 when unplugging usb-c dock

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

 



On 11.01.2017 13:27, Richard van der Hoff wrote:
On 14/09/16 15:07, Mathias Nyman wrote:
I've been staring at the code for a while and I think xhci might need a
bigger
rework in this area.
For example the XHCI_STATE_DYING flag was originally a flag meaning that a
watchdog function for a timed out stop endpoint command is running and all
URBs will be given back.

Since then this flag has been used when host is no longer responding.

The rework will take some time, I think I'll do a quick fix to just
prevent the
deadlock. That fix could go in quicker and to stable while polishing the
rework

Just wondering if there were any updates on this. Mathias' test patch fixed my problem (a deadlock when unplugging a USB-C device), but as far as I can see it never made it into git.

Found more and more things while trying to rework this whole area, and eventually got stuck.
I'll send this to Greg and see if he takes it to 4.10

-Mathias
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux