"Aguirre Rodriguez, Sergio Alberto" <[email protected]> writes:

> Kevin,
>
>> -----Original Message-----
>> From: [email protected] [mailto:linux-omap-
>> [email protected]] On Behalf Of Kevin Hilman
>> Sent: Thursday, August 13, 2009 11:53 AM
>> To: [email protected]; [email protected]
>> Cc: [email protected]; Tero Kristo
>> Subject: [PATCH 06/10] OMAP: PM debug: Add PRCM register dump support
>> 
>> From: Tero Kristo <[email protected]>
>> 
>> Allows dumping out current register contents from the debug filesystem,
>> and
>> also allows user to add arbitrary register save points into code. Current
>> register contents are available under debugfs at:
>> 
>> [debugfs]/pm_debug/registers/current
>> 
>> To add a save point, do following:
>> 
>> From module init (or somewhere before the save call, called only once):
>>   pm_dbg_init_regset(n); // n=1..4, allocates memory for dump area #n
>> 
>> From arbitrary code location:
>>   pm_dbg_regset_save(n); // n=1..4, saves registers to dump area #n
>> 
>> After this, the register dump can be seen under
>> [debugfs]/pm_debug/registers/n
>> 
>> Signed-off-by: Tero Kristo <[email protected]>
>> Signed-off-by: Kevin Hilman <[email protected]>
>> ---
>>  arch/arm/mach-omap2/pm-debug.c |  208
>> ++++++++++++++++++++++++++++++++++++++++
>>  arch/arm/mach-omap2/pm.h       |    4 +
>>  2 files changed, 212 insertions(+), 0 deletions(-)
>>  mode change 100644 => 100755 arch/arm/mach-omap2/pm-debug.c
>>  mode change 100644 => 100755 arch/arm/mach-omap2/pm.h
>
> I guess these 755 mode changes weren't intentional... :)

Indeed, they were not.  Thanks.

Kevin
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to