source: mainline/uspace/drv/bus/usb/xhci/hc.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @defaab2   7 years aearsis xhci: tune log levels lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @51c1d500   7 years aearsis xhci: move HC semantics from endpoint/device to hc module lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @abb5d08   7 years aearsis xhci: free context in case of an error lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7ec7b7e   7 years jenda.jzqk73 Handling HCs with 32 or 64-bytes context size lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @69b2dfee   7 years aearsis xhci: satisfy picky Intel xHC lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7e5a12b   7 years aearsis xhci: make enable/disable slot symmetric Previously, device slot … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2833bb4   7 years aearsis xhci: recognise hubs lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a4e7e6e1   7 years aearsis xhci: setup also slot context where needed lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fb28cde   7 years aearsis xhci: changed api to get dequeue state of trb ring lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @05770666   7 years aearsis xhci rh: try to detect hidden connected devices at startup lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2c0564c   7 years aearsis xhci: handle potentially blocking events in separate fibril lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a9fcd73   7 years aearsis xhci: rewrite RH to use usb/port lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @feabe163   7 years salmelu xhci: common transfer errors detected and logged lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a1732929   7 years aearsis usb: unified logging Use logger instead of printf. Logger adds … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8a98e4a   7 years aearsis xhci: implemented TT lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @001778c   7 years aearsis xhci: set slot context entries to maximum lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @598733c9   7 years jenda.jzqk73 fix broken debug messages && make it compile lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @837581fd   7 years aearsis xhci: logging changes lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @94e9c29   7 years salmelu xhci: Isoch mfindex epoch counting Isochronous mfindex is now saved … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0e7380f   7 years aearsis xhci: wait for conditions to hold in a systematic way lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fb154e13   7 years aearsis xhci: revised roothub event handling According to the xHCI … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5d25984   7 years aearsis xhci: removed misleading debug log lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a75f9cbc   7 years aearsis xhci: try to identify custom speeds lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f3baab1   7 years aearsis xhci: do not rely on internal fibril quirks Previousy, we abused the … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @665368c   7 years salmelu xhci: Start tracking mfindex wraps lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @30fc56f   7 years aearsis xhci: stop endpoint on unregister lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @53a9d02   7 years aearsis usb: fix errors introduced by recent changes lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @708d8fcd   7 years aearsis xhci: rewritten isochronous transfers There was a fundamental problem … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @eb928c4   7 years aearsis xhci: documentation & cleanup Also, a simple refactoring to remove … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @63431db   7 years aearsis xhci: remove unnecessary field lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b60944b   7 years aearsis xhci: inline hc_dcbaa_fini lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @deb2e55   7 years petr.manek usbhost: refactoring Moved the "online" attribute from xhci_device_t … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f543804   7 years aearsis xhci: fix 32-bit write of EHB not being noticed lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @503086d8   7 years aearsis xhci: get IRQ when an error occures lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4abb134   7 years aearsis xhci: fix not setting RCS flag lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @15f8079   7 years aearsis xhci: Program max_slots correctly lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @32fb6bce   7 years aearsis usbhost: refactoring This commit moves interrupt, status and schedule … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6832245   7 years aearsis usbhost bus: refactor the bus ops This way, method names better … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @889146e   7 years aearsis xhci: commands shall not just timeout Previous behavior was breaking … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @306a36d   7 years Hlavaty.Ondrej xhci: configuration of endpoint 0 Moved fetching of the first 8B of … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e76c0ea   7 years petr.manek Renamed and simplified static method for input context allocation. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b80c1ab   7 years Hlavaty.Ondrej xhci: use dma_buffers instead of malloc32 util A bit of refactoring … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9620a54   7 years petr.manek Small changes. Temporarily fixed no device problem for endpoint … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @928afc8d   7 years aearsis xhci: unleash the full power of xhci_cmd_sync_inline lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2cf28b9   7 years aearsis xhci: connecting devices deeper than to roothub It still does not … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f668d60   7 years aearsis xhci: moved speed back to HC, keeping usb speed → port speed mapping lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a5b3de6   7 years aearsis usbhost endpoint: removed target The reasons for having usb_target_t … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c3d926f   7 years petr.manek Big command refactoring. Unified and encapsulated command function … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0206d35   7 years aearsis Moving things around to improve isolation of responsibilities Bus … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b724494   7 years petr.manek Moved some code from RH to HC. Simplified device address process. … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2b61945   7 years aearsis xhci: use device_t for bookkeeping This started as a little … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5fd9c30   7 years aearsis usbhost refactoring: let transfer_batch be initialized by bus … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f270ecb   7 years petr.manek Implemented disable slot for device detachment. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8ea7459   7 years petr.manek Refactored some parts of RH to HC. Also moved some bus ops around. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1252e81   7 years petr.manek Added boilerplate function for isoch transfers. Some more checks. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2896ff6   7 years petr.manek Vaguer log level. Extracted timeout constant from command completion … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0f6b50f   7 years petr.manek Added DDF device to HCD initialization to prepare RH data structures … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @dbf32b1   7 years aearsis xhci: cleanup And by the way… the USB mouse is now working :) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9b2f69e   7 years petr.manek Setting up endpoint contexts (almost) properly. Boilerplate for … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2770b66   7 years petr.manek Fixed few bugs related to control transfers and some deadlocks. … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @20eaa82   7 years aearsis usbhost refactoring: introduced bus→enumerate_device lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @dcf0597   7 years aearsis xhci rh: move away from virthub xHC's root hub is too different from … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e6b9182   7 years aearsis WIP usbhost refactoring: ohci completed Along with that we noticed … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @41924f30   7 years aearsis WIP usbhost refactoring This commit replaces callbacks with more … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @42bc933   7 years salmelu Dummy for bulk transfers (need to support streams) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a0be5d0   7 years salmelu Moved ring_doorbell, added address check lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e9e24f2   7 years salmelu Basic commands transfer implementation lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @078e0e6   7 years Jaroslav Jindrak Removed unnecessary calls to malloc32 and free32. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @816335c   7 years aearsis xhci: port speed detected properly The correct way to determine … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5c5c9407   7 years petr.manek Implemented GetPortStatus request using XHCI port registers. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @472235a   7 years aearsis xhci: refactoring Revise error paths, refactor some code. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @efe9463   7 years aearsis xhci: fix the irq code once again Previous code unintentionally … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @adb4e683   7 years Jaroslav Jindrak Refactored the way event handling works, now we fetch all of the event … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @370a1c8   7 years salmelu Extcap fix, not correctly determine if port is USB 2/3 lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4d28d86   7 years jenda cstyle lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c9d905f   7 years jenda macros for handoff delay lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e6b0dba   7 years jenda BIOS handover lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ab5a0830   7 years aearsis Handle interrupts correctly Now, irq_commands asserts all flags in … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3d8a3bd   7 years Jaroslav Jindrak Fixed the issue that cause waiting for command completion in alloc_dev … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @decfc8d1   7 years Jaroslav Jindrak Dcbaa_virt now contains the virtual device contexts instead of just … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8b415cc   7 years Jaroslav Jindrak Fixed root hub interrupt detection logic. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ee28ae66   7 years Jaroslav Jindrak Fixed deallocation in case of command init failure. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d271f78   7 years Jaroslav Jindrak Fixed deallocation incase of rh_init failure. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c33c40e   7 years petr.manek Fixed infinite loop bug. Support non-zero address for RH. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @17f24d9   7 years petr.manek Discovered correct way of determining RH address. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @60ac352   7 years petr.manek Better way to detect root hub interrupts. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @07c08ea   7 years petr.manek Basic virtual implementation for the root hub. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @d32d51d   7 years petr.manek Updated RH implementation with virtual hub emulation structure. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @706a3e2   7 years Jaroslav Jindrak Dcbaa_virt now points to virtual device contexts that contain pointers … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @275f529   7 years petr.manek Detecting transfer types. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9ee13a7   7 years Jaroslav Jindrak Fixed deallocation, corrected cstyle, removed trailing whitespace, … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @73e5b62   7 years Jaroslav Jindrak DCBAA now correctly holds physical addresses of the device contexts, a … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c9bec1c   7 years Jaroslav Jindrak Refactored the add_command function, the return of the cmd was meant … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @eff60ca   7 years Jaroslav Jindrak Refactored the code to ease up the load of irrelevant information in … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c46c356   7 years Jaroslav Jindrak Added command list deallocation during hc finalization. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e50bdd92   7 years Jaroslav Jindrak Event handler now processes all event trbs that belong to us on the … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a06fd64   7 years Jaroslav Jindrak Fixed the ERDP update, we were missing macro definitions for EHB and … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @aee352c   7 years Jaroslav Jindrak Added a temporary workaround about faulty interrupts (IP being reset … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @12fba858   7 years Jaroslav Jindrak Fixed the value of ERDP sent to the xHC, according to section 4.9.4 it … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @955e988   7 years Jaroslav Jindrak Fixed cstyle. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Note: See TracRevisionLog for help on using the revision log.