non aligned DMA transfer attempted

Alexander Motin mav at FreeBSD.org
Sat Sep 5 05:42:41 UTC 2009


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


More information about the freebsd-current mailing list