public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] x86: punit_atom: punit device state debug driver
@ 2015-05-04 20:49 Srinivas Pandruvada
  2015-05-04 20:49 ` Srinivas Pandruvada
  2015-05-04 21:05 ` Srinivas Pandruvada
  0 siblings, 2 replies; 4+ messages in thread
From: Srinivas Pandruvada @ 2015-05-04 20:49 UTC (permalink / raw)
  To: tglx, mingo, hpa, x86; +Cc: linux-kernel, pebolle, Srinivas Pandruvada

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-05-06  7:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-04 20:49 [PATCH v3] x86: punit_atom: punit device state debug driver Srinivas Pandruvada
2015-05-04 20:49 ` Srinivas Pandruvada
2015-05-06  7:16   ` Ingo Molnar
2015-05-04 21:05 ` Srinivas Pandruvada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox