Hi Paul, > I did see a different issue when booting/rebooting the system. > I discovered that the DMA_BIT_MASK(31)'s in dwc2_hcd_init() were > randomly preventing the controller from working after boot. When > I changed both of them to DMA_BIT_MASK(32) the problem went away. > I am going to submit a patch with that change shortly, maybe you > could try that and see if it makes a difference for you? I tried it quickly with that patch and got one succesful boot and one failed boot, so it seems the patch doesn't help for my problem. > After making that change, I am unable to reproduce any boot problem > on my platform (PC with the dwc2 controller on a PCIe bus). I wonder > if this could be some issue with the Phy on your platform? Maybe you > could play around with the Phy initialization/resets in the driver > and see if that makes a difference. > > I remember when bringing up the driver, that the sleep at the end of > dwc2_core_reset() was very critical to making host mode work. Maybe > you could experiment with that also. I'll have a look next week, thanks. Gr. Matthijs -- 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