Hi all,
I would like to ask for some help on trying workarounds on the problem below:
I have an Intel Core i7-7500U processor, with base frequency 2.7GHz and max turbo frequency 3.5GHz.
However, cpuinfo_max_freq and scaling_max_freq from /sys/devices/system/cpu/cpu*/ are reporting wrong maximum frequency of 2700000.
Corroborating or not with this issue, on heavy CPU activity Turbo Boost does not achieve Turbo max frequency ~3.5GHz (above 2.7GHz), which is asserted from frequency-info and i7z.
I have tested with a stress test like <stress-ng --cpu 4 --io 2 --vm 1 --vm-bytes 1G --timeout 60s --metrics-brief> and running several firefox tabs with heavy cpu load at the same time.
So, I have being thinking on trying a possible workaround like writing the right maximum frequency into cpuinfo_max_freq. Is it ok to do it?
I have noticed that cpuinfo_max_freq has read-only permission, so that a .conf file in /etc/tmpfiles.d should not have an effect without changing this permission. Is it ok to do it?
On the other hand, scaling_max_freq is editable. But changing it does not make any effect, which I believe may be related to the limit in cpuinfo_max_freq. Additionally,
sudo cpupower frequency-set --max 3500000
runs, but does not any effect either.
Do you have any other suggestion?
Thanks in advance 
– Reproducibility:
It is always reproducible whether tlp is enabled or disabled on AC power.
It happens on Leap 15 with kernel 4.12, 4.14 LTS and latest stable 4.16.
– Bug reported:
https://bugzilla.opensuse.org/show_bug.cgi?id=1097322
– Possibly related issue:
https://forums.opensuse.org/showthread.php/517131-CPU-can-t-reach-its-maximum-frequency?highlight=cpuinfo_max_freq