usb: xhci: enhancements to Interrupt Register Set code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | usb: xhci: set requested IMODI to the closest supported valuedrivers/ drivers/ | +6 | 1 reply | |
| 2/9 | usb: xhci: improve Interrupt Management register macrosdrivers/ drivers/ | +10 | 0 replies | |
| 3/9 | usb: xhci: guarantee that IMAN register is flusheddrivers/ drivers/ | +6 | 0 replies | |
| 4/9 | usb: xhci: remove '0' write to write-1-to-clear registerdrivers/ | +7 | 0 replies | |
| 5/9 | usb: xhci: rework Event Ring Segment Table Size maskdrivers/ drivers/ | +4 | 0 replies | |
| 6/9 | usb: xhci: rework Event Ring Segment Table Address maskdrivers/ drivers/ | +4 | 0 replies | |
| 7/9 | usb: xhci: cleanup IMOD register commentsdrivers/ | +18 | 0 replies | |
| 8/9 | usb: xhci: rename 'irq_pending' to 'iman'drivers/ drivers/ drivers/ | +17 | 0 replies | |
| 9/9 | usb: xhci: rename 'irq_control' to 'imod'drivers/ drivers/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] usb: xhci: enhancements to Interrupt Register Set code
These changes were inspired by reading the xHCI specification and searching for the corresponding code within the xhci driver.
Key improvements include:
* Adjusting the names of Interrupt Register Set values to better match their counterparts in the xHCI specification, facilitating easier cross-referencing.
* Simplify bit masks to ensure they only cover their relevant bits, reducing complexity and potential issues.
* Reword and add comments.
Niklas Neronin (9):
usb: xhci: set requested IMODI to the closest supported value
usb: xhci: improve Interrupt Management register macros
usb: xhci: guarantee that IMAN register is flushed
usb: xhci: remove '0' write to write-1-to-clear register
usb: xhci: rework Event Ring Segment Table Size mask
usb: xhci: rework Event Ring Segment Table Address mask
usb: xhci: cleanup IMOD register comments
usb: xhci: rename 'irq_pending' to 'iman'
usb: xhci: rename 'irq_control' to 'imod'
drivers/usb/host/xhci-mem.c | 13 +++---- drivers/usb/host/xhci-ring.c | 11 +++--- drivers/usb/host/xhci.c | 43 +++++++++++++--------- drivers/usb/host/xhci.h | 70 ++++++++++++++++++------------------ 4 files changed, 73 insertions(+), 64 deletions(-)
Signature · 1 line
2.47.2