| From: |
| Shyam Sundar S K <Shyam-sundar.S-k-AT-amd.com> |
| To: |
| <hdegoede-AT-redhat.com>, <markgross-AT-kernel.org> |
| Subject: |
| [PATCH v1 00/15] platform/x86/amd/pmf: Introduce AMD PMF Driver |
| Date: |
| Tue, 12 Jul 2022 20:28:32 +0530 |
| Message-ID: |
| <20220712145847.3438544-1-Shyam-sundar.S-k@amd.com> |
| Cc: |
| <platform-driver-x86-AT-vger.kernel.org>, <Patil.Reddy-AT-amd.com>, "Shyam Sundar S K" <Shyam-sundar.S-k-AT-amd.com> |
| Archive-link: |
| Article |
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.
- "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.
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Mario Limonciello (1):
ACPI: platform_profile: Add support for notification chains
Shyam Sundar S K (14):
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 CnQF
platform/x86/amd/pmf: Add sysfs to toggle CnQF
Documentation/ABI/testing/sysfs-amd-pmf: Add ABI doc for AMD PMF
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
Documentation/ABI/testing/sysfs-amd-pmf | 11 +
MAINTAINERS | 7 +
drivers/acpi/platform_profile.c | 26 ++
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 | 453 ++++++++++++++++++++++
drivers/platform/x86/amd/pmf/auto-mode.c | 339 +++++++++++++++++
drivers/platform/x86/amd/pmf/cnqf.c | 379 +++++++++++++++++++
drivers/platform/x86/amd/pmf/core.c | 431 +++++++++++++++++++++
drivers/platform/x86/amd/pmf/pmf.h | 457 +++++++++++++++++++++++
drivers/platform/x86/amd/pmf/sps.c | 166 ++++++++
include/linux/platform_profile.h | 1 +
14 files changed, 2298 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-amd-pmf
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/cnqf.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