mbox series

[v3,0/3] add xhci hooks for USB offload

Message ID 20221213141005.3068792-1-albertccwang@google.com (mailing list archive)
Headers show
Series add xhci hooks for USB offload | expand

Message

Albert Wang Dec. 13, 2022, 2:10 p.m. UTC
This serial patches enable the xhci driver to support USB offload, add
hooks for vendor to have customized behavior for the initialization,
memory allocation. Details are in each patch commit message. Meanwhile,
the offload function implementations is uploaded as well.

Albert Wang (1):
  usb: host: add the xhci offload hooks implementations

Howard Yen (2):
  usb: host: add xhci hooks for USB offload
  usb: xhci-plat: add xhci_plat_priv_overwrite

 drivers/usb/host/aoc-usb.c           | 198 ++++++++++++++
 drivers/usb/host/aoc-usb.h           | 108 ++++++++
 drivers/usb/host/xhci-mem.c          |  97 ++++++-
 drivers/usb/host/xhci-offload-impl.c | 396 +++++++++++++++++++++++++++
 drivers/usb/host/xhci-plat.c         |  43 +++
 drivers/usb/host/xhci-plat.h         |   8 +
 drivers/usb/host/xhci.c              |  21 ++
 drivers/usb/host/xhci.h              |  31 +++
 8 files changed, 889 insertions(+), 13 deletions(-)
 create mode 100644 drivers/usb/host/aoc-usb.c
 create mode 100644 drivers/usb/host/aoc-usb.h
 create mode 100644 drivers/usb/host/xhci-offload-impl.c

---
Changes in v3:
- Add the offload implementation files