LWN.net Logo

Re: DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]

From:  Jason Gunthorpe <jgunthorpe-AT-obsidianresearch.com>
To:  Russell King - ARM Linux <linux-AT-arm.linux.org.uk>
Subject:  Re: DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]
Date:  Mon, 29 Jul 2013 12:40:48 -0600
Message-ID:  <20130729184048.GE15861@obsidianresearch.com>
Cc:  Mark Rutland <mark.rutland-AT-arm.com>, "devicetree-AT-vger.kernel.org" <devicetree-AT-vger.kernel.org>, "ksummit-2013-discuss-AT-lists.linuxfoundation.org" <ksummit-2013-discuss-AT-lists.linuxfoundation.org>, Samuel Ortiz <sameo-AT-linux.intel.com>, Pawel Moll <Pawel.Moll-AT-arm.com>, Stephen Warren <swarren-AT-wwwdotorg.org>, Catalin Marinas <Catalin.Marinas-AT-arm.com>, Richard Cochran <richardcochran-AT-gmail.com>, Domenico Andreoli <cavokz-AT-gmail.com>, "rob.herring-AT-calxeda.com" <rob.herring-AT-calxeda.com>, "linux-kernel-AT-vger.kernel.org" <linux-kernel-AT-vger.kernel.org>, Olof Johansson <olof-AT-lixom.net>, Dave P Martin <Dave.Martin-AT-arm.com>, "linux-arm-kernel-AT-lists.infradead.org" <linux-arm-kernel-AT-lists.infradead.org>, Ian Campbell <ian.campbell-AT-citrix.com>
Archive-link:  Article, Thread

On Mon, Jul 29, 2013 at 07:16:07PM +0100, Russell King - ARM Linux wrote:

> What does it take?  Good practice, care, thought and planning.  All
> the qualities which should already be present for kernel _engineers_.
> Not an "lets create something for me, I don't care about anyone else"
> attitude.

I agree with what you've written, but we are looking at this from
different ends of the problem.

I fully agree you can create a main line kernel GIT tree that has a
stable DT ABI.

However, I as an ODM, with time pressure, cannot wait for the kernel
folks to finish this work. So from my perspective the DT will not be
stable, as I will put whatever interm stuff I choose to have a
shippable product.

Thus I have to design my systems for an unstable DT, and the message
from the kernel community to people in my posistion should be:

  When you ship early with non-mainlined DT schema, design your boot
  system around an unstable DT. Plan to migrate your DT to upstream
  once it becomes finalized.

Here is the rub: Once I design for an unstable DT I simply don't
derive value from the kernel communities work to create a stable DT.

So who is getting the benefit of this work, and is it worth the cost?

Jason


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds