tools/power/cpupower: Fix Pstate frequency reporting on AMD Family 1Ah CPUs

Bug #2080290 reported by Kim Naru
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned
Jammy
Confirmed
Medium
Unassigned
Noble
Fix Committed
Medium
Unassigned

Bug Description

cpupower utility reports incorrect pstates in one portion of its output on Turin.

root@volcano-ef0fhost:/home/amd# cpupower frequency-info
analyzing CPU 0:
  driver: acpi-cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: Cannot determine or is not supported.
  hardware limits: 1.50 GHz - 3.25 GHz
  available frequency steps: 1.90 GHz, 1.70 GHz, 1.50 GHz
  available cpufreq governors: conservative ondemand userspace powersave performance schedutil
  current policy: frequency should be within 1.50 GHz and 1.90 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.
  current CPU frequency: 1.50 GHz (asserted by call to hardware)
  boost state support:
    Supported: yes
    Active: yes
    Boost States: 0
    Total States: 3
    Pstate-P0: 24800MHz
    Pstate-P1: 16800MHz
    Pstate-P2: 8800MHz

This issue occurs both with the distro cpufreq utility that comes with Ubuntu 22.04 5.15.0.87 kernel-tools package as well as the upstream cpufreq utility.

The fix is commit 43cad521c6d :

tools/power/cpupower: Fix Pstate frequency reporting on AMD Family 1Ah CPUs

Mark Esler (eslerm)
information type: Private Security → Public
Revision history for this message
Thibf (thibf) wrote :

Fix committed for noble:linux part of https://bugs.launchpad.net/bugs/2078304, should be released end of October.

Changed in linux (Ubuntu Noble):
status: New → Fix Committed
Changed in linux (Ubuntu Jammy):
status: New → Confirmed
importance: Undecided → Medium
Changed in linux (Ubuntu Noble):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.