[PATCH 0/2] amd-pstate: amd_pstate related fixes

From: Wyes Karny
Date: Mon May 22 2023 - 02:33:58 EST


This 2 patch series has the following 2 fixes for amd_pstate:
- Currently, amd_pstate sets CPPC enable MSR for a single CPU. But ACPI
specification recommends driver to set CPPC enable register per-core.
Align amd_pstate driver with the spec.

- Remove some extra checks for active mode which are not required.

Wyes Karny (2):
cpufreq/amd-pstate: Write CPPC enable bit for each core
cpufreq/amd-pstate: Remove unnecessary active state checks

drivers/cpufreq/amd-pstate.c | 64 ++++++++++++++++--------------------
1 file changed, 28 insertions(+), 36 deletions(-)

--
2.34.1