From owner-svn-src-all@FreeBSD.ORG Wed Jan 8 04:19:48 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C96E289E; Wed, 8 Jan 2014 04:19:48 +0000 (UTC) Received: from smtpauth4.wiscmail.wisc.edu (wmauth4.doit.wisc.edu [144.92.197.145]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 951D717D1; Wed, 8 Jan 2014 04:19:48 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from avs-daemon.smtpauth4.wiscmail.wisc.edu by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MZ200B00EC1GC00@smtpauth4.wiscmail.wisc.edu>; Tue, 07 Jan 2014 22:19:41 -0600 (CST) X-Spam-PmxInfo: Server=avs-4, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.1.8.41515, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from wanderer.tachypleus.net (pool-72-66-107-173.washdc.fios.verizon.net [72.66.107.173]) by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MZ2009VFEOR6810@smtpauth4.wiscmail.wisc.edu>; Tue, 07 Jan 2014 22:19:41 -0600 (CST) Message-id: <52CCD1DA.7010008@freebsd.org> Date: Tue, 07 Jan 2014 23:19:38 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 To: Ian Lepore , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r260440 - head/sys/arm/conf References: <201401080340.s083eIDG054652@svn.freebsd.org> In-reply-to: <201401080340.s083eIDG054652@svn.freebsd.org> X-Enigmail-Version: 1.6 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jan 2014 04:19:48 -0000 On 01/07/14 22:40, Ian Lepore wrote: > Author: ian > Date: Wed Jan 8 03:40:18 2014 > New Revision: 260440 > URL: http://svnweb.freebsd.org/changeset/base/260440 > > 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. > > All these configs already exist in 10-stable. A few that don't (and > thus can't be MFC'd yet) will be committed separately. > There has to be -- and I do not mean this as a criticism of your patch -- a better solution to this problem than USB_HOST_ALIGN. Isn't busdma supposed to handle this kind of thing? Why is USB different? -Nathan