]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86:intel/pmc: Show substate requirement for S0ix blockers
authorXi Pardee <xi.pardee@linux.intel.com>
Wed, 10 Sep 2025 21:06:24 +0000 (14:06 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 11 Sep 2025 08:23:56 +0000 (11:23 +0300)
commita22bc8643889ef5a3c032700f69001fdc457413c
tree061101dd76f4e45e17e244184ef8db9d9019c05b
parent612326e0a87a5c75d35146ee172eb46bcd09089a
platform/x86:intel/pmc: Show substate requirement for S0ix blockers

Add support to read and show S0ix blocker substate requirements.
Starting from Panther Lake, substate requirement data is provided
based on S0ix blockers instead of all low power mode requirements.
For platforms that support this new feature, add support to display
substate requirements based on S0ix blockers.

Change the "substate_requirements" attribute of Intel PMC Core
driver to show the substate requirements for each S0ix blocker
and the corresponding S0ix blocker value.

Signed-off-by: Xi Pardee <xi.pardee@linux.intel.com>
Link: https://patch.msgid.link/20250910210629.11198-5-xi.pardee@linux.intel.com
[ij: rename pmc_index -> pmc_idx]
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/arl.c
drivers/platform/x86/intel/pmc/core.c
drivers/platform/x86/intel/pmc/core.h
drivers/platform/x86/intel/pmc/lnl.c
drivers/platform/x86/intel/pmc/mtl.c