Skip to content

amd-pstate: Better handling for systems without an MSR

Mario Limonciello linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cpufreq/amd-pstate: Add an early param to disable MSR modeDocumentation/admin-guide/kernel-parameters.txt Documentation/admin-guide/pm/amd-pstate.rst drivers/cpufreq/amd-pstate.c+32 -101 reply
2/2cpufreq/amd-pstate: Catch failures for amd_pstate_epp_update_limit()drivers/cpufreq/amd-pstate.c+7 -41 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPerry Yuan
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] amd-pstate: Better handling for systems without an MSR

From: Mario Limonciello <[email protected]>

Since the policy changed for amd-pstate to enable on systems with shared memory designs by default too some users have reported that software like power-profiles-daemon fails with an error -524.

This happens because error codes from the CPPC API are ignored during the initial setup so all the sysfs files are created but don't work.

This series does two things:
1. Add a debugging early param to force going into shared memory mode even on a system with a dedicated MSR. This will aid in debugging reported issues.
2. Catch errors in amd_pstate_epp_update_limit() and pass them up. If any errors occurred with CPPC API then amd-pstate won't be setup.

Mario Limonciello (2):
cpufreq/amd-pstate: Add an early param to disable MSR mode cpufreq/amd-pstate: Catch failures for amd_pstate_epp_update_limit()

 .../admin-guide/kernel-parameters.txt         |  5 ++-
 Documentation/admin-guide/pm/amd-pstate.rst   |  5 +++
 drivers/cpufreq/amd-pstate.c                  | 43 +++++++++++++------
 3 files changed, 38 insertions(+), 15 deletions(-)
Signature · 1 line
2.43.0