mbox series

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

Message ID 20230522063325.80193-1-wyes.karny@amd.com (mailing list archive)
Headers show
Series amd-pstate: amd_pstate related fixes | expand

Message

Wyes Karny May 22, 2023, 6:33 a.m. UTC
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(-)