[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACxGe6u7EPGm7jrt2vCmosc+S4pg6_2afAQMJJJ=1CJ=KpDC2w@mail.gmail.com>
Date: Thu, 4 Aug 2011 10:41:52 +0100
From: Grant Likely <grant.likely@...retlab.ca>
To: David Miller <davem@...emloft.net>
Cc: sfr@...b.auug.org.au, linux-next@...r.kernel.org,
linux-kernel@...r.kernel.org, shawn.guo@...aro.org,
torvalds@...ux-foundation.org
Subject: Re: linux-next: build failure after merge of the final tree
(devicetree tree related)
On Thu, Aug 4, 2011 at 8:13 AM, David Miller <davem@...emloft.net> wrote:
> In fact this points out that of_alias_scan() was only placed into one
> of the two FT unflattening sites, it needs to go into both as well as
> places that build the device tree from real OpenFirmware calls. And
> that makes an even stronger argument for adding an allocator function
> pointer arg to this thing.
No argument from me here. However, I completely broke sparc by
applying it so I needed to post an ASAP fix with the least possible
impact. A followup patch for v3.2 would have be written to generalize
alias parsing for v3.2
On Thu, Aug 4, 2011 at 9:17 AM, David Miller <davem@...emloft.net> wrote:
[...]
> So even though it is implicitly creating properties, it doesn't update
> the in-kernel device tree nor does it update the OpenFirmware
> etc. copy.
>
> This behvaior is undesirable and makes no sense. This IMX serial
> driver merely wants increasing incrementing indexes for the serial
> nodes it finds, and there are much better ways to do that.
Rolling the assigned ids into the alias list was a convenient & cheap
way of making sure the id assigned would be unique, but fair enough.
Shawn and I will talk about implementing a better solution.
[...]
> This stuff needs more work, I would like to suggest that you just
> revert at this point.
Very well, I'll prepare a revert branch and ask Linus to pull.
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists