[PATCH v4] x86: punit_atom: punit device state debug driver

From: Srinivas Pandruvada
Date: Wed May 06 2015 - 15:17:44 EST


v4
- Created arch/x86/platform/atom/ and added this module here
- Removed static global and use struct seq_file->private
- Handle case when directory is created by create file in it failed
- Use cpuid in decimal and naming it

v3
- Fixed biggest blunder for using global static variable increment

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 | 11 ++
arch/x86/platform/Makefile | 1 +
arch/x86/platform/atom/Makefile | 1 +
arch/x86/platform/atom/punit_atom_debug.c | 183 ++++++++++++++++++++++++++++++
4 files changed, 196 insertions(+)
create mode 100644 arch/x86/platform/atom/Makefile
create mode 100644 arch/x86/platform/atom/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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/