Skip to content

Allow for ARM CPUs that do not contain physical ID in /proc/cpuinfo.Patch to...

Jonathan Hanmann requested to merge jhanmann/ksystemstats:arm-cpuinfo-fix into master

@teams/qa

Allow for ARM CPUs that do not contain physical ID in /proc/cpuinfo.Patch to correct ksystemstats and enable CPU information. This was only verified on a Radxa Rock-5b but the missing Physical ID information was also verified on other ARM based processors. My own personal collection all demonstrated this missing field and included Raspberry Pi 4b+ and Odroid N2+. It appears as if at least some Apple processors are the same in lacking a physical ID field. This causes ksystemstats to not allow CPU stats to be selected and also causes a nullptr derefence in the LinuxCpuPluginPrivate::update() function.

Regards,

Jon Hanmann

Fix for:

https://bugs.kde.org/show_bug.cgi?id=495524

BUG: 495524

Edited by Jonathan Hanmann

Merge request reports

Loading