mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
platform/x86/amd/pmf: Introduce AMD PMF testing tool for driver metrics and features
This tool leverages amd-pmf ioctls exposed via the util layer, allowing validation of its newly integrated util layer and /dev/amdpmf_interface. It includes a user-space test application, test_amd_pmf, designed to interact with the PMF driver and retrieve relevant metrics for the testing and analysis. It provides definitions for test metrics, feature IDs, and device states, and includes tests for various AMD PMF metrics such as power source, skin temperature, battery state, and custom BIOS inputs/outputs. It also enables the testing of PMF metrics data and feature support reporting. Co-developed-by: Sanket Goswami <Sanket.Goswami@amd.com> Signed-off-by: Sanket Goswami <Sanket.Goswami@amd.com> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> Link: https://patch.msgid.link/20260609081044.2416731-7-Shyam-sundar.S-k@amd.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
This commit is contained in:
parent
5bda82c797
commit
a5edf10e3a
2 changed files with 202 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue