platform/x86:intel/pmc: Enable debugfs multiple PMC support
authorXi Pardee <xi.pardee@intel.com>
Tue, 13 Jun 2023 22:53:43 +0000 (15:53 -0700)
committerHans de Goede <hdegoede@redhat.com>
Tue, 20 Jun 2023 10:51:08 +0000 (12:51 +0200)
commit2bcef4529222424559ac9b45948ee9d82c09d9b5
tree968b801a58692848b0a85e67050607500d83a5de
parent1c709ae12dad6f7e2dd5becfbac0f5141c2e15fd
platform/x86:intel/pmc: Enable debugfs multiple PMC support

Enable debugfs support for multiple PMC. These debugfs attributes
show information for all enabled PMCs.

pch_ip_power_gating_status
substate_status_registers
substate_live_status_registers
ltr_show
ltr_ignore

Signed-off-by: Xi Pardee <xi.pardee@intel.com>
Signed-off-by: Rajvi Jingar <rajvi.jingar@linux.intel.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230613225347.2720665-5-rajvi.jingar@linux.intel.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel/pmc/core.c