You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
linux/cpukinds/freq: use acpi_cppc/nominal_freq when available
cpufreq/base_frequency is only available on Intel so far, and works well.
acpi_cppc/nominal_freq is already available on AMD (and ARM or soon),
so it's likely good for the future.
However it reports incorrect values on Intel SPR and MTL at least.
Hence try cpufreq/base_frequency first,
then fallback to acpi_cppc/nominal_freq.
Refs #690
Signed-off-by: Brice Goglin <[email protected]>
(cherry picked from commit 2292110)
0 commit comments