Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
dwc_otg: Rewrite driver to include FIQ_FSM
This extensive rewrite changes the operational capabilities of the FIQ to perform the entirety of a split transaction in FIQ context. The advantages are numerous: - Total CPU interrupt processing time is reduced by ~90% - Interrupt latency no longer affects split transactions, except in extreme cases - NAK holdoff is now adjustable All driver options relating to the FIQ have been changed. - dwc_otg.fiq_enable - dwc_otg.fiq_fsm_enable - dwc_otg.fiq_fsm_mask - dwc_otg.nak_holdoff See the code for how to set the module options. Known bugs: - Isochronous OUT transfers are subject to occasional data corruption. - Unplugging the root port or booting with the root port disconnected will result in the interrupt handling breaking and USB becoming unresponsive - Setting dwc_otg.fiq_enable=0 causes interrupt handling to break.
- Loading branch information
1 parent
da615ca
commit e18eaac
Showing
15 changed files
with
2,872 additions
and
957 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.