svn commit: r260441 - head/sys/arm/conf
Ian Lepore
ian at FreeBSD.org
Wed Jan 8 03:42:10 UTC 2014
Author: ian
Date: Wed Jan 8 03:42:09 2014
New Revision: 260441
URL: http://svnweb.freebsd.org/changeset/base/260441
Log:
Add option USB_HOST_ALIGN to configs that contain 'device usb'. Setting
this to the cache line size is required to avoid data corruption on armv4
and armv5, and improves performance on armv6, in both cases by avoiding
partial cacheline flushes for USB IO.
Modified:
head/sys/arm/conf/COSMIC
head/sys/arm/conf/RADXA
Modified: head/sys/arm/conf/COSMIC
==============================================================================
--- head/sys/arm/conf/COSMIC Wed Jan 8 03:40:18 2014 (r260440)
+++ head/sys/arm/conf/COSMIC Wed Jan 8 03:42:09 2014 (r260441)
@@ -97,6 +97,7 @@ device md
device gpio
# USB support
+options USB_HOST_ALIGN=32 # Align usb buffers to cache line size.
device usb
options USB_DEBUG
#options USB_REQ_DEBUG
Modified: head/sys/arm/conf/RADXA
==============================================================================
--- head/sys/arm/conf/RADXA Wed Jan 8 03:40:18 2014 (r260440)
+++ head/sys/arm/conf/RADXA Wed Jan 8 03:42:09 2014 (r260441)
@@ -93,6 +93,7 @@ device da # Direct Access (disks)
device pass
# USB support
+options USB_HOST_ALIGN=32 # Align usb buffers to cache line size.
device usb
options USB_DEBUG
#options USB_REQ_DEBUG
More information about the svn-src-all
mailing list