Linux USB
 help / color / mirror / Atom feed
* [PATCH 00/13] usb: xhci: Host Controller Capability Registers rework
@ 2025-11-10 15:14 Niklas Neronin
  2025-11-10 15:14 ` [PATCH 01/13] usb: xhci: remove deprecated TODO comment Niklas Neronin
                   ` (12 more replies)
  0 siblings, 13 replies; 19+ messages in thread
From: Niklas Neronin @ 2025-11-10 15:14 UTC (permalink / raw)
  To: mathias.nyman; +Cc: linux-usb, Niklas Neronin

This patch series focuses on improving the definitions and organization of
the Host Controller Capability Registers macros in the xhci driver.
It is the first step in a larger effort to clean up and restructure the
xhci header files for better readability and maintainability.

Because the Structural Parameters 1 register (part of the HC Capability
Registers) relies heavily on xhci-caps.h, a few related patches from
another ongoing rework have been included here as well. These address the
handling of Max Ports and Max Interrupters values.
The Max Slots handling will follow the same pattern in a future series.
That change is more involved and will be submitted separately.

Niklas Neronin (13):
  usb: xhci: remove deprecated TODO comment
  usb: xhci: remove unused trace operation and argument
  usb: xhci: use cached HCSPARAMS1 value
  usb: xhci: simplify handling of Structural Parameters 1 values
  usb: xhci: limit number of ports to 127
  usb: xhci: limit number of interrupts to 128
  usb: xhci: improve xhci-caps.h comments
  usb: xhci: simplify Isochronous Scheduling Threshold handling
  usb: xhci: simplify Max Scratchpad buffer macros
  usb: xhci: drop xhci-caps.h dependence on xhci-ext-caps.h
  usb: xhci: standardize single bit-field macros
  usb: xhci: standardize multi bit-field macros
  usb: xhci: use 64-bit Addressing Capability macro

 drivers/usb/host/xhci-caps.h    | 188 ++++++++++++++++++--------------
 drivers/usb/host/xhci-debugfs.c |  20 ++--
 drivers/usb/host/xhci-histb.c   |   2 +-
 drivers/usb/host/xhci-hub.c     |  12 +-
 drivers/usb/host/xhci-mem.c     |  41 +++----
 drivers/usb/host/xhci-mtk.c     |   4 +-
 drivers/usb/host/xhci-pci.c     |   6 +-
 drivers/usb/host/xhci-plat.c    |   2 +-
 drivers/usb/host/xhci-ring.c    |  40 ++++---
 drivers/usb/host/xhci-tegra.c   |   5 +-
 drivers/usb/host/xhci-trace.h   |  20 +---
 drivers/usb/host/xhci.c         |  57 +++++-----
 drivers/usb/host/xhci.h         |  16 ++-
 13 files changed, 212 insertions(+), 201 deletions(-)

-- 
2.50.1


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2025-11-13 10:36 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-10 15:14 [PATCH 00/13] usb: xhci: Host Controller Capability Registers rework Niklas Neronin
2025-11-10 15:14 ` [PATCH 01/13] usb: xhci: remove deprecated TODO comment Niklas Neronin
2025-11-10 15:14 ` [PATCH 02/13] usb: xhci: remove unused trace operation and argument Niklas Neronin
2025-11-10 15:14 ` [PATCH 03/13] usb: xhci: use cached HCSPARAMS1 value Niklas Neronin
2025-11-10 15:14 ` [PATCH 04/13] usb: xhci: simplify handling of Structural Parameters 1 values Niklas Neronin
2025-11-10 15:14 ` [PATCH 05/13] usb: xhci: limit number of ports to 127 Niklas Neronin
2025-11-10 15:14 ` [PATCH 06/13] usb: xhci: limit number of interrupts to 128 Niklas Neronin
2025-11-10 15:14 ` [PATCH 07/13] usb: xhci: improve xhci-caps.h comments Niklas Neronin
2025-11-10 15:14 ` [PATCH 08/13] usb: xhci: simplify Isochronous Scheduling Threshold handling Niklas Neronin
2025-11-12 16:11   ` Michal Pecio
2025-11-10 15:14 ` [PATCH 09/13] usb: xhci: simplify Max Scratchpad buffer macros Niklas Neronin
2025-11-10 15:14 ` [PATCH 10/13] usb: xhci: drop xhci-caps.h dependence on xhci-ext-caps.h Niklas Neronin
2025-11-10 15:14 ` [PATCH 11/13] usb: xhci: standardize single bit-field macros Niklas Neronin
2025-11-11  8:51   ` Sakari Ailus
2025-11-13 10:34     ` Mathias Nyman
2025-11-10 15:14 ` [PATCH 12/13] usb: xhci: standardize multi " Niklas Neronin
2025-11-11  6:10   ` kernel test robot
2025-11-11 10:00   ` kernel test robot
2025-11-10 15:14 ` [PATCH 13/13] usb: xhci: use 64-bit Addressing Capability macro Niklas Neronin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox