<table><tr><td style="">fvogt created this revision.<br />fvogt added a reviewer: Plasma.<br />Restricted Application added a project: Plasma.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D8153" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>From kernel 4.13 on, /proc/cpuinfo always reports the static normative<br />
CPU clock and not the current one. So try to read the frequency from<br />
cpufreq and only fall back to cpuinfo it that fails.</p>

<p>BUG: 382561</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Started ksysguard, frequency now changes. If the file is not<br />
readable, the frequency is read from cpuinfo as expected.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R106 KSysguard</div></div></div><br /><div><strong>BRANCH</strong><div><div>Plasma/5.8</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D8153" rel="noreferrer">https://phabricator.kde.org/D8153</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>ksysguardd/Linux/cpuinfo.c</div></div></div><br /><div><strong>To: </strong>fvogt, Plasma<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>