lkml.org 
[lkml]   [2013]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Ksummit-2013-discuss] DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]
On Fri, Jul 26, 2013 at 02:41:10PM +0100, David Woodhouse wrote:
> On Fri, 2013-07-26 at 09:27 -0400, Jason Cooper wrote:
> >
> > The other dynamic change that bears mentioning here is attributes which
> > have been configured by the bootloader. For example, in mvebu, we have
> > the Schrodinger's Cat register. It allows you to reconfigure the base
> > address of the registers from *within* that register range. If the
> > bootloader does this, the DT needs to be updated to reflect the current
> > hardware configuration. Otherwise, the kernel is stuck poking around at
> > memory addresses hoping to find something sane.
> >
> > But this falls into the same category as you mentioned, but outside of
> > chosen {};.
>
> Yeah, /chosen was given as an example of stuff that's almost
> *exclusively* "configuration" stuff.
>
> But there's plenty outside there that can reasonably change.
>
> It's OK to change the data, and of *course* the base address reported in
> the DT should actually match reality *today*, if it changes on the fly.
>
> It's not OK to change the *schema* in which those data are expressed.
> That's the ABI we're talking about.

Agreed, much more clear than what I was saying.

thx,

Jason.


\
 
 \ /
  Last update: 2013-07-26 16:21    [W:0.310 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site