Re: [PATCH 2/3] dma: override "dma_flags_set_dmaflush" for sn-ia64

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jes Sorensen <jes@...>
Cc: James Bottomley <James.Bottomley@...>, <akepner@...>, Randy Dunlap <randy.dunlap@...>, linux-kernel <linux-kernel@...>, <rdreier@...>, linux-ia64 <linux-ia64@...>
Date: Thursday, August 23, 2007 - 1:58 am

On Wed, Aug 22, 2007 at 09:39:36AM +0200, Jes Sorensen wrote:

Actually, it's a different problem, but with a similar cause.

mmiowb() is for the case PIO (or MMIO) write order from two different CPUs
can invert somewhere in the NL fabric.

read_relaxed() is a performance optimization to avoid the flush that's
necessary to avoid inversion in order between a PIO (or MMIO) read and
a DMA write.

What Arthur's trying to do here is avoid inversion in the order of two
DMA writes.

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

Messages in current thread:
Re: [PATCH 2/3] dma: override "dma_flags_set_dmaflush" for s..., Jeremy Higdon, (Thu Aug 23, 1:58 am)