Re: [PATCH 2/3] x86 cpuinfo: implement sysfs nodes for x86
From: Thomas Renninger
Date: Wed Dec 11 2019 - 09:52:38 EST
On Wednesday, December 11, 2019 3:26:47 PM CET Greg KH wrote:
> On Wed, Dec 11, 2019 at 03:12:51PM +0100, Thomas Renninger wrote:
> > On Wednesday, December 11, 2019 2:56:19 PM CET Greg KH wrote:
> > > On Wed, Dec 11, 2019 at 11:42:35AM +0100, Thomas Renninger wrote:
...
> > I hope it is agreed that this info is worth exporting via sysfs.
>
> I don't think anyone is saying it is worth exporting this information
> via sysfs at all here.
Ok. I go for cpuid userspace tool then.
I'd still say general files like:
cpu/info/{name,vendor}
make sense, so that if exported by an arch like in cpuinfo, it should show up
in the same file.
Every cpu has a model name and a vendor and cpuid is x86 only.
If there should be need for /sys/devices/cpu/cpu0.. info/feature/name
whatever in the future..., let me know ;)
Thomas