+26
−10
Loading
The energy performance preference field of the CPPC request MSR supports values from 0 to 255, but the strings only offer 4 values. The other values are useful for tuning the performance of some workloads. Add support for writing the raw energy performance preference value to the sysfs file. If the last value written was an integer then an integer will be returned. If the last value written was a string then a string will be returned. Reviewed-by:Gautham R. Shenoy <gautham.shenoy@amd.com> Signed-off-by:
Mario Limonciello (AMD) <superm1@kernel.org>