aboutsummaryrefslogtreecommitdiff
path: root/modules
AgeCommit message (Collapse)Author
2017-06-02Decode ARM processor implementer and part numbersBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-02Handle more cpuinfo format variantsBurt P
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>
2017-06-02arm: bug fix in mode detectionBurt P
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>
2017-06-02arm: more processor detailsBurt P
* 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>
2017-06-02arm: a few more cpu flagsBurt P
A few more flags for ARM. No new defitions. Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-02arm: more flag definitionsBurt P
A few more flag definitions for ARM. Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-02ARM processor information improvementsBurt P
* 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>
2017-06-02Cosmetic changes in /modules/devices/arm/processor.cBurt P
Mixed tab/space indentation to all space for indentation. Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-02Requested changes in re rpi board nameBurt P
* dt_get_model() replaced by the simpler g_file_get_contents() * rpi_get_boardname() declared static Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-02Get "model" from device tree for board nameBurt P
Uses /proc/device-tree/model for get_motherboard() when not x86. Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-02rpi board data editsBurt P
Minor edits to the Raspberry Pi board data table. Signed-off-by: Burt P <pburt0@gmail.com>
2017-06-02Get board information for Raspberry PisBurt P
get_motherboard() will now return something for Raspberry Pi boards. example: "Raspberry Pi 3 (Q1 2016) pcb-rev:1.2 soc:BCM2835 mem:1GB mfg-by:Sony" Signed-off-by: Burt P <pburt0@gmail.com>
2017-04-10Fixed compile warning in computer.cTotalCaesar659
Fixed compile warning in computer.c: [ 70%] Building C object CMakeFiles/computer.dir/modules/computer.c.o In file included from /home/maxpayne/hardinfo/modules/computer.c:27:0: /home/maxpayne/hardinfo/modules/computer.c: In function ‘callback_os’: /home/maxpayne/hardinfo/modules/computer.c:421:30: warning: too many arguments for format [-Wformat-extra-args] return g_strdup_printf(_("[$ShellParam$]\n" ^ /home/maxpayne/hardinfo/includes/hardinfo.h:28:30: note: in definition of macro ‘_’ #define _(STRING) gettext(STRING) ^
2017-04-10Fixed compile warning in benchmark.cTotalCaesar659
There was compile warning in benchmark.c: Scanning dependencies of target benchmark [ 48%] Building C object CMakeFiles/benchmark.dir/modules/benchmark.c.o /home/maxpayne/hardinfo/modules/benchmark.c: In function ‘get_benchmark_results’: /home/maxpayne/hardinfo/modules/benchmark.c:565:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] gchar *result = g_strdup_printf("[param]\n" ^ [ 50%] Building C object CMakeFiles/benchmark.dir/modules/benchmark/blowfish.c.o
2017-04-10Update devices.cTotalCaesar659
2017-04-10More "feature" flags to bug workaroundsBurt P
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>
2017-04-09Update spd-decode.cTotalCaesar659
2017-04-09Update fbench.cTotalCaesar659
2017-04-09Update fftbench.cTotalCaesar659
2017-04-09Older kernel support for bugs/pm flag listsBurt P
* 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>
2017-04-09Reorder CPU info to put the longest list at the bottomBurt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-04-09Additional code comment regarding the null_seg "bug"Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-04-09Add /proc/cpuinfo power management list handlingBurt P
Show items and descriptions from the power management feature list. Signed-off-by: Burt P <pburt0@gmail.com>
2017-04-07Add /proc/cpuinfo bugs list handlingBurt P
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>
2017-04-07x86/processor.c: cosmetic changesBurt P
Remove some trailing whitespace. Signed-off-by: Burt P <pburt0@gmail.com>
2016-12-30Fix compile warnings in benchmark.cLeandro Pereira
2016-12-30Fix compile warnings in sensors.cLeandro Pereira
2016-12-30Do not return an empty value if computer::hi_get_field() is calledLeandro Pereira
Return a helpful string instead to help translators
2016-12-30Free whole MD5 contextLeandro Pereira
2016-12-30Make some Devices -> Memory entries translatableLeandro Pereira
2016-12-29Make computer module auto-updating fields translatableLeandro Pereira
2016-12-29Make load average work with locales that uses ',' for decimal separatorLeandro Pereira
2016-09-17Add a few more x86 feature flag descriptionLeandro Pereira
2016-09-17Also check for " hypervisor" string to determine if running on a VMLeandro Pereira
2016-09-17Automatically check if eeprom module has been loadedLeandro Pereira
2016-07-31Decode DDR3 module type (buffered, unbuffered, SODIMM, etc)Leandro Pereira
2016-07-31Fix DDR2 mtb valuesLeandro Pereira
2016-07-31Saner indentation for spd-decode.cLeandro Pereira
2016-07-30Fix DMI parsing after 096108bLeandro Pereira
2016-07-30Use snprintf() instead of sprintf() in net.cLeandro Pereira
2016-07-30Fix multiple problems in USB device listingLeandro Pereira
2016-07-30Remove trailing whitespace in storage.cLeandro Pereira
2016-07-30Fix multiple problems in IDE disk informationLeandro Pereira
2016-07-30Fix multiple problems in DDR3 SPD parsingLeandro Pereira
2016-07-30Ensure buffer is large enough while scanning input devicesLeandro Pereira
2016-07-30`group` variable could be uninitialized while parsing DMILeandro Pereira
2016-07-30Handle lsmod not being foundLeandro Pereira
2016-07-30Free result of lup_solve() when performing FFT benchmarkLeandro Pereira
2016-07-30Fix off-by-one error while scanning benchmarksLeandro Pereira
2016-07-30Fix Python version informationLeandro Pereira