Skip to content

xhci features for usb-next

Mathias Nyman linux-usb 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest18 patches 2 repliesIn review
  2. v119 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18xhci: dbc: Drop duplicate checks for dma_free_coherent()drivers/usb/host/xhci-dbgcap.c+5 -90 replies
2/18xhci: dbc: Convert to use sysfs_streq()drivers/usb/host/xhci-dbgcap.c+2 -20 replies
3/18xhci: dbc: Use sysfs_emit() to instead of scnprintf()drivers/usb/host/xhci-dbgcap.c drivers/usb/host/xhci-dbgcap.h+17 -280 replies
4/18xhci: dbc: Use ATTRIBUTE_GROUPS()drivers/usb/host/xhci-dbgcap.c+4 -70 replies
5/18xhci: dbc: Check for errors first in xhci_dbc_stop()drivers/usb/host/xhci-dbgcap.c+4 -40 replies
6/18xhci: dbc: Don't shadow error codes in store() functionsdrivers/usb/host/xhci-dbgcap.c+18 -80 replies
7/18xhci: dbc: Replace custom return value with proper Linux error codedrivers/usb/host/xhci-dbgcap.c+1 -10 replies
8/18xhci: dbc: Use sizeof(*pointer) instead of sizeof(type)drivers/usb/host/xhci-dbgcap.c+3 -30 replies
9/18xhci: dbc: Add missing headersdrivers/usb/host/xhci-dbgcap.c+16 -10 replies
10/18xhci: check if legacy irq is available before using it as fallbackdrivers/usb/host/xhci-pci.c+1 -10 replies
11/18xhci: add handler for only one interrupt linedrivers/usb/host/xhci-pci.c+10 -250 replies
12/18xhci: refactor static MSI-X functiondrivers/usb/host/xhci-pci.c+28 -400 replies
13/18xhci: refactor static MSI functiondrivers/usb/host/xhci-pci.c+15 -340 replies
14/18xhci: change 'msix_count' to encompass MSI or MSI-X vectorsdrivers/usb/host/xhci-pci.c drivers/usb/host/xhci.h+9 -90 replies
15/18xhci: rework 'xhci_try_enable_msi()' MSI and MSI-X setup codedrivers/usb/host/xhci-pci.c+15 -290 replies
16/18xhci: minor coding style cleanup in 'xhci_try_enable_msi()'drivers/usb/host/xhci-pci.c+3 -50 replies
17/18xhci: Reconfigure endpoint 0 max packet size only during endpoint resetdrivers/usb/host/xhci.c+42 -430 replies
18/18xhci: fix possible null pointer deref during xhci urb enqueuedrivers/usb/host/xhci.c+23 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/18] xhci features for usb-next

Hi Greg

V2 of xhci features and cleanups for usb-next, including xhci dbc cleanups, MSI rework, and fixing how we reconfigure max packet size for xhc.

One patch fixes a null pointer deref issue, but this hasn't been seen in real life. It's a theoretical case triggered by adding a 3 second delay in the driver.
So I don't think it should go to stable.

v2 drops one small cleanup patch as it turned out to not really clarify or simplify things. This was [PATCH 08/19] "xhci: dbc: Use sizeof_field()
where it makes sense" in previous series.

Thanks
Mathias

Andy Shevchenko (9):
xhci: dbc: Drop duplicate checks for dma_free_coherent()
xhci: dbc: Convert to use sysfs_streq()
xhci: dbc: Use sysfs_emit() to instead of scnprintf()
xhci: dbc: Use ATTRIBUTE_GROUPS()
xhci: dbc: Check for errors first in xhci_dbc_stop()
xhci: dbc: Don't shadow error codes in store() functions
xhci: dbc: Replace custom return value with proper Linux error code
xhci: dbc: Use sizeof(*pointer) instead of sizeof(type)
xhci: dbc: Add missing headers

Mathias Nyman (2):
xhci: Reconfigure endpoint 0 max packet size only during endpoint
reset
xhci: fix possible null pointer deref during xhci urb enqueue

Niklas Neronin (7):
xhci: check if legacy irq is available before using it as fallback
xhci: add handler for only one interrupt line
xhci: refactor static MSI-X function
xhci: refactor static MSI function
xhci: change 'msix_count' to encompass MSI or MSI-X vectors
xhci: rework 'xhci_try_enable_msi()' MSI and MSI-X setup code
xhci: minor coding style cleanup in 'xhci_try_enable_msi()'

 drivers/usb/host/xhci-dbgcap.c | 130 +++++++++++++++---------------
 drivers/usb/host/xhci-dbgcap.h |   1 +
 drivers/usb/host/xhci-pci.c    | 140 +++++++++------------------------
 drivers/usb/host/xhci.c        | 123 +++++++++++++++--------------
 drivers/usb/host/xhci.h        |   4 +-
 5 files changed, 174 insertions(+), 224 deletions(-)
Signature · 1 line
2.25.1