Re: Generic PHY "unload" crash

2019-05-22 Thread Alan Cooper
Here the crash dump: # echo >unbind 8b39000.xhci_v2 [168374.367560] xhci-brcm 8b39000.xhci_v2: remove, state 4 [168374.372914] usb usb2: USB disconnect, device number 1 [168374.379314] xhci-brcm 8b39000.xhci_v2: USB bus 2 deregistered [168374.385771] xhci-brcm 8b39000.xhci_v2: remove, state 1

Re: Generic PHY "unload" crash

2019-05-21 Thread Kishon Vijay Abraham I
Hi Alan, On 21/05/19 1:40 PM, Alan Cooper wrote: I'm seeing an issue on a system where I have a generic PHY that is used by a USB XHCI driver. The XHCI driver does the phy_init() in probe and the phy_exit() in remove. The problem happens when I use sysfs to "unload" the PHY driver before doing

Generic PHY "unload" crash

2019-05-21 Thread Alan Cooper
I'm seeing an issue on a system where I have a generic PHY that is used by a USB XHCI driver. The XHCI driver does the phy_init() in probe and the phy_exit() in remove. The problem happens when I use sysfs to "unload" the PHY driver before doing an unload of the XHCI driver. This is a result of