Thread (3 messages) 3 messages, 3 authors, 2014-03-04

[PATCH v2 4/7] dma: of: introduce of_dma_is_coherent() helper

From: Will Deacon <hidden>
Date: 2014-03-04 15:21:37
Also in: linux-devicetree

Possibly related (same subject, not in this thread)

On Mon, Mar 03, 2014 at 02:04:17PM +0000, Rob Herring wrote:
Adding Will...
Thanks Rob!
On Fri, Feb 28, 2014 at 9:24 AM, Arnd Bergmann [off-list ref] wrote:
quoted
On Friday 28 February 2014 09:14:19 Rob Herring wrote:
quoted
I know Will D was not a fan of this property. Primarily I believe
because you may need to describe more than just a boolean in more
complex bus topologies.
I can't think of any example where it's not per-device. Do you
think we can end up with a device that has multiple bus master
ports, only some of which are coherent, or is there a different
concern?
Perhaps Will can post his slides from the ARM kernel summit or chime
in here, but I believe it was more that coherency is just one aspect
of bus master bus topology. The DT models the slave bus hierarchy and
doesn't model the master side which is becoming more complex and
needing to be described. In the case of highbank, you have an ACP bus
with some number of masters on it. They are configurable, but it is
not the device that is configurable, but really which bus they are
connected to.
I'm not sure what happened to this slides but, yes, you have the right idea.
It's not only DMA coherency that's directly related to master topology, but
also SMMU configuration and MSI routing will depend on this information.

Using a per-device, boolean property to describe DMA coherency may work for a
simple, statically configured system, but it really just avoids the bigger
issue.

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help