[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1504648808.4073.15.camel@kernel.crashing.org>
Date: Wed, 06 Sep 2017 08:00:08 +1000
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Rob Herring <robh@...nel.org>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>
Subject: Re: [RFC/PATCH] drivers/of/platform: Add powerpc 4xx embedded
busses to default list
On Tue, 2017-09-05 at 09:25 -0500, Rob Herring wrote:
> > So in the meantime, I'm thinking adding some kind of runtime way
> > of disabling this default populate. Would you be ok with that ?
> >
> > Something like:
> >
> > bool arch_wants_of_platform_defaults(void)
> >
> > With a weak implementation returning true.
>
> That seems fine. The intention was that you can call
> of_platform_default_populate multiple times with arch specific match
> lists and the default. There could be ordering issues both with
> initcall levels and device creation ordering.
Right but I want to skip the default completely on things like old macs
because they manually create their own cherry-picks and I worry about
conflicts here. Also Apple has history of random crap in the root of
the DT.
Cheers,
Ben.
Powered by blists - more mailing lists