]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86/intel/pmc: Enable substate residencies for multiple PMCs
authorXi Pardee <xi.pardee@linux.intel.com>
Thu, 8 Jan 2026 22:31:41 +0000 (14:31 -0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 13 Jan 2026 14:31:39 +0000 (16:31 +0200)
commit99e243c2b170c59f349e1b2a772a6f6a30430b4d
tree06bf86ccc3b3d55de4d1a527e0c56ed4c3684a72
parent92911c91b5b7049cb634ef912feab086fd54ed43
platform/x86/intel/pmc: Enable substate residencies for multiple PMCs

Enable substate residencies support for multiple PMCs. Previously
substate residencies were shown only for the primary PMC. This
change enables substate residencies for all available PMCs.

The output of substate_residencies with this patch will be similar
to this:
pmc0   Substate       Residency
         S0i2.0               0
         S0i2.1               0
         S0i2.2               0
pmc1   Substate       Residency
         S0i2.0               0
         S0i2.1               0
         S0i2.2               0
pmc2   Substate       Residency
         S0i2.0               0

Signed-off-by: Xi Pardee <xi.pardee@linux.intel.com>
Link: https://patch.msgid.link/20260108223144.504267-4-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