Skip to content

RFC base board consolidation

Russell King - ARM Linux linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest0 of 3 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 3 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] base board consolidation
Quoted 4 lines · Marek Vasut

Which leads me to a question (likely quite off-topic here). Working on a pxa- device tree support, there're a lot of procedures called during init doing exactly this -- how do you handle this via device tree ? Is there any way to call them ? Or does the kernel need to patch device tree on run-time ? Or how?

That is _precisely_ my concern which caused me to be unconvinced that DT actually solves the problem which Linus is concerned about.

What I see is that DT solves part of the problem, but we're still going to end up having board files to deal with procedural stuff which can't be encoded in DT.

That in turn leads to the problem of how to bind the board specific code in board files into DT declared devices (that information will likely be Linux specific and may not be stable between kernel versions, so would probably require kernel version specific DTs).

I think others (eg Nico) share that view.

If that is how things will turn out, then we've got a far bigger problem to deal with than that which we started with - and at that point it may be far easier maintainability wise to fork the kernel from the pre-DT stage and continue as we have been.

The only reason that I've said yes to DT is through pressure from multiple directions (including Linus), and I'm willing to see whether it _can_ work. However, I remain entirely unconvinced, even at this stage.

If it was up to me, then I'd still have DT out of the kernel tree, pending some real platforms with the issue you raised having been converted to it so we can see how these problems are addressed.