From owner-freebsd-current@FreeBSD.ORG Sat Sep 5 05:42:41 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52E74106566C for ; Sat, 5 Sep 2009 05:42:41 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id D0AA28FC0C for ; Sat, 5 Sep 2009 05:42:40 +0000 (UTC) Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 253495155; Sat, 05 Sep 2009 08:42:37 +0300 Message-ID: <4AA1FA41.1030804@FreeBSD.org> Date: Sat, 05 Sep 2009 08:42:25 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20090901) MIME-Version: 1.0 To: Matthew Dillon References: <4AA03346.5010608@FreeBSD.org> <200909032210.n83MA67F059073@apollo.backplane.com> <200909042314.n84NEMAS072077@apollo.backplane.com> In-Reply-To: <200909042314.n84NEMAS072077@apollo.backplane.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Cc: Ryan Rogers , current@freebsd.org Subject: Re: non aligned DMA transfer attempted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2009 05:42:41 -0000 Matthew Dillon wrote: > :> The physio code directly maps the userland buffer via vmapbuf() and > :> supplies it as a BIO to the device. The ATA driver does not use > :> BUSDMA (and never has)... it assumes BIOs are minimally aligned. > : > :Wrong. > > By the way Scott, do you honestly believe that idiotic one-line > answers just as a means to try to screw over my postings are > appropriate for someone of your standing in the FreeBSD community? His answer is short, but correct, because all ATA drivers do use BUSDMA. And as I have already said, BUSDMA manages proper alignment there, by implementing bounce buffers. -- Alexander Motin