]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86:intel/pmc: Improve function to show substate header
authorXi Pardee <xi.pardee@linux.intel.com>
Wed, 10 Sep 2025 21:06:23 +0000 (14:06 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 11 Sep 2025 08:23:54 +0000 (11:23 +0300)
commit612326e0a87a5c75d35146ee172eb46bcd09089a
tree3b6a0a5aa9e2039c3d5de0c205ff0687ae3e5d9f
parent1e508af6bc4b24a7924b619800f1b138281f0e82
platform/x86:intel/pmc: Improve function to show substate header

Refactor pmc_core_substate_req_header_show() to accept a new argument.
This is a preparation patch to introduce a new way to show Low Power
Mode substate requirement data for platforms starting from Panther
Lake. Increased the size for the name column as the Low Power Mode
requirement register name is longer in newer platforms.

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