[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071221180022.GW412@sgi.com>
Date: Fri, 21 Dec 2007 10:00:22 -0800
From: akepner@....com
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>
Cc: Stefan Richter <stefanr@...6.in-berlin.de>,
Andrew Morton <akpm@...ux-foundation.org>,
grundler@...isc-linux.org, jbarnes@...tuousgeek.org, jes@....com,
randy.dunlap@...cle.com, rdreier@...co.com,
James.Bottomley@...eleye.com, davem@...emloft.net,
linux-kernel@...r.kernel.org
Subject: Re: [RFC] dma: passing "attributes" to dma_map_* routines
On Fri, Dec 21, 2007 at 07:56:25AM +1100, Benjamin Herrenschmidt wrote:
> ...
> Can't you just have a primitive to sync things up that you call
> explicitely from your driver after fetching a new status entry ?
>
Well, the only mechanisms I know to get things synced are the ones
I mentioned before: 1) generate an interrupt, 2) write to memory
which has the "barrier" attribute. Obviously 1 is out - giving
the memory used for status indications the barrier attribute is
the most primitive means I'm aware of.
--
Arthur
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists