]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86/intel/pmc: Enable PkgC LTR blocking counter
authorXi Pardee <xi.pardee@linux.intel.com>
Tue, 5 May 2026 04:33:33 +0000 (21:33 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 8 May 2026 18:38:45 +0000 (21:38 +0300)
commit38c79dd63b72e36919ef097d4e5025ca0fa17f34
tree99eba73c809052cadda96353a85309293dc56b3a
parentdfe614f82e445a65cb2afd01859b06b01fce8889
platform/x86/intel/pmc: Enable PkgC LTR blocking counter

Enable the Package C-state LTR blocking counter in the PMT telemetry
region. This counter records how many times any Package C-state entry
is blocked for the specified reasons.

Add pmc_core_pkgc_counters_show() as a common helper to display
package C-state blocking counters from the telemetry region.

Signed-off-by: Xi Pardee <xi.pardee@linux.intel.com>
Link: https://patch.msgid.link/20260505043342.2573556-3-xi.pardee@linux.intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/pmc/core.c
drivers/platform/x86/intel/pmc/core.h