Age | Commit message (Collapse) | Author |
|
Hide Frequency Scaling section instead of showing zeroes.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Copied from the recent changes for ARM.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
Also, some stray whitespace removed.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* mixed tab/space indentation -> spaces only
* move cache/family/freq/flags list processing out of main
read loop and make a second pass through the processor list
* make simple pm list if it isn't provided
* use processor id from cpuinfo instead of counter
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Use /sys/.../cpufreq/ data if available.
Processor max frequency is now used for cpu_mhz.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Use own _g_strv_contains().
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Also fixes a memleak.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
There are a few variants of /proc/cpuinfo format for ARM.
Examples:
1. https://github.com/bp0/rpiz/blob/master/test/rpi3_cpuinfo
2. https://github.com/bp0/rpiz/blob/master/test/az100_cpuinfo
3. https://github.com/bp0/rpiz/blob/master/test/odroidx_cpuinfo
4. https://github.com/bp0/rpiz/blob/master/test/unk_marv0_cpuinfo
Previously, only 1 and 4 worked. Now all should be working.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Changed code arrangement to fix a problem where only the last
processor's mode was correct.
This also separates the /proc/cpuinfo data from the other data
in a logical way.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* Report the ARM CPUID information from /proc/cpuinfo.
* Attempt to detect if running 32-bit on a 64-bit processor.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
A few more flags for ARM. No new defitions.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
A few more flag definitions for ARM.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* Multiple processors/cores reported
* CPU min/max/cur frequency information reported
* Flag definitions
Tested only on Raspberry Pi models 1 and 3.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Mixed tab/space indentation to all space for indentation.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Add some more bug "feature" flags from old kernels to the bug
workaround list generated if no such list was available in
/proc/cpuinfo.
Also, fixes a crash if the first bug is not fdiv.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
* Now the bugs list will be created from the old flags if it wasn't available.
* If a flag list is empty, it will now show "Empty List" for that set. This
is for the Power Management flag list that didn't exist on older kernels, or
if all old bug flags were off.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Show items and descriptions from the power management feature
list.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
In June 2014, /proc/cpuinfo added a bugs (fixes/workarounds) list that
works like the flags list.
Show this list in the CPU information with the extra description from
the source comments in arch/x86/include/asm/cpufeatures.h.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Remove some trailing whitespace.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|