]> www.infradead.org Git - linux.git/commit
platform/x86/intel-uncore-freq: Add efficiency latency control to sysfs interface
authorTero Kristo <tero.kristo@linux.intel.com>
Wed, 28 Aug 2024 15:34:55 +0000 (18:34 +0300)
committerHans de Goede <hdegoede@redhat.com>
Wed, 4 Sep 2024 18:17:31 +0000 (20:17 +0200)
commit24b6616355f7eb2a839776578b104a0348b4f77f
treecd2e0e7f749e4bc516dad8bcecc98226a37b3b41
parentbb516dc79c4a6334d5ef6bdbd0d262cf8be9db8e
platform/x86/intel-uncore-freq: Add efficiency latency control to sysfs interface

Add the TPMI efficiency latency control fields to the sysfs interface.
The sysfs files are mapped to the TPMI uncore driver via the registered
uncore_read and uncore_write driver callbacks. These fields are not
populated on older non TPMI hardware.

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-4-tero.kristo@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.c
drivers/platform/x86/intel/uncore-frequency/uncore-frequency-common.h