cpuinfo: implement cpuinfo in sysfs
Quoted 6 lines · Felix Schnizlein
Make data from current
/proc/cpuinfoavailable in sysfs.Some parts of
/proc/cpuinfoare already accessible through sysfs like microcode, topology and cache info.
Now migrate the rest of worthful cpuinfo data.
Quoted 8 lines
While ACPI, cpufreq and most of
/proc/cpuinfodata has already been migrated to sysfs, this is another step in transitioning from proc to sysfs.This patch series provides the architecture independent interface in
drivers/base/cpuinfo.cand the x86 and arm64 implementations in 3 separate patches.More architectures can now be added easily by looking at the x86 patch.
Nice job, thanks for sticking with this, now applied.
greg k-h
Quoted 10 lines · Greg KH
Quoted 9 lines · Felix Schnizlein
Make data from current
/proc/cpuinfoavailable in sysfs.Some parts of
/proc/cpuinfoare already accessible through sysfs like microcode, topology and cache info.
Now migrate the rest of worthful cpuinfo data.While ACPI, cpufreq and most of
/proc/cpuinfodata has already been migrated to sysfs, this is another step in transitioning from proc to sysfs.
Quoted 7 lines
Quoted 5 lines
This patch series provides the architecture independent interface in
drivers/base/cpuinfo.cand the x86 and arm64 implementations in 3 separate patches.More architectures can now be added easily by looking at the x86 patch.
Nice job, thanks for sticking with this, now applied.
Oops, no, it breaks the build:
make[2]: *** No rule to make target 'arch/x86/kernel/cpuinfo.o', needed by 'arch/x86/kernel/built-in.o'. Stop. make[1]: *** [scripts/Makefile.build:561: arch/x86/kernel] Error 2
make: *** [Makefile:1019: arch/x86] Error 2
You did test this, right?
Please fix and resend...
thanks,
greg k-h