Re: [PATCH 1/3 v3] dma: document dma_{un}map_{single|sg}_attrs() interface

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Ellerman
Date: Thursday, March 13, 2008 - 9:30 pm

On Tue, 2008-03-11 at 18:19 -0700, akepner@sgi.com wrote:

I like this better, sorry to keep nitpicking, but just a few comments
below ..

tes.txt

You say a "DMA to a memory region with the DMA_ATTR_BARRIER attribute
forces all pending DMA writes to complete". Does it force _all_ DMA
writes to complete, or just writes to the region, or just writes coming
from devices? What if something is writing to a device?

Does DMA_ATTR_BARRIER have any effect on reads?

cheers

--=20
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/3 v3] dma: document dma_{un}map_{single|sg}_a ..., Benjamin Herrenschmidt, (Fri Feb 29, 7:56 pm)
Re: [PATCH 1/3 v3] dma: document dma_{un}map_{single|sg}_a ..., Michael Ellerman, (Thu Mar 13, 9:30 pm)