[PATCH 0/2] Ignore Energy Model with abstract scale in IPA and DTPM
From: Lukasz Luba
Date: Mon Feb 07 2022 - 02:44:32 EST
Hi all,
The Energy Model supports abstract scale power values. This might cause
issues for some mechanisms like thermal governor IPA or DTPM, which
expect that all devices provide sane power values. This patch set prevents
from registering such devices for IPA and DTPM.
Regards,
Lukasz
Lukasz Luba (2):
thermal: cooling: Check Energy Model type in cpufreq_cooling and
devfreq_cooling
powercap: DTPM: Check Energy Model type for power values scale
drivers/powercap/dtpm_cpu.c | 2 +-
drivers/thermal/cpufreq_cooling.c | 2 +-
drivers/thermal/devfreq_cooling.c | 16 +++++++++++++---
3 files changed, 15 insertions(+), 5 deletions(-)
--
2.17.1