platform/x86/intel-uncore-freq: Process read/write blocked feature status
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Mon, 4 Dec 2023 22:17:40 +0000 (14:17 -0800)
committerHans de Goede <hdegoede@redhat.com>
Mon, 11 Dec 2023 10:06:41 +0000 (11:06 +0100)
commitb06458d1b1cbb99635c7bb4f9a4f4c4cef2ed984
tree34f566e41c01f7082a4dd3921d82ba593690d517
parent8bed9ff7dbcce4d1a436f7839be48c6fd5fac0ce
platform/x86/intel-uncore-freq: Process read/write blocked feature status

When a feature is read blocked, don't continue to read uncore information
and register with uncore core.

When the feature is write blocked, continue to offer read interface but
block setting uncore limits.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20231204221740.3645130-6-srinivas.pandruvada@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/uncore-frequency/uncore-frequency-tpmi.c