-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dwc2_hsotg_init_fifo: insufficient fifo memory #2390
Comments
Which Raspberry Pi do you use? Edit: Could you try this patch? |
Zero W and dwc2 overlay. |
This is also an issue on the Compute Module 3 mounted on the CMIO3.
|
Please can anyone who is able to reproduce this issue, try the patch mentioned above? |
I think that may be why I wrote: ED6E0F17@3ed03d2 There are 7 fifos, and from Linux 4.12 the kernel no longer accepts zero size fifos, so the last one gets set to a default size, and exceeds available fifo memory. I will look at the upstream patch when I can, but I have been using 4.9, and have not upgraded to 4.14 yet. |
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves raspberrypi#2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
@lategoodbye : On linux 4.14 I can use 4064 of the 4080 gadget fifo elements that should be available; I assume that the patch you link will return the missing 16. The Upstream device tree uses 3584 + 256 + 32 = 3872 fifo slots. Downstream was only using 3616, but this was increased by 768 after Kernel 4.12 sanity checked the last buffer that had previously been set to zero size and disabled. The size of the rx buffer can be increased to make use of the spare fifo memory. |
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
@lategoodbye @ED6E0F17 What's the current status of this one? |
My fix was merged downstream, so I expect that this can be closed now. I found another Issue in the Upstream mailing lists that the final fifos should not be more than 512 anyway because of another quirk, so the Downstream settings are now close to what was proposed for Upstream, but not yet merged there. |
Thanks for the update |
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves #2390 Signed-off-by: John Greb <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves raspberrypi/linux#2390 Signed-off-by: John Greb <[email protected]> (cherry picked from commit 3d85e84fdc9484f7a78ab3d3e8a04fed817ab576 https://github.com/raspberrypi/linux raspi/rpi-4.15.y) Signed-off-by: Paolo Pisati <[email protected]> Signed-off-by: Seth Forshee <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves raspberrypi/linux#2390 Signed-off-by: John Greb <[email protected]> (cherry picked from commit 3d85e84fdc9484f7a78ab3d3e8a04fed817ab576 https://github.com/raspberrypi/linux raspi/rpi-4.15.y) Signed-off-by: Paolo Pisati <[email protected]> Signed-off-by: Seth Forshee <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves raspberrypi/linux#2390 Signed-off-by: John Greb <[email protected]> (cherry picked from commit 3d85e84fdc9484f7a78ab3d3e8a04fed817ab576 https://github.com/raspberrypi/linux raspi/rpi-4.15.y) Signed-off-by: Paolo Pisati <[email protected]> Signed-off-by: Seth Forshee <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves raspberrypi/linux#2390 Signed-off-by: John Greb <[email protected]> (cherry picked from commit 3d85e84fdc9484f7a78ab3d3e8a04fed817ab576 https://github.com/raspberrypi/linux raspi/rpi-4.15.y) Signed-off-by: Paolo Pisati <[email protected]> Signed-off-by: Seth Forshee <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves raspberrypi/linux#2390 Signed-off-by: John Greb <[email protected]> (cherry picked from commit 3d85e84fdc9484f7a78ab3d3e8a04fed817ab576 https://github.com/raspberrypi/linux raspi/rpi-4.15.y) Signed-off-by: Paolo Pisati <[email protected]> Signed-off-by: Seth Forshee <[email protected]>
Linux 4.9 needed fifos to be set to their default values, leaving the last one (silently) set to zero size. From 4.12 Linux allows fifos to be set to any size EXCEPT zero. Resolves raspberrypi/linux#2390 Signed-off-by: John Greb <[email protected]> (cherry picked from commit 3d85e84fdc9484f7a78ab3d3e8a04fed817ab576 https://github.com/raspberrypi/linux raspi/rpi-4.15.y) Signed-off-by: Paolo Pisati <[email protected]> Signed-off-by: Seth Forshee <[email protected]>
This seems to be a regression between 4.9 and 4.14.
There is a thread about it on the LKML: https://lkml.org/lkml/2017/2/24/723
Log:
The text was updated successfully, but these errors were encountered: