From mboxrd@z Thu Jan 1 00:00:00 1970 From: will.deacon@arm.com (Will Deacon) Date: Thu, 31 Oct 2013 16:02:36 +0000 Subject: [PATCH 6/6] documentation/iommu: Update description of ARM System MMU binding In-Reply-To: <20131031091657.GT10330@alberich> References: <1382127195-15261-1-git-send-email-andreas.herrmann@calxeda.com> <1382127195-15261-7-git-send-email-andreas.herrmann@calxeda.com> <20131031011715.GF28613@mudshark.cambridge.arm.com> <20131031091657.GT10330@alberich> Message-ID: <20131031160236.GB30623@mudshark.cambridge.arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thu, Oct 31, 2013 at 09:16:57AM +0000, Andreas Herrmann wrote: > On Thu, Oct 31, 2013 at 02:45:55AM -0400, Rob Herring wrote: > > On Wed, Oct 30, 2013 at 8:17 PM, Will Deacon wrote: > > > Why are you using the "arm" vendor prefix for the secure config access > > > stuff? Wouldn't it make more sense to use "calxeda", just in case somebody > > > else finds a different way to wire things up in this regard? > > I think in an early version I've used calxeda prefix but later thought > it has to match the arm prefix. I'm also fine with > calxeda,smmu-secure-config-access. But in case someone else screws > this up in a similar way and needs the same driver behaviour it's odd > if XYZ has to use the calxeda prefix instead of the arm prefix for > this option. > > > I think that the property prefix should match the compatible vendor > > prefix. You could then argue that the compatible string itself should > > be prefixed with "calxeda". In that case, this property would not be > > needed at all as you could just key off the compatible string to > > determine this characteristic. Of the options, my preference would be > > just to leave things as is. > > I think Will's main point is that Calxeda has a bug in the wiring and > that this is not ARM's fault. Renaming the prefix will kind of > emphasize this. In case we keep the arm prefix, how about modifying > the description for the option to state that currently only Calxeda > ECX-2000 screwed up the wiring? There's also the potential for another SoC vendor to screw up the wiring in a different way,so having the soc vendor as a prefix makes it easy to distinguish the different cases (as opposed to a list of arm,random-screw-up-N properties). Will