mbox series

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

Message ID 20240429140245.3955523-1-mathias.nyman@linux.intel.com
Headers show
Series xhci cleanups and rework for usb-next | expand

Message

Mathias Nyman April 29, 2024, 2:02 p.m. UTC
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(-)