Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 787025a

Browse files
committed
Merge tag 'amd-pstate-v6.11-2024-06-24' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/superm1/linux
Merge the second round of changes for amd-pstate in 6.11 from Mario Limonciello: "* Enables amd-pstate by default in "shared memory" designs without a dedicated MSR. * Adds extra infrastructure for debugging problems. * Bug fixes found for init/unload failure." * tag 'amd-pstate-v6.11-2024-06-24' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/superm1/linux: cpufreq: simplify boolean parsing with kstrtobool in store function cpufreq: amd-pstate: Don't create attributes when registration fails cpufreq: amd-pstate: Make amd-pstate unit tests depend on amd-pstate cpufreq/amd-pstate: fix setting policy current frequency value cpufreq: amd-pstate: auto-load pstate driver by default cpufreq: amd-pstate: enable shared memory type CPPC by default cpufreq: amd-pstate: switch boot_cpu_has() to cpu_feature_enabled() Documentation: PM: amd-pstate: add guided mode to the Operation mode cpufreq: amd-pstate: add debug message while CPPC is supported and disabled by SBIOS cpufreq: amd-pstate: show CPPC debug message if CPPC is not supported cpufreq: amd-pstate: remove unused variable nominal_freq cpufreq: amd-pstate: optimize the initial frequency values verification cpufreq: amd-pstate: Allow users to write 'default' EPP string
2 parents 5e62d53 + 2240d3e commit 787025a

File tree

5 files changed

+122
-69
lines changed

5 files changed

+122
-69
lines changed

Documentation/admin-guide/pm/amd-pstate.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ control its functionality at the system level. They are located in the
406406
``/sys/devices/system/cpu/amd_pstate/`` directory and affect all CPUs.
407407

408408
``status``
409-
Operation mode of the driver: "active", "passive" or "disable".
409+
Operation mode of the driver: "active", "passive", "guided" or "disable".
410410

411411
"active"
412412
The driver is functional and in the ``active mode``

drivers/cpufreq/Kconfig.x86

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ config X86_AMD_PSTATE_DEFAULT_MODE
7171
config X86_AMD_PSTATE_UT
7272
tristate "selftest for AMD Processor P-State driver"
7373
depends on X86 && ACPI_PROCESSOR
74+
depends on X86_AMD_PSTATE
7475
default n
7576
help
7677
This kernel module is used for testing. It's safe to say M here.

0 commit comments

Comments
 (0)