Repository navigation
dwc_otg: make periodic scheduling behave properly for FS buses - #2038
Merged
Merged
Conversation
If the root port is in full-speed mode, transfer times at 12mbit/s would be calculated but matched against high-speed quotas. Reinitialise hcd->frame_usecs[i] on each port enable event so that full-speed bandwidth can be tracked sensibly. Also, don't bother using the FIQ for transfers when in full-speed mode - at the slower bus speed, interrupt frequency is reduced by an order of magnitude. Related issue: raspberrypi#2020
Collaborator
|
No complaints from last night's Milhouse LibreELEC build. |
popcornmix
added a commit
to raspberrypi/firmware
that referenced
this pull request
Jun 8, 2017
kernel: dwc_otg: make periodic scheduling behave properly for FS buses See: raspberrypi/linux#2038 kernel: dwc_otg: fiq_fsm: Make isochronous compatibility checks work properly See: raspberrypi/linux#2049 kernel: Add support for Allo Digione Driver See: raspberrypi/linux#2048 kernel: config: Adding SENSOR_JC42 See: raspberrypi/linux#2046 kernel: BCM270X_DT: Improve i2c-sensor and i2c-rtc overlay kernel: overlays: Fix i2c-rtc order and fragment numbering See: raspberrypi/linux#2059 kernel: BCM270X_DT: Add midi-uart1 overlay See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=183860 firmware: dtoverlay: Short-circuit empty parameter handling See: raspberrypi/linux#2028 firmware: rtos: Protect against null timer callback See: http://forum.kodi.tv/showthread.php?tid=280408 firmware: arm_dt: Add txp node to device tree parsing to mask off transposer interrupt firmware: venc: Correct the validation on custom mb/mbps/br settings See: #819
popcornmix
added a commit
to Hexxeh/rpi-firmware
that referenced
this pull request
Jun 8, 2017
kernel: dwc_otg: make periodic scheduling behave properly for FS buses See: raspberrypi/linux#2038 kernel: dwc_otg: fiq_fsm: Make isochronous compatibility checks work properly See: raspberrypi/linux#2049 kernel: Add support for Allo Digione Driver See: raspberrypi/linux#2048 kernel: config: Adding SENSOR_JC42 See: raspberrypi/linux#2046 kernel: BCM270X_DT: Improve i2c-sensor and i2c-rtc overlay kernel: overlays: Fix i2c-rtc order and fragment numbering See: raspberrypi/linux#2059 kernel: BCM270X_DT: Add midi-uart1 overlay See: https://www.raspberrypi.org/forums/viewtopic.php?f=107&t=183860 firmware: dtoverlay: Short-circuit empty parameter handling See: raspberrypi/linux#2028 firmware: rtos: Protect against null timer callback See: http://forum.kodi.tv/showthread.php?tid=280408 firmware: arm_dt: Add txp node to device tree parsing to mask off transposer interrupt firmware: venc: Correct the validation on custom mb/mbps/br settings See: raspberrypi/firmware#819
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
see #2020
This is a fix for the default parameters (microframe scheduling) not behaving well when the root port is in full-speed mode.
As a semi-bandaid fix, transfers in FS mode are not nominated for execution by FIQ code - there's still a bug in there relating to isochronous transfers misbehaving when the endpoint is being shutdown.