-
- Downloads
USB: EHCI: split ehci_qh into hw and sw parts
The ehci_qh structure merged hw and sw together which is not good: 1. More and more items are being added into ehci_qh, the ehci_qh software part are unnecessary to be allocated in DMA qh_pool. 2. If HCD has local SRAM, the sw part will consume it too, and it won't bring any benefit. 3. For non-cache-coherence system, the entire ehci_qh is uncachable, actually we only need the hw part to be uncacheable. Spliting them will let the sw part to be cacheable. Signed-off-by:Alek Du <alek.du@intel.com> Cc: David Brownell <dbrownell@users.sourceforge.net> CC: Alan Stern <stern@rowland.harvard.edu> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
- drivers/usb/host/ehci-dbg.c 24 additions, 19 deletionsdrivers/usb/host/ehci-dbg.c
- drivers/usb/host/ehci-hcd.c 8 additions, 6 deletionsdrivers/usb/host/ehci-hcd.c
- drivers/usb/host/ehci-mem.c 17 additions, 9 deletionsdrivers/usb/host/ehci-mem.c
- drivers/usb/host/ehci-q.c 28 additions, 22 deletionsdrivers/usb/host/ehci-q.c
- drivers/usb/host/ehci-sched.c 44 additions, 22 deletionsdrivers/usb/host/ehci-sched.c
- drivers/usb/host/ehci.h 6 additions, 3 deletionsdrivers/usb/host/ehci.h
Loading
Please register or sign in to comment