v3
Fixed biggest blunder 

consecutive read output

#cat /sys/kernel/debug/punit_atom# cat dev_power_state 


PUNIT NORTH COMPLEX DEVICES :
GFX RENDER : D0i3
GFX MEDIA : D0i3
  DISPLAY : D0i3
      VED : D0i3
      ISP : D0i3
      MIO : D0

#/sys/kernel/debug/punit_atom# cat dev_power_state 


PUNIT NORTH COMPLEX DEVICES :
GFX RENDER : D0i3
GFX MEDIA : D0i3
  DISPLAY : D0i3
      VED : D0i3
      ISP : D0i3
      MIO : D0

#cat /sys/kernel/debug/punit_atom# cat dev_power_state 


PUNIT NORTH COMPLEX DEVICES :
GFX RENDER : D0i3
GFX MEDIA : D0i3
  DISPLAY : D0i3
      VED : D0i3
      ISP : D0i3
      MIO : D0

# cat /sys/kernel/debug/punit_atom# cat dev_power_state 


PUNIT NORTH COMPLEX DEVICES :
GFX RENDER : D0i3
GFX MEDIA : D0i3
  DISPLAY : D0i3
      VED : D0i3
      ISP : D0i3
      MIO : D0



v2
Addressed Ingo Molnar's comments
- Fix commit message
- Added punit explanation
- Formatting comments
- Moved to arch/x86/platform/intel_mid
- changed the debugfs file name

v1
 Based on review comments
 - Changed to tristate instead of bool
 - Moved config to kconfig.debug
 - Added debug in module name
 - Returning -ENXIO on debugfs file create error

v0:
Base version


Srinivas Pandruvada (1):
  x86: punit_atom: punit device state debug driver

 arch/x86/Kconfig.debug                         |   9 ++
 arch/x86/platform/intel-mid/Makefile           |   2 +
 arch/x86/platform/intel-mid/punit_atom_debug.c | 186 +++++++++++++++++++++++++
 3 files changed, 197 insertions(+)
 create mode 100644 arch/x86/platform/intel-mid/punit_atom_debug.c

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to