Skip to content

xhci cleanups and rework for usb-next

Mathias Nyman linux-usb 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18xhci: stored cached port capability values in one placedrivers/usb/host/xhci-mem.c drivers/usb/host/xhci.c drivers/usb/host/xhci.h+7 -280 replies
2/18xhci: remove xhci_check_usb2_port_capability helperdrivers/usb/host/xhci.c+8 -210 replies
3/18usb: xhci: check if 'requested segments' exceeds ERST capacitydrivers/usb/host/xhci-mem.c drivers/usb/host/xhci.h+14 -140 replies
4/18usb: xhci: improve debug message in xhci_ring_expansion_needed()drivers/usb/host/xhci-ring.c+2 -40 replies
5/18usb: xhci: address off-by-one in xhci_num_trbs_free()drivers/usb/host/xhci-ring.c+1 -10 replies
6/18usb: xhci: remove redundant variable 'erst_size'drivers/usb/host/xhci-dbgcap.c drivers/usb/host/xhci.h+1 -30 replies
7/18usb: xhci: use array_size() when allocating and freeing memorydrivers/usb/host/xhci-mem.c+7 -70 replies
8/18xhci: improve PORTSC register debugging outputdrivers/usb/host/xhci.h+6 -10 replies
9/18xhci: remove XHCI_TRUST_TX_LENGTH quirkdrivers/usb/host/xhci-pci.c drivers/usb/host/xhci-rcar.c drivers/usb/host/xhci-ring.c +1 more+10 -300 replies
10/18usb: xhci: prevent potential failure in handle_tx_event() for Transfer events without TRBdrivers/usb/host/xhci-ring.c+3 -20 replies
11/18usb: xhci: remove 'handling_skipped_tds' from handle_tx_event()drivers/usb/host/xhci-ring.c+4 -90 replies
12/18usb: xhci: replace goto with return when possible in handle_tx_event()drivers/usb/host/xhci-ring.c+3 -30 replies
13/18usb: xhci: remove goto 'cleanup' in handle_tx_event()drivers/usb/host/xhci-ring.c+21 -170 replies
14/18xhci: pci: Use full names in PCI IDs for Intel platformsdrivers/usb/host/xhci-pci.c+9 -90 replies
15/18xhci: pci: Group out Thunderbolt xHCI IDsdrivers/usb/host/xhci-pci.c+9 -70 replies
16/18xhci: pci: Use PCI_VENDOR_ID_RENESASdrivers/usb/host/xhci-pci.c+2 -20 replies
17/18usb: xhci: remove duplicate TRB_TO_SLOT_ID() callsdrivers/usb/host/xhci-ring.c+6 -110 replies
18/18usb: xhci: compact 'trb_in_td()' argumentsdrivers/usb/host/xhci-ring.c drivers/usb/host/xhci.h+16 -270 replies

Reviews trailers per patch

1 of 18 patches has a Reviewed-by or Acked-by.

PatchAndy Shevchenko
1/18
2/18
3/18
4/18
5/18
6/18
7/18R-b
8/18
9/18
10/18
11/18
12/18
13/18
14/18
15/18
16/18
17/18
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/18] xhci cleanups and rework for usb-next

Hi Greg

This series for usb-next is mostly xhci cleanups and refactoring.

Thanks
Mathias

Andy Shevchenko (3):
xhci: pci: Use full names in PCI IDs for Intel platforms
xhci: pci: Group out Thunderbolt xHCI IDs
xhci: pci: Use PCI_VENDOR_ID_RENESAS

Mathias Nyman (4):
xhci: stored cached port capability values in one place
xhci: remove xhci_check_usb2_port_capability helper
xhci: improve PORTSC register debugging output
xhci: remove XHCI_TRUST_TX_LENGTH quirk

Niklas Neronin (11):
usb: xhci: check if 'requested segments' exceeds ERST capacity
usb: xhci: improve debug message in xhci_ring_expansion_needed()
usb: xhci: address off-by-one in xhci_num_trbs_free()
usb: xhci: remove redundant variable 'erst_size'
usb: xhci: use array_size() when allocating and freeing memory
usb: xhci: prevent potential failure in handle_tx_event() for Transfer
events without TRB
usb: xhci: remove 'handling_skipped_tds' from handle_tx_event()
usb: xhci: replace goto with return when possible in handle_tx_event()
usb: xhci: remove goto 'cleanup' in handle_tx_event()
usb: xhci: remove duplicate TRB_TO_SLOT_ID() calls
usb: xhci: compact 'trb_in_td()' arguments

 drivers/usb/host/xhci-dbgcap.c |   2 +-
 drivers/usb/host/xhci-mem.c    |  48 +++++-------
 drivers/usb/host/xhci-pci.c    |  49 +++++-------
 drivers/usb/host/xhci-rcar.c   |   6 +-
 drivers/usb/host/xhci-ring.c   | 138 ++++++++++++++-------------------
 drivers/usb/host/xhci.c        |  38 ++-------
 drivers/usb/host/xhci.h        |  28 ++++---
 7 files changed, 121 insertions(+), 188 deletions(-)
Signature · 1 line
2.25.1