Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2020 17:28:24 +0000 (UTC)
From:      Michal Meloun <mmel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r365929 - head/sys/arm64/conf
Message-ID:  <202009201728.08KHSOUC045343@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009201728.08KHSOUC045343>