AMD PMF Driver (a.k.a Platform Management Framework) provides a centralized framework based on sensor inputs, OS hints, platform state and APU metrics to dynamically manage perf, power and system thermals. The goal of the driver is to enhance end user experience by making AMD PCs smarter, quieter, power efficient by adapting to user behavior and environment. The larger goals include: - Enable easy customization of smart PC solutions by OEMs. - Provide a framework for OEMs to add in custom algorithms and solutions - Improve standby and dynamic platform power through active power management of platform devices. In this series, support for following features has been added. - "Static Power Slider" meant to manage the power budget based on the power modes or the slider position. - "Auto Mode" tracks the moving power average of the APU and takes intelligent decisions to switch between different modes. Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@xxxxxxx> v2 Resend: ----------- - Patches from 9 to 11 were not sent due to wrong email address. Hence resending. v1->v2: ------- - optimize the ACPI path by having a common routine apmf_if_call_store_buffer() - Simply Static slider interaction with platform_profile - Remove CONFIG_DEBUG_FS stub code - Drop changes introduced in platform_profile_get() - Drop CnQF support. Will be sent as a patch-set later. - Other code improvements Shyam Sundar S K (11): platform/x86/amd/pmf: Add support for PMF core layer platform/x86/amd/pmf: Add support for PMF APCI layer platform/x86/amd/pmf: Add support SPS PMF feature platform/x86/amd/pmf: Add debugfs information platform/x86/amd/pmf: Add heartbeat signal support platform/x86/amd/pmf: Add fan control support platform/x86/amd/pmf: Get performance metrics from PMFW platform/x86/amd/pmf: Add support for Auto mode feature platform/x86/amd/pmf: Handle AMT and CQL events for Auto mode platform/x86/amd/pmf: Force load driver on older supported platforms MAINTAINERS: Add AMD PMF driver entry MAINTAINERS | 7 + drivers/platform/x86/amd/Kconfig | 2 + drivers/platform/x86/amd/Makefile | 1 + drivers/platform/x86/amd/pmf/Kconfig | 16 + drivers/platform/x86/amd/pmf/Makefile | 9 + drivers/platform/x86/amd/pmf/acpi.c | 320 ++++++++++++++++++ drivers/platform/x86/amd/pmf/auto-mode.c | 339 +++++++++++++++++++ drivers/platform/x86/amd/pmf/core.c | 412 +++++++++++++++++++++++ drivers/platform/x86/amd/pmf/pmf.h | 346 +++++++++++++++++++ drivers/platform/x86/amd/pmf/sps.c | 152 +++++++++ 10 files changed, 1604 insertions(+) create mode 100644 drivers/platform/x86/amd/pmf/Kconfig create mode 100644 drivers/platform/x86/amd/pmf/Makefile create mode 100644 drivers/platform/x86/amd/pmf/acpi.c create mode 100644 drivers/platform/x86/amd/pmf/auto-mode.c create mode 100644 drivers/platform/x86/amd/pmf/core.c create mode 100644 drivers/platform/x86/amd/pmf/pmf.h create mode 100644 drivers/platform/x86/amd/pmf/sps.c -- 2.25.1