Kevin Hilman <khil...@deeprootsystems.com> writes:

> "Aguirre Rodriguez, Sergio Alberto" <saagui...@ti.com> writes:
>
>> Kevin,
>>
>>> -----Original Message-----
>>> From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap-
>>> ow...@vger.kernel.org] On Behalf Of Kevin Hilman
>>> Sent: Thursday, August 13, 2009 11:53 AM
>>> To: linux-arm-ker...@lists.arm.linux.org.uk; linux-...@vger.kernel.org
>>> Cc: linux-omap@vger.kernel.org; Tero Kristo
>>> Subject: [PATCH 06/10] OMAP: PM debug: Add PRCM register dump support
>>> 
>>> From: Tero Kristo <tero.kri...@nokia.com>
>>> 
>>> 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 <tero.kri...@nokia.com>
>>> Signed-off-by: Kevin Hilman <khil...@deeprootsystems.com>
>>> ---
>>>  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.
>

OK, fixed these locally but not worth a repost.  These will be updated in
the version pushed for pull request when reviewed/accepted.

Kevin



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

Reply via email to