aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Meloun <mmel@FreeBSD.org>2020-09-20 17:28:24 +0000
committerMichal Meloun <mmel@FreeBSD.org>2020-09-20 17:28:24 +0000
commit6507a8fecb167fcf8a52cb7fb20c2483020c41db (patch)
tree147d2de5d55670a38bab790624bb190c7d6feb80
parent1c62664f24670f5d07bfca353dcb5107eba1b168 (diff)
downloadsrc-6507a8fecb167fcf8a52cb7fb20c2483020c41db.tar.gz
src-6507a8fecb167fcf8a52cb7fb20c2483020c41db.zip
Adjust DMA alignment for USB stack.
It should be at least as large as the maximum value of caheline size for currently known CPUs. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=365929
-rw-r--r--sys/arm64/conf/GENERIC1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arm64/conf/GENERIC b/sys/arm64/conf/GENERIC
index 2fb1b6a6c2ef..89d764fc787d 100644
--- a/sys/arm64/conf/GENERIC
+++ b/sys/arm64/conf/GENERIC
@@ -218,6 +218,7 @@ device uart_snps
device pl011
# USB support
+options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
device aw_usbphy # Allwinner USB PHY
device rk_usb2phy # Rockchip USB2PHY
device rk_typec_phy # Rockchip TypeC PHY