Skip to content

xhci rework real & fake ports

Niklas Neronin linux-usb 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xhci: rework how real & fake ports are founddrivers/usb/host/xhci-mem.c+15 -190 replies
2/3xhci: replace real & fake port with pointer to root hub portdrivers/usb/host/xhci-hub.c drivers/usb/host/xhci-mem.c drivers/usb/host/xhci-mtk-sch.c +3 more+35 -450 replies
3/3xhci: save slot ID in struct 'xhci_port'drivers/usb/host/xhci-hub.c drivers/usb/host/xhci-mem.c drivers/usb/host/xhci-pci.c +2 more+26 -750 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] xhci rework real & fake ports

This commit aims to remove the confusing real & fake port variables and improve how slot ID is found using fake port.

Clarification on real and fake ports:
- 'real port' refers to a unique hardware port number.
- 'fake_port' refers to the port number within a port hub. Its only function is to facilitate the identification of the slot ID, this process is very inefficient.

Niklas Neronin (3):
xhci: rework how real & fake ports are found
xhci: replace real & fake port with pointer to root hub port
xhci: save slot ID in struct 'xhci_port'

 drivers/usb/host/xhci-hub.c     | 69 ++++++---------------------------
 drivers/usb/host/xhci-mem.c     | 56 +++++++++++++-------------
 drivers/usb/host/xhci-mtk-sch.c | 14 +++----
 drivers/usb/host/xhci-pci.c     | 10 ++---
 drivers/usb/host/xhci-ring.c    | 11 ++----
 drivers/usb/host/xhci-trace.h   | 12 +++---
 drivers/usb/host/xhci.c         | 12 +++---
 drivers/usb/host/xhci.h         |  7 ++--
 8 files changed, 64 insertions(+), 127 deletions(-)
Signature · 1 line
2.42.0