[PATCH v2] ARM: remove name from machine_desc for DT platforms
Grant Likely
grant.likely at secretlab.ca
Thu Nov 14 08:33:46 EST 2013
On Thu, Nov 14, 2013 at 9:32 PM, Arnd Bergmann <arnd at arndb.de> wrote:
> On Wednesday 13 November 2013, Rob Herring wrote:
>> I'm not inclined to expand cpuinfo and prior attempts to add more info
>> to cpuinfo like SoC name have failed. The differences between x86 and
>> arm cpuinfo already cause issues for arm. lscpu does not really work on arm.
>
> Well, they turned into drivers/base/soc.c, which adds the information in
> a structured way in sysfs, but is only used on a couple of platforms.
>
>> I'd actually prefer If you really want more system info, then go read
>> /proc/device-tree.
I really don't mind pulling that information out of /proc/cpuinfo. My
point is merely that it is incredibly useful to be able to easily find
out exactly which machine_desc got chosen on any given platform. I
don't think I should have to grep the source tree to figure that out.
The kernel log is useful, but it is also helpful to have it in a /proc
or /sysfs file for when the kernel log overflows. /proc/device-tree
doesn't give that information.
g.
More information about the linux-arm-kernel
mailing list