Skip to content
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

dwc_otg: add module parameter int_ep_interval_min #2067

Merged
merged 1 commit into from
Jun 12, 2017

Conversation

P33M
Copy link
Contributor

@P33M P33M commented Jun 12, 2017

Add a module parameter (defaulting to ignored) that clamps the polling rate
of high-speed Interrupt endpoints to a minimum microframe interval.

The parameter is modifiable at runtime as it is used when activating new
endpoints (such as on device connect).

Related: #2023

Add a module parameter (defaulting to ignored) that clamps the polling rate
of high-speed Interrupt endpoints to a minimum microframe interval.

The parameter is modifiable at runtime as it is used when activating new
endpoints (such as on device connect).
@P33M P33M requested a review from popcornmix June 12, 2017 15:54
@popcornmix
Copy link
Collaborator

Looks fine. If you want to enforce power of two then you could use (1<<int_ep_interval_min), but I'm happy to merge it as is.

@P33M
Copy link
Contributor Author

P33M commented Jun 12, 2017

Technically using any integer interval would work, so it seems unnecessarily restrictive to enforce it. The USB spec requires servicing intervals in descriptors to be a power of two, but I doubt there would be any practical effect as we're servicing endpoints slower than requested anyway.

@popcornmix popcornmix merged commit 8327f28 into raspberrypi:rpi-4.9.y Jun 12, 2017
popcornmix added a commit to raspberrypi/firmware that referenced this pull request Jun 13, 2017
See: raspberrypi/linux#2066

kernel: dwc_otg: add module parameter int_ep_interval_min
See: raspberrypi/linux#2067

firmware: venc: Correct the validation on custom mb/mbps/br settings
See: #819

firmware: vc_image: Remove structure definition duplication
firmware: vc_image/mmal/il/isp: Add support for 16bit/component YUV420 and YUVUV

firmware: vcdbg: Don't use dma when file provided

firmware: rtos: Avoid sleeping delay when RTOS is not present

firmware: bootcode: Remove reliance on scanf to reduce bootcode.bin size
firmware: bootcode: Changes to force to full speed
firmware: bootcode: Make sure bootcode drops out
firmware: bootcode: Mass storage changes to power off/on USB block
firmware: bootcode: Change USB 1.1 to have 64 byte endpoints
firmware: bootcode: Set MSD serial number to be the Pi serial number
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request Jun 13, 2017
See: raspberrypi/linux#2066

kernel: dwc_otg: add module parameter int_ep_interval_min
See: raspberrypi/linux#2067

firmware: venc: Correct the validation on custom mb/mbps/br settings
See: raspberrypi/firmware#819

firmware: vc_image: Remove structure definition duplication
firmware: vc_image/mmal/il/isp: Add support for 16bit/component YUV420 and YUVUV

firmware: vcdbg: Don't use dma when file provided

firmware: rtos: Avoid sleeping delay when RTOS is not present

firmware: bootcode: Remove reliance on scanf to reduce bootcode.bin size
firmware: bootcode: Changes to force to full speed
firmware: bootcode: Make sure bootcode drops out
firmware: bootcode: Mass storage changes to power off/on USB block
firmware: bootcode: Change USB 1.1 to have 64 byte endpoints
firmware: bootcode: Set MSD serial number to be the Pi serial number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants