P-state not working in kernel 4.13
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Artful |
Fix Released
|
Medium
|
Unassigned | ||
Bionic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
== SRU Justification ==
Commits b29c6ef7bb12 and 7d5905dc14a8 fix a regression in Artful. They
were both added to mainline in v4.15-rc1 and fix the following two commits:
b29c6ef7bb12 Fixes: 4815d3c56d1e (cpufreq: x86: Make scaling_cur_freq behave more as expected)
7d5905dc14a8 Fixes: 890da9cf0983 (Revert "x86: do not use cpufreq_quick_get() for /proc/cpuinfo "cpu MHz"")
According to the bug report, P-state is not working in Artful, but it was working
in Zesty. This bug is happening on a Lenovo Thinkpad X230 with an Intel Core i5-3210M CPU.
The bug reporter is using CPU scaling to improve battery life.
== Fixes ==
b29c6ef7bb12 ("x86 / CPU: Avoid unnecessary IPIs in arch_freq_
7d5905dc14a8 ("x86 / CPU: Always show current CPU frequency in /proc/cpuinfo")
== Regression Potential ==
Low. The two commit fix a current regression and have had additiona upstream reviews
from being send to stable.
## Original Bug Description ##
I have a Lenovo Thinkpad X230 with an Intel Core i5-3210M CPU. I'm using Xubuntu 17.10 (Description: Ubuntu 17.10, Release: 17.10). I use tlp 1.0-1~artful in order to improve battery performance, particularly enabling the Intel P-state performance scaling. In Xubuntu 17.04 it worked flawlessly, but when I upgraded to 17.10 the processor doesn't scale anymore. I ran all the updates and it's not working. I also did a clean install using another hard drive and the problem persist.
I searched the tlp forums and similar problems pointed to a kernel bug, so I'm filing this report.
I tested different mainline kernels in order to see what kernel version is causing the problem:
Up to mainline kernel 4.12.14 generic, P-state scaling is OK
Kernel 4.13 generic up to kernel 4.14.12 generic, P-state scaling is not working
Kernel 4.14.13 generic up to 4.15 rc7 generic, P-state scaling is OK
ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: linux-image-
ProcVersionSign
Uname: Linux 4.13.0-25-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CurrentDesktop: XFCE
Date: Sun Jan 14 18:46:27 2018
HibernationDevice: RESUME=
InstallationDate: Installed on 2017-02-07 (341 days ago)
InstallationMedia: Xubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
MachineType: LENOVO 232032U
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.169.1
SourcePackage: linux
UpgradeStatus: Upgraded to artful on 2018-01-13 (1 days ago)
dmi.bios.date: 09/25/2017
dmi.bios.vendor: LENOVO
dmi.bios.version: G2ETB0WW (2.70 )
dmi.board.
dmi.board.name: 232032U
dmi.board.vendor: LENOVO
dmi.board.version: NO DPK
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X230
dmi.product.name: 232032U
dmi.product.
dmi.sys.vendor: LENOVO
Changed in linux (Ubuntu Artful): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in linux (Ubuntu Artful): | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Bionic): | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Artful): | |
assignee: | nobody → Joseph Salisbury (jsalisbury) |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Joseph Salisbury (jsalisbury) |
Changed in linux (Ubuntu Bionic): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Artful): | |
status: | In Progress → Fix Committed |
This change was made by a bot.