x86/pmc_atom: Expose PMC device state and platform sleep state
authorLi, Aubrey <aubrey.li@linux.intel.com>
Mon, 30 Jun 2014 06:10:33 +0000 (14:10 +0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 25 Jul 2014 21:12:14 +0000 (14:12 -0700)
commitf855911c1f481734191615a7438a396f52a915dc
tree764d50993827e33d3852773dd8511538d738cffb
parentb00055cade45379fb6a51798b70ef520d7555c5f
x86/pmc_atom: Expose PMC device state and platform sleep state

Add the following interfaces to exposes PMC device state and sleep
state residency via debugfs:
/sys/kernel/debugfs/pmc_atom/dev_state
/sys/kernel/debugfs/pmc_atom/sleep_state

Signed-off-by: Aubrey Li <aubrey.li@linux.intel.com>
Link: http://lkml.kernel.org/r/53B0FF59.8000600@linux.intel.com
Signed-off-by: Kasagar, Srinidhi <srinidhi.kasagar@intel.com>
Reviewed-by: Rudramuni, Vishwesh M <vishwesh.m.rudramuni@intel.com>
Reviewed-by: Joe Perches <joe@perches.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/pmc_atom.h
arch/x86/kernel/pmc_atom.c