Skip to content

xhci features for usb-next

Mathias Nyman linux-usb 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest27 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/27xhci: Make debug message consistent with bus and port numberdrivers/usb/host/xhci-hub.c+23 -180 replies
2/27xhci: dbc: Don't use generic xhci inc_deq() function for dbcdrivers/usb/host/xhci-dbgcap.c+13 -10 replies
3/27xhci: Don't pass struct xhci_hcd pointer to xhci_link_seg()drivers/usb/host/xhci-mem.c+20 -110 replies
4/27xhci: dbc: Don't use generic xhci erst allocation and free functionsdrivers/usb/host/xhci-dbgcap.c+28 -30 replies
5/27xhci: dbc: Remove dbc_dma_alloc_coherent() wrapperdrivers/usb/host/xhci-dbgcap.c+2 -150 replies
6/27xhci: dbc: Remove dbc_dma_free_coherent() wrapperdrivers/usb/host/xhci-dbgcap.c+2 -120 replies
7/27xhci: dbc: Add device pointer to dbc structuredrivers/usb/host/xhci-dbgcap.c drivers/usb/host/xhci-dbgcap.h+2 -00 replies
8/27xhci: dbc: Use dev_info() and similar instead of xhci_info()drivers/usb/host/xhci-dbgcap.c+21 -210 replies
9/27xhci: dbc: Don't use xhci_write_64() as it takes xhci as a parameterdrivers/usb/host/xhci-dbgcap.c+5 -40 replies
10/27xhci: dbc: Don't pass the xhci pointer as a parameter to xhci_dbc_init_context()drivers/usb/host/xhci-dbgcap.c+2 -40 replies
11/27xhci: dbc: Get the device pointer from dbc structure in dbc_ep_do_queue()drivers/usb/host/xhci-dbgcap.c+1 -40 replies
12/27xhci: dbc: Pass dbc pointer to endpoint init and exit functions.drivers/usb/host/xhci-dbgcap.c+7 -100 replies
13/27xhci: dbc: Change to pass dbc pointer to xhci_do_dbc_stop()drivers/usb/host/xhci-dbgcap.c+2 -40 replies
14/27xhci: dbc: Pass dbc pointer to dbc_handle_xfer_event() instead of xhci_hcd pointerdrivers/usb/host/xhci-dbgcap.c+2 -40 replies
15/27xhci: dbgtty: Pass dbc pointer when registering a dbctty devicedrivers/usb/host/xhci-dbgcap.c drivers/usb/host/xhci-dbgcap.h drivers/usb/host/xhci-dbgtty.c+8 -120 replies
16/27xhci: dbc: Pass dbc pointer to get_in/out_ep() helper functions to get endpointsdrivers/usb/host/xhci-dbgcap.c drivers/usb/host/xhci-dbgcap.h drivers/usb/host/xhci-dbgtty.c+12 -160 replies
17/27xhci: dbc: Use dbc structure in the request completion instead of xhci_hcddrivers/usb/host/xhci-dbgcap.c drivers/usb/host/xhci-dbgcap.h drivers/usb/host/xhci-dbgtty.c+23 -260 replies
18/27xhci: dbc: Don't use generic xhci context allocation for dbcdrivers/usb/host/xhci-dbgcap.c+30 -30 replies
19/27xhci: dbc: don't use generic xhci ring allocation functions for dbc.drivers/usb/host/xhci-dbgcap.c drivers/usb/host/xhci-mem.c drivers/usb/host/xhci.h+74 -120 replies
20/27xhci: dbc: Pass dbc pointer to dbc memory init and cleanup functionsdrivers/usb/host/xhci-dbgcap.c+5 -90 replies
21/27xhci: dbc: Pass dbc pointer to dbc start and stop functions.drivers/usb/host/xhci-dbgcap.c+14 -150 replies
22/27xhci: dbc: simplify dbc requests allocation and queueingdrivers/usb/host/xhci-dbgcap.c drivers/usb/host/xhci-dbgcap.h drivers/usb/host/xhci-dbgtty.c+52 -360 replies
23/27xhci: dbc: remove endpoint pointers from dbc_port structuredrivers/usb/host/xhci-dbgcap.h drivers/usb/host/xhci-dbgtty.c+0 -40 replies
24/27xhci: dbctty: split dbc tty driver registration and unregistration functions.drivers/usb/host/xhci-dbgcap.c drivers/usb/host/xhci-dbgcap.h drivers/usb/host/xhci-dbgtty.c+81 -540 replies
25/27xhci: dbc: Add a operations structure to access driver functionsdrivers/usb/host/xhci-dbgcap.c drivers/usb/host/xhci-dbgcap.h drivers/usb/host/xhci-dbgtty.c+21 -150 replies
26/27xhci: dbgcap: remove dbc dependency on dbctty specific flagdrivers/usb/host/xhci-dbgcap.c drivers/usb/host/xhci-dbgtty.c+17 -40 replies
27/27xhci: dbc: remove tty specific port structure from struct xhci_dbcdrivers/usb/host/xhci-dbgcap.h drivers/usb/host/xhci-dbgtty.c+24 -70 replies

