xhci: handle port status events for removed USB3 hcd
Subsystems (2)
PATCH 2/2 xhci: handle port status events for removed USB3 hcd
Quoted 7 lines · Jack Pham
Hi Mathias,
Quoted 5 lines
Quoted 1 line
Jack, Peter, do these patches solve the remove issues you are seeing?
At my two USB3 platforms, only apply the 1st patch can fix my problem. Maybe my USB3 port change interrupt occurs always before removing USB2 HCD.
It's possible yes.
Quoted 8 lines
Quoted 1 line
Peter
Ditto. I think the
xhci_irq()is getting triggered by something duringusb_remove_hcd()(usb_disconnecton the root hub?) but is able to complete before it returns. That is, the NULL pointer dereference is resolved yet I don't see that "ignore port event for removed USB3 hcd" message at all.
Quoted 8 lines
Regardless, it's good to have here just in case, so
Tested-by Jack Pham <[email protected]>Will you be sending this as separate patches for -rc vs -stable?
Thanks,
Jack
Thanks, adding tested-by tags.
I'll send them to -rc with stable tag, and then later send a backported version to older kernel once I have a upstream commit ID I can refer to.
Thanks
-Mathias