Add North complex power state debug driver for BYT and CHT
Subsystems (3)
PATCH 1/1 Add North complex power state debug driver for BYT and CHT
The patch adds a debug driver which dumps the power states of all the North complex devices. This debug interface is useful to figure out the NC IPs which blocks the S0ix transitions on the platform. This is extremely useful during enabling PM on customer platforms and derivatives.
Signed-off-by Kumar P Mahesh <[email protected]>
--- arch/x86/Kconfig | 3 - arch/x86/kernel/Makefile | 1 + arch/x86/kernel/intel_nc_dev_state.c | 186 ++++++++++++++++++++++++++++++++++ kernel/power/Kconfig | 24 +++++ 4 files changed, 211 insertions(+), 3 deletions(-) create mode 100644 arch/x86/kernel/intel_nc_dev_state.c
arch/x86/Kconfig +0 -3
@@ -2450,9 +2450,6 @@ config IOSF_MBI Fabric (IOSF) Sideband MailBox Interface (MBI). For MBI platforms enumerable by PCI. -config PMC_ATOM - def_bool y - depends on PCI source "net/Kconfig"
arch/x86/kernel/Makefile +1 -0
@@ -106,6 +106,7 @@ obj-$(CONFIG_PERF_EVENTS) += perf_regs.o obj-$(CONFIG_TRACING) += tracepoint.o obj-$(CONFIG_IOSF_MBI) += iosf_mbi.o obj-$(CONFIG_PMC_ATOM) += pmc_atom.o +obj-$(CONFIG_INTEL_SOC_NC_STATE) += intel_nc_dev_state.o ###
arch/x86/kernel/intel_nc_dev_state.c new file +186 -0
186 lines not on this page · raw message
kernel/power/Kconfig +24 -0
@@ -217,6 +217,30 @@ config PM_TRACE dependent, x86 will print the information during a late_initcall. +menu "Intel PM Debug Driver" + +config INTEL_SOC_NC_STATE + bool "North Complex devices power state driver" + def_bool y + ---help--- + This is a debug driver which gets the power states + of all North Complex devices.The power states of + each IP is exposed as part of the debugfs + interface + +config PMC_ATOM + bool "South Complex devices power state driver" + def_bool y + depends on PCI + ---help--- + This is a debug driver which gets the power states + of all South Complex devices.The driver also dumps + the information on S0ix residencies.The power states + of each IP is exposed as part of the debugfs + interface + +endmenu + config PM_TRACE_RTC bool "Suspend/resume event tracing" depends on PM_SLEEP_DEBUG
Signature · 1 line
1.7.9.5