On Thu, Aug 25, 2016 at 6:46 PM, Wolfram Sang <wsa@xxxxxxxxxxxxx> wrote: >> > How can we check which ES version we are running? I recall seeing some >> > patch from Geert that printed out useful information during boot, any >> > chance that could make it upstream (if it is not already)? >> >> It's part of my topic/renesas-debug branch. Just merge that into latest >> renesas-drivers and see... > > I second Magnus in wanting this upstream. The FIXMEs are about the > cache. Maybe submit an initial version without cache report first? Or > are there other issues? It would be really helpful to have this in the > bootlogs by default, I'd say. I've accidentally stumbled upon a patch from Arnd to match against SoC revisions: [PATCH 1/4] base: soc: introduce soc_device_match() interface http://lists.infradead.org/pipermail/linux-arm-kernel/2016-May/431902.html Now, soc_device_register() seems to be the API to publish the SoC revision. Unfortunately the SoC bus itself is registered from a core_initcall(), which may be too late for our purposes. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds