[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1430772593-20204-1-git-send-email-srinivas.pandruvada@linux.intel.com>
Date: Mon, 4 May 2015 13:49:52 -0700
From: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
To: tglx@...utronix.de, mingo@...hat.com, hpa@...or.com, x86@...nel.org
Cc: linux-kernel@...r.kernel.org, pebolle@...cali.nl,
Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>
Subject: [PATCH v3] x86: punit_atom: punit device state debug driver
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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists