]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86/intel-uncore-freq: Add support for efficiency latency control
authorTero Kristo <tero.kristo@linux.intel.com>
Wed, 28 Aug 2024 15:34:54 +0000 (18:34 +0300)
committerHans de Goede <hdegoede@redhat.com>
Wed, 4 Sep 2024 18:17:31 +0000 (20:17 +0200)
commitbb516dc79c4a6334d5ef6bdbd0d262cf8be9db8e
treeda25db5bb11b1ae8f60df513cd1505478fb6a0d7
parent8022ae2c435f09f029a68235e3bb49e1e0b5b686
platform/x86/intel-uncore-freq: Add support for efficiency latency control

Add efficiency latency control support to the TPMI uncore driver. This
defines two new threshold values for controlling uncore frequency, low
threshold and high threshold. When CPU utilization is below low threshold,
the user configurable floor latency control frequency can be used by the
system. When CPU utilization is above high threshold, the uncore frequency
is increased in 100MHz steps until power limit is reached.

Signed-off-by: Tero Kristo <tero.kristo@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20240828153657.1296410-3-tero.kristo@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.h
drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c