Reviews trailers per patch

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

Read the v1 thread

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

Hi Greg

This series for usb-next is almost completely about decoupling and cleaning up relations between xhci, xhci debug capability (DbC), and the DbC tty support.

Real motivation behind this is to later turn DbC into a proper device allowing us to bind different drivers to it, like dbctty.

Thanks
-Mathias

Kai-Heng Feng (1):
xhci: Make debug message consistent with bus and port number

Mathias Nyman (26):
xhci: dbc: Don't use generic xhci inc_deq() function for dbc
xhci: Don't pass struct xhci_hcd pointer to xhci_link_seg()
xhci: dbc: Don't use generic xhci erst allocation and free functions
xhci: dbc: Remove dbc_dma_alloc_coherent() wrapper
xhci: dbc: Remove dbc_dma_free_coherent() wrapper
xhci: dbc: Add device pointer to dbc structure
xhci: dbc: Use dev_info() and similar instead of xhci_info()
xhci: dbc: Don't use xhci_write_64() as it takes xhci as a parameter
xhci: dbc: Don't pass the xhci pointer as a parameter to
xhci_dbc_init_context()
xhci: dbc: Get the device pointer from dbc structure in

    dbc_ep_do_queue()

xhci: dbc: Pass dbc pointer to endpoint init and exit functions.
xhci: dbc: Change to pass dbc pointer to xhci_do_dbc_stop()
xhci: dbc: Pass dbc pointer to dbc_handle_xfer_event() instead of
xhci_hcd pointer
xhci: dbgtty: Pass dbc pointer when registering a dbctty device
xhci: dbc: Pass dbc pointer to get_in/out_ep() helper functions to get
endpoints
xhci: dbc: Use dbc structure in the request completion instead of
xhci_hcd
xhci: dbc: Don't use generic xhci context allocation for dbc
xhci: dbc: don't use generic xhci ring allocation functions for dbc.
xhci: dbc: Pass dbc pointer to dbc memory init and cleanup functions
xhci: dbc: Pass dbc pointer to dbc start and stop functions.
xhci: dbc: simplify dbc requests allocation and queueing
xhci: dbc: remove endpoint pointers from dbc_port structure
xhci: dbctty: split dbc tty driver registration and unregistration
functions.
xhci: dbc: Add a operations structure to access driver functions
xhci: dbgcap: remove dbc dependency on dbctty specific flag
xhci: dbc: remove tty specific port structure from struct xhci_dbc

 drivers/usb/host/xhci-dbgcap.c | 391 +++++++++++++++++++++------------
 drivers/usb/host/xhci-dbgcap.h |  69 +++---
 drivers/usb/host/xhci-dbgtty.c | 219 +++++++++++-------
 drivers/usb/host/xhci-hub.c    |  41 ++--
 drivers/usb/host/xhci-mem.c    |  35 +--
 drivers/usb/host/xhci.h        |   2 +
 6 files changed, 462 insertions(+), 295 deletions(-)
Signature · 1 line
2.17.1