login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Michael Ellerman <michael@...>
Cc: <akepner@...>, Tony Luck <tony.luck@...>, Jesse Barnes <jbarnes@...>, Jes Sorensen <jes@...>, Randy Dunlap <randy.dunlap@...>, Roland Dreier <rdreier@...>, James Bottomley <James.Bottomley@...>, David Miller <davem@...>, Benjamin Herrenschmidt <benh@...>, Grant Grundler <grundler@...>, <linux-kernel@...>
Date: Friday, February 29, 2008 - 2:25 pm

On Fri, Feb 29, 2008 at 01:45:46PM +1100, Michael Ellerman wrote:

That would be a fair assumption. But it is required to be a NOP on
platforms that don't need the "hint" ("attr" or whatever you want
to call it). Specific architectures (SN2 in this case) will need
to implement something.


Correct. The same driver needs to compile on all architectures.


I agree. Just have to sort those issues out as people come up with them.


The latter. I have no intention of adding arch specific flags that
only mean something on one arch. The intent here is to enable
correct functionality on specific arches without impacting
performance on arches that don't need those "attributes".

hth,
grant

--
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}_att..., Michael Ellerman, (Thu Feb 28, 10:45 pm)
Re: [PATCH 1/3 v3] dma: document dma_{un}map_{single|sg}_att..., Grant Grundler, (Fri Feb 29, 2:25 pm)
Re: [PATCH 1/3 v3] dma: document dma_{un}map_{single|sg}_att..., Michael Ellerman, (Fri Mar 14, 12:30 am)
Re: [PATCH 1/3 v3] dma: document dma_{un}map_{single|sg}_att..., Benjamin Herrenschmidt, (Fri Feb 29, 10:56 pm)
speck-geostationary