+87
−6
Loading
When Floor Performance feature is supported by the platform, expose
two sysfs files:
* amd_pstate_floor_freq to allow userspace to request the floor
frequency for each CPU.
* amd_pstate_floor_count which advertises the number of distinct
levels of floor frequencies supported on this platform.
Reset the floor_perf to bios_floor_perf in the suspend, offline, and
exit paths, and restore the value to the cached user-request
floor_freq on the resume and online paths mirroring how bios_min_perf
is handled for MSR_AMD_CPPC_REQ.
Reviewed-by:
Mario Limonciello (AMD) <superm1@kernel.org>
Signed-off-by:
Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by:
Mario Limonciello (AMD) <superm1@kernel.org>