Re: non aligned DMA transfer attempted

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Sat, 05 Sep 2009 08:42:25 +0300
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
Received on Sat Sep 05 2009 - 03:42:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:54 UTC