x86/platform/atom/punit: Add Punit device state debug driver
authorSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Wed, 6 May 2015 19:15:54 +0000 (12:15 -0700)
committerIngo Molnar <mingo@kernel.org>
Thu, 7 May 2015 09:18:27 +0000 (11:18 +0200)
commit956079e081427fe0c929eb284ab7e39f9b8e2023
treee9b22da8b1fa79b0480f2b8d21e3c6da696f3c5c
parent1222e564cf4394af0b3c5e8a73330b20862c068b
x86/platform/atom/punit: Add Punit device state debug driver

The patch adds a debug driver, which dumps the power states
of all the North complex (NC) devices. This debug interface is
useful to figure out the devices,  which blocks the S0ix
transitions on the platform. This is extremely useful during
enabling PM on customer platforms and derivatives.

This submission is based on the submission from Mahesh Kumar P:

  https://lkml.org/lkml/2014/11/5/367

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Mahesh Kumar P <mahesh.kumar.p@intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: pebolle@tiscali.nl
Link: http://lkml.kernel.org/r/1430939754-6900-2-git-send-email-srinivas.pandruvada@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/Kconfig.debug
arch/x86/platform/Makefile
arch/x86/platform/atom/Makefile [new file with mode: 0644]
arch/x86/platform/atom/punit_atom_debug.c [new file with mode: 0644]