Re: [PATCH 03/14] init: deps: dt: use (HW-specific) dependencies provided by the DT too

From: Alexander Holler
Date: Mon Oct 19 2015 - 13:11:01 EST


Am 19.10.2015 um 14:37 schrieb Mark Brown:
On Sat, Oct 17, 2015 at 07:14:16PM +0200, Alexander Holler wrote:
This patch adds dependencies provided by the hardware description in
the used DT. This avoids the use of the deferred probe mechanism
on most (if not all) DT based kernels.

Drawback is that the binary DT blob has to be enhanced with type
information for phandles (which are used as dependencies) which
needs a modified dtc.

You probably want to loop the DT and DTC maintainers in on this - adding
Frank, Rob and David and leaving context for their reference. It would
probably help if you could explicitly say why the DTB needs to be
annotated and why this annotiation is best done via a DTC modification

I've had them on the cc-list on the previous two evolutions of these patches, when the whole stuff was for DT only. The annotation is not for DTB but for initcalls. But maybe you mean with annotation the missing type information in DTBs, which is why I had to add a new property.

(rather than doing something like add new properties, or just guessing
that any phandle reference is a dependency).

Besides the remote-endpoints, which have been introduced after my first patch to use phandles as dependencies (1.5 years ago or so), every phandle also was a dependency.

But anyway, the stuff was ignored before and the current evolution of the patches will never see mainline (too).

So, just see the whole approach as failed. I don't have a problem with that. At least I do that and almost did that before, I've just posted the newest version of the approach because I see it as the final evolution and don't will work further on that stuff anymore.

Regards,

Alexander Holler
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/