On Sun, 3 Sep 2017, Benjamin Herrenschmidt wrote: > On Sat, 2017-09-02 at 04:43 -0400, Robert P. J. Day wrote: > > Since, according to a recent devicetree ML posting by Rob Herring, > > the node "/chosen@0" is most likely for real Open Firmware and > > does not apply to DTSpec, remove all remaining tests and > > references for that node, of which there are very few left: > > Technically that would break Open Firmware systems where the node is > really called chosen@0 > > Now I'm not sure such a thing actually exist however. > > My collection of DTs don't seem to have one, except in the ancient > html variants that were extracted by the pengionppc folks for the > original PowerMac 8600 but I wonder if that's a bug in the > extraction script since they also have @0 on /packages etc... obviously, this isn't a priority issue, i was just working off a comment by rob herring that "chosen@0" is not defined by the current DTSpec 0.1, so it seemed appropriate to toss it. if there's a reason to hang onto it, that's fine with me. however, given the diff stat of the change to remove every single reference to that node name in the current kernel source: arch/microblaze/kernel/prom.c | 3 +-- arch/mips/generic/yamon-dt.c | 4 ---- arch/powerpc/boot/oflib.c | 7 ++----- drivers/of/base.c | 2 -- drivers/of/fdt.c | 5 +---- 5 files changed, 4 insertions(+), 17 deletions(-) it seems inconsistent that three architectures would be testing for that node, but none of the rest. consistency suggests that every architecture should take it into account, or none should. anyway, not a big deal, i'm fine with any decision. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================