Re: [PATCH v3] x86: punit_atom: punit device state debug driver
From: Srinivas Pandruvada
Date: Mon May 04 2015 - 17:07:25 EST
On Mon, 2015-05-04 at 13:49 -0700, Srinivas Pandruvada wrote:
> v3
> Fixed biggest blunder
>
> consecutive read output
root@VALLEYVIEW-C0-PLATFORM:/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
root@VALLEYVIEW-C0-PLATFORM:/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
root@VALLEYVIEW-C0-PLATFORM:/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
root@VALLEYVIEW-C0-PLATFORM:/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
root@VALLEYVIEW-C0-PLATFORM:/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
root@VALLEYVIEW-C0-PLATFORM:/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
root@VALLEYVIEW-C0-PLATFORM:/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
root@VALLEYVIEW-C0-PLATFORM:/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
root@VALLEYVIEW-C0-PLATFORM:/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
>
--
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/