On 05/23/2016 07:15 PM, Mark Rutland wrote: > On Mon, May 23, 2016 at 05:59:31PM +0100, Mark Brown wrote: >> On Fri, May 20, 2016 at 09:16:09PM +0200, Lars-Peter Clausen wrote: >> >>> How about allowing to embed eBPF bytecode in the DT that can be installed as >>> a constraint set? This would allow maximum for flexibility and also make the >>> implementation a lot easier. >> >> That seems somewhat Linux specific, I'd like to see some DT maintainer >> buy in on that one as well as Takashi's thoughts. > > I am very much not in favour of embedding eBPF bytecode into the DT. This has to be seen in the context of the suggestion to reference kernel symbols by name from the DT. My opinion is that if the interdependence between the components in your system is non-trivial you should write a proper driver. Otherwise we'll end up with DT-script and replicate all the terrible things from the ACPI world where people ship completely horrendous and broken byte code in the firmware. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html