In this series, support for following features has been added. - "Cool n Quiet Framework (CnQF)" is an extension to the static slider, where the system power can be boosted or throttled independent of the selected slider position. - On the fly, the CnQF can be turned on/off via a sysfs knob. v4: ----------- - update amd_pmf_load_defaults_cnqf() and amd_pmf_init_cnqf() as suggested by Hans. - Add a new amd_pmf_cnqf_get_power_source() as a wrapper for amd_pmf_get_power_source(). - Drop call to amd_pmf_init_sps during sysfs _store() call. - Fix cosmetic issues v3: ----------- - use "is_visible" and ".dev_groups" for sysfs registration and handling. - Squash patch 3/4 and 4/4 into one. - update ABI doc with changes as suggested by Mario. - Fix amd_pmf_load_defaults_cnqf() error handling. v2: ----------- - Enable CnQF only when static slider is set to "balanced" and other cases keep it turned off. Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@xxxxxxx> Shyam Sundar S K (3): platform/x86/amd/pmf: Add support for CnQF platform/x86/amd/pmf: Add sysfs to toggle CnQF Documentation/ABI/testing/sysfs-amd-pmf: Add ABI doc for AMD PMF Documentation/ABI/testing/sysfs-amd-pmf | 13 + MAINTAINERS | 1 + drivers/platform/x86/amd/pmf/Makefile | 2 +- drivers/platform/x86/amd/pmf/acpi.c | 10 + drivers/platform/x86/amd/pmf/cnqf.c | 395 ++++++++++++++++++++++++ drivers/platform/x86/amd/pmf/core.c | 25 +- drivers/platform/x86/amd/pmf/pmf.h | 100 ++++++ 7 files changed, 544 insertions(+), 2 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-amd-pmf create mode 100644 drivers/platform/x86/amd/pmf/cnqf.c -- 2.25.1