Message ID | 1515332212-23593-1-git-send-email-stefan.wahren@i2se.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Stefan Wahren <stefan.wahren@i2se.com> writes: > This reverts commit 014d6da6cb2525d7f48fb08c705cb130cc7b5f4a. > > The DT clean up could trigger an endless deferred probe of DWC2 USB driver > on the Raspberry Pi 2/3. So revert the change until we fixed the probing > issue. Why's that? I found that I needed to enable the generic no-op phy driver, but other than that it was fine.
Hi Eric, Am 07.01.2018 um 23:08 schrieb Eric Anholt: > Stefan Wahren <stefan.wahren@i2se.com> writes: > >> This reverts commit 014d6da6cb2525d7f48fb08c705cb130cc7b5f4a. >> >> The DT clean up could trigger an endless deferred probe of DWC2 USB driver >> on the Raspberry Pi 2/3. So revert the change until we fixed the probing >> issue. > Why's that? I found that I needed to enable the generic no-op phy > driver, but other than that it was fine. in order to avoid this regression. Changing the configuration is not a solution for the kernelci guys. Btw CONFIG_NOP_USB_XCEIV=y is already enabled in arm64/defconfig and the issue still occured. Do you mean a different option? Stefan
On Mon, Jan 8, 2018 at 10:15 AM, Stefan Wahren <stefan.wahren@i2se.com> wrote: > Hi Eric, > Am 07.01.2018 um 23:08 schrieb Eric Anholt: >> >> Stefan Wahren <stefan.wahren@i2se.com> writes: >> >>> This reverts commit 014d6da6cb2525d7f48fb08c705cb130cc7b5f4a. >>> >>> The DT clean up could trigger an endless deferred probe of DWC2 USB >>> driver >>> on the Raspberry Pi 2/3. So revert the change until we fixed the probing >>> issue. >> >> Why's that? I found that I needed to enable the generic no-op phy >> driver, but other than that it was fine. > > > in order to avoid this regression. Changing the configuration is not a > solution for the kernelci guys. > > Btw > > CONFIG_NOP_USB_XCEIV=y > > is already enabled in arm64/defconfig and the issue still occured. Do you > mean a different option? Obviously we need to fix this, but I really want to understand what exactly happened so we can fix the code if possible rather than making the dts file incompatible with the binding again. Do you have any more insight into how we get into the deferred probe situation? Arnd
Hi Arnd, Am 08.01.2018 um 10:27 schrieb Arnd Bergmann: > On Mon, Jan 8, 2018 at 10:15 AM, Stefan Wahren <stefan.wahren@i2se.com> wrote: >> Hi Eric, >> Am 07.01.2018 um 23:08 schrieb Eric Anholt: >>> Stefan Wahren <stefan.wahren@i2se.com> writes: >>> >>>> This reverts commit 014d6da6cb2525d7f48fb08c705cb130cc7b5f4a. >>>> >>>> The DT clean up could trigger an endless deferred probe of DWC2 USB >>>> driver >>>> on the Raspberry Pi 2/3. So revert the change until we fixed the probing >>>> issue. >>> Why's that? I found that I needed to enable the generic no-op phy >>> driver, but other than that it was fine. >> >> in order to avoid this regression. Changing the configuration is not a >> solution for the kernelci guys. >> >> Btw >> >> CONFIG_NOP_USB_XCEIV=y >> >> is already enabled in arm64/defconfig and the issue still occured. Do you >> mean a different option? > Obviously we need to fix this, but I really want to understand what exactly > happened so we can fix the code if possible rather than making the > dts file incompatible with the binding again. i fully agree, but dwc2 "hacking" usually requires more time than reverting this change. > > Do you have any more insight into how we get into the deferred probe > situation? I send this bug report [1] on Friday to linux-usb. Stefan [1] - https://marc.info/?l=linux-usb&m=151518314314753&w=2 > > Arnd
diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index dcde93c..013431e 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -639,6 +639,5 @@ usbphy: phy { compatible = "usb-nop-xceiv"; - #phy-cells = <0>; }; };
This reverts commit 014d6da6cb2525d7f48fb08c705cb130cc7b5f4a. The DT clean up could trigger an endless deferred probe of DWC2 USB driver on the Raspberry Pi 2/3. So revert the change until we fixed the probing issue. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> --- Hi Arnd, hi Olof, i hope this has a chance to get into 4.15. arch/arm/boot/dts/bcm283x.dtsi | 1 - 1 file changed, 1 deletion(-)