]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86/intel/pmc: Move LPM mode attributes to PMC
authorXi Pardee <xi.pardee@linux.intel.com>
Thu, 8 Jan 2026 22:31:40 +0000 (14:31 -0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 13 Jan 2026 14:31:38 +0000 (16:31 +0200)
commit92911c91b5b7049cb634ef912feab086fd54ed43
tree0b957a5888255d5e18776a70353ea4babf9508ad
parent65b3a9220345f5dd37ff0227673c95755dbe5c2f
platform/x86/intel/pmc: Move LPM mode attributes to PMC

Move LPM modes attributes from the pmc_dev to the pmc structure. LPM
modes are PMC-specific and should be stored within the pmc structure.

After the change, LPM mode information will be retrieved and stored per
PMC. The substate_requirements attribute in debugfs will display the
requirements for each enabled LPM substate.

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