]> www.infradead.org Git - users/jedix/linux-maple.git/commit
platform/x86/intel/pmc: Show live substate requirements
authorKane Chen <kane.chen@intel.com>
Fri, 19 Jul 2024 12:28:07 +0000 (20:28 +0800)
committerHans de Goede <hdegoede@redhat.com>
Mon, 12 Aug 2024 13:49:45 +0000 (15:49 +0200)
commita6fe07ce522a9f6242161ec516d46234c124c35f
treecbfc8301567d1a9dc4e87022098bb475bc4d0d43
parent4c29e80ab885fed99d863d744e41a9b50cd32f2d
platform/x86/intel/pmc: Show live substate requirements

While debugging runtime s0ix, we do need to check which required IPs
are not power gated. This patch adds code to show live substate status
vs requirements in sys/kernel/debug/pmc_core/substate_requirements to
help runtime s0ix debug.

Signed-off-by: Kane Chen <kane.chen@intel.com>
Link: https://lore.kernel.org/r/20240719122807.3853292-1-kane.chen@intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/pmc/core.c