[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1646648256-105214-1-git-send-email-dh10.jung@samsung.com>
Date: Mon, 7 Mar 2022 19:17:32 +0900
From: Daehwan Jung <dh10.jung@...sung.com>
To: Mathias Nyman <mathias.nyman@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-usb@...r.kernel.org (open list:USB XHCI DRIVER),
linux-kernel@...r.kernel.org (open list),
Howard Yen <howardyen@...gle.com>,
Jack Pham <jackp@...eaurora.org>,
Puma Hsu <pumahsu@...gle.com>,
"J . Avila" <elavila@...gle.com>,
Daehwan Jung <dh10.jung@...sung.com>, sc.suh@...sung.com,
cpgs@...sung.com, cpgsproxy5@...sung.com
Subject: [PATCH v2 0/4] support USB offload feature
This patchset is for USB offload feature, which makes Co-processor to use
some memories of xhci. Especially it's useful for USB Audio scenario.
Audio stream would get shortcut because Co-processor directly write/read
data in xhci memories. It could get speed-up using faster memory like SRAM.
That's why this gives vendors flexibilty of memory management.
Several pathches have been merged in AOSP kernel(android12-5.10) and I put
together and split into 3 patches. Plus let me add user(xhci-exynos)
module to see how user could use it.
To sum up, it's for providing xhci memories to Co-Processor.
It would cover DCBAA, Device Context, Transfer Ring, Event Ring, ERST.
It needs xhci hooks and to export some xhci symbols.
Changes in v2 :
- Fix commit message by adding Signed-off-by in each patch.
- Fix conflict on latest.
Daehwan Jung (4):
usb: host: export symbols for xhci hooks usage
usb: host: add xhci hooks for USB offload
usb: host: add some to xhci overrides for USB offload
usb: host: add xhci-exynos module
drivers/usb/host/xhci-exynos.c | 2025 ++++++++++++++++++++++++++++++++
drivers/usb/host/xhci-exynos.h | 150 +++
drivers/usb/host/xhci-hub.c | 7 +
drivers/usb/host/xhci-mem.c | 160 ++-
drivers/usb/host/xhci-plat.c | 43 +-
drivers/usb/host/xhci-plat.h | 8 +
drivers/usb/host/xhci-ring.c | 22 +-
drivers/usb/host/xhci.c | 104 +-
drivers/usb/host/xhci.h | 54 +
9 files changed, 2545 insertions(+), 28 deletions(-)
create mode 100644 drivers/usb/host/xhci-exynos.c
create mode 100644 drivers/usb/host/xhci-exynos.h
--
2.31.1
Powered by blists - more mailing lists