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 <arnd@xxxxxxxx> wrote: > > On Friday 28 February 2014 09:14:19 Rob Herring wrote: > >> > >> 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 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html