Re: bus dma: a flag/quirk for page zero

From: Andriy Gapon <avg_at_FreeBSD.org>
Date: Wed, 11 Jan 2012 00:28:08 +0200
on 11/01/2012 00:23 Matthew Jacob said the following:
>>> At the very least, require bounce buffers.
>>
>> Not sure if I got this suggestion in this terse form.
>> Could you please explain?
> 
> Physical address zero can be DMA'd, but via bounce buffers.
> bcopy from address zero up through a pagesize to a bounce buffer, do the dma
> from there (read case), write case the opposite order

Ah, right.  I think that that's what the patch tries to do (among other things)
if the flag is set.

-- 
Andriy Gapon
Received on Tue Jan 10 2012 - 21:28:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:23 UTC