AMD P-State Fixes & Other Power Management Changes For Linux 6.6

Written by Michael Larabel in Hardware on 4 September 2023 at 10:07 AM EDT. 3 Comments
The ACPI and power management updates were merged last week for the Linux 6.6 kernel.

The Linux 6.5 kernel cycle was notable in that AMD P-State EPP "active" is the default for modern Ryzen systems moving forward over ACPI CPUFreq. After that default change in Linux 6.5 and other big AMD P-State additions in prior kernels, for Linux 6.6 on the AMD side it's mostly about fixing a few bugs from the increased amd-pstate exposure. The Intel P-State driver has also seen some fixes for the Linux 6.6 merge window.

AMD Ryzen CPUs

The ACPI and power management updates for Linux 6.6 aren't especially exciting but still some of the fixes are worthwhile. Highlights on the power management side include:

- Improvements to the TEO CPU idle code by Rafael Wysocki to significantly reduce the number of cases where the governor requests stopping the tick when the selected idle state is shallow. Wysocki mentioned this rework to avoid calling tick_nohz_get_sleep_length() too often as it's likely to become quite expensive (time consuming) moving forward.

- A fix to the amd-pstate-ut code to avoid a possible kernel panic when loading the driver.

- A fix to the amdp-state-ut code to return the correct highest_perf value. Due to platforms supporting AMD Preferred Core handling, the amd-pstate-ut driver to this point didn't return a properly handled value.

- The cpupower utility that lives within the Linux kernel source tree has added turbo boost support and other new AMD P-State features.

- An Intel P-State fix over incorrect CPU frequencies reported since Linux 5.18+.

- A rework to the hibernation memory snapshotting to avoid storing pages filled with zeroes in the hibernation image files. This was observed by Google engineers on Chrome OS of having many zero pages stored in the hibernation image file, in some cases 2GB+ of zero filled pages or ~36% of the overall image file size.

- Various other fixes and clean-ups.

More details on the power management changes for Linux 6.6 via this pull.

Wysocki also submitted the ACPI changes for Linux 6.6 that include ACPICA code updates, a backlight=native mode DMI quirk for Apple iMac12,1 and iMac12,2 devices, LoongArch fixes, an ACPI thermal driver clean-up, and other fixes.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week