linux/drivers/platform/x86/amd/pmf
Mario Limonciello fcf27a6a92
platform/x86: amd: pmf: Fix STT limits
On some platforms it has been observed that STT limits are not being
applied properly causing poor performance as power limits are set too low.

STT limits that are sent to the platform are supposed to be in Q8.8
format.  Convert them before sending.

Reported-by: Yijun Shen <Yijun.Shen@dell.com>
Fixes: 7c45534afa ("platform/x86/amd/pmf: Add support for PMF Policy Binary")
Cc: stable@vger.kernel.org
Tested-by: Yijun Shen <Yijun_Shen@Dell.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Acked-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20250407181915.1482450-1-superm1@kernel.org
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2025-04-11 12:58:33 +03:00
..
Kconfig x86/amd_nb: Move SMN access code to a new amd_node driver 2025-01-08 10:59:44 +01:00
Makefile platform/x86: amd: Use *-y instead of *-objs in Makefiles 2025-02-24 17:15:02 +02:00
acpi.c platform/x86/amd/pmf: convert timeouts to secs_to_jiffies() 2025-03-21 18:07:38 +02:00
auto-mode.c platform/x86: amd: pmf: Fix STT limits 2025-04-11 12:58:33 +03:00
cnqf.c platform/x86: amd: pmf: Fix STT limits 2025-04-11 12:58:33 +03:00
core.c platform/x86: amd: pmf: Fix STT limits 2025-04-11 12:58:33 +03:00
pmf.h platform/x86: amd: pmf: Fix STT limits 2025-04-11 12:58:33 +03:00
spc.c platform/x86/amd: pmf: Fix missing hidden options for Smart PC 2025-03-13 14:53:33 +02:00
sps.c platform/x86: amd: pmf: Fix STT limits 2025-04-11 12:58:33 +03:00
tee-if.c platform/x86: amd: pmf: Fix STT limits 2025-04-11 12:58:33 +03:00