Author: mmel
Date: Sun Sep 20 17:28:24 2020
New Revision: 365929
URL: https://svnweb.freebsd.org/changeset/base/365929

Log:
  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

Modified:
  head/sys/arm64/conf/GENERIC

Modified: head/sys/arm64/conf/GENERIC
==============================================================================
--- head/sys/arm64/conf/GENERIC Sun Sep 20 16:49:48 2020        (r365928)
+++ head/sys/arm64/conf/GENERIC Sun Sep 20 17:28:24 2020        (r365929)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to