HomeFreeBSD

hwpstate_intel(4): Add fallback EPP using PERF_BIAS MSR

Description

hwpstate_intel(4): Add fallback EPP using PERF_BIAS MSR

Per Intel SDM (Vol 3b Part 2), if HWP indicates EPP (energy-performance
preference) is not supported, the hardware instead uses the ENERGY_PERF_BIAS
MSR. In the epp sysctl handler, fall back to that MSR if HWP does not
support EPP and CPUID indicates the ENERGY_PERF_BIAS MSR is supported.

Details

Provenance
cemAuthored on
Parents
rS357377: x86: Add/amend some power-management comments/macros
Branches
Unknown
Tags
Unknown