login
Header Space

 
 

Re: [PATCH 2/4] dma/ia64: update ia64 machvecs

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <akepner@...>
Cc: Tony Luck <tony.luck@...>, Grant Grundler <grundler@...>, Jesse Barnes <jbarnes@...>, Jes Sorensen <jes@...>, Randy Dunlap <randy.dunlap@...>, Roland Dreier <rdreier@...>, David Miller <davem@...>, Muli Ben-Yehuda <muli@...>, <linux-kernel@...>
Date: Wednesday, January 30, 2008 - 1:25 pm

In general, the patches look reasonable to me.  Just an observation:

On Tue, 2008-01-29 at 21:52 -0800, akepner@sgi.com wrote:


The attribute names (DMA_ATTR_...) are going to have to live somewhere
outside of the #ifdef ARCH_USES_DMA_ATTRS otherwise we'll get compile
failures of drivers using attributes on architectures that don't support
them.

Secondly, DMA_ATTR_BARRIER doesn't quite sound right.  What you're
actually doing is trying to prescribe strict ordering, so shouldn't this
be something like DMA_ATTR_STRICT_ORDERING (and perhaps with a
corresponding DMA_ATTR_RELAXED_ORDERING for the PCIe case).  also,
strike the DMA_ATTR_FOO and DMA_ATTR_GOO since they have no plausible
meaning.

James


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/4] dma/ia64: update ia64 machvecs, James Bottomley, (Wed Jan 30, 1:25 pm)
speck-geostationary