From owner-freebsd-usb@FreeBSD.ORG Wed Jan 30 16:10:48 2008 Return-Path: Delivered-To: usb@FREEBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C83DC16A419 for ; Wed, 30 Jan 2008 16:10:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 77A7013C45B for ; Wed, 30 Jan 2008 16:10:48 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m0UG99pY084739; Wed, 30 Jan 2008 09:09:09 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Wed, 30 Jan 2008 09:09:53 -0700 (MST) Message-Id: <20080130.090953.1708805666.imp@bsdimp.com> To: raj@semihalf.com From: "M. Warner Losh" In-Reply-To: <47A095D5.2060801@semihalf.com> References: <47A095D5.2060801@semihalf.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: usb@FREEBSD.ORG Subject: Re: USB transfer coherency problems with write-allocate caches X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2008 16:10:48 -0000 In message: <47A095D5.2060801@semihalf.com> Rafal Jaworowski writes: : Doing a BUS_DMASYNC_PREREAD in usbd_start_transfer() fixes the problems, see : this patch: : : http://people.freebsd.org/~raj/patches/misc/usbdi-bus_dma-fix.diff : : I'd like to hear comments from people knowing other architectures if they have : any comments/objections. I think that this fix looks good to me... Warner