Module Name: src Committed By: skrll Date: Sun Apr 5 20:59:39 UTC 2020
Modified Files: src/sys/arch/mips/adm5120/dev: ahci.c src/sys/dev/usb: ehci.c ohci.c uhci.c usb_mem.c usb_mem.h usbdi.c xhci.c src/sys/external/bsd/dwc2: dwc2.c src/sys/external/bsd/dwc2/dist: dwc2_hcd.c dwc2_hcdddma.c Log Message: Switch USB to use non-coherent buffers for data transfers in the same way as OpenBSD. The use of coherent (uncacheable on ARM and other arches) mappings for transfer buffers impacts performance, espcially where memcpys are involved. Audit the necessary usb_syncmem operations - a few were missing. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/arch/mips/adm5120/dev/ahci.c cvs rdiff -u -r1.277 -r1.278 src/sys/dev/usb/ehci.c cvs rdiff -u -r1.300 -r1.301 src/sys/dev/usb/ohci.c cvs rdiff -u -r1.299 -r1.300 src/sys/dev/usb/uhci.c cvs rdiff -u -r1.75 -r1.76 src/sys/dev/usb/usb_mem.c cvs rdiff -u -r1.31 -r1.32 src/sys/dev/usb/usb_mem.h cvs rdiff -u -r1.199 -r1.200 src/sys/dev/usb/usbdi.c cvs rdiff -u -r1.123 -r1.124 src/sys/dev/usb/xhci.c cvs rdiff -u -r1.72 -r1.73 src/sys/external/bsd/dwc2/dwc2.c cvs rdiff -u -r1.23 -r1.24 src/sys/external/bsd/dwc2/dist/dwc2_hcd.c cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/dwc2/dist/dwc2_hcdddma.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.