Thread (32 messages) flat view 32 messages, 7 authors, 2011-02-28
STALE5675d

[PATCH v3 2/5] ARM: pm: add generic CPU suspend/resume support

From: Santosh Shilimkar <hidden>
Date: 2011-02-11 12:07:04

-----Original Message-----
From: linux-arm-kernel-bounces at lists.infradead.org [mailto:linux-
arm-kernel-bounces at lists.infradead.org] On Behalf Of Russell King -
ARM Linux
Sent: Friday, February 11, 2011 5:29 PM
To: Colin Cross; Santosh Shilimkar; Kukjin Kim
Cc: saeed bishara; linux-arm-kernel at lists.infradead.org
Subject: Re: [PATCH v3 2/5] ARM: pm: add generic CPU suspend/resume
support

On Wed, Feb 09, 2011 at 07:15:25PM -0800, Colin Cross wrote:
quoted
The diagnostic register also needs to be saved to keep the errata
bits
quoted
set in __v7_setup.
Saving I've no problem with.  Restoring gets hairy with kernels
running
in non-secure mode, as we can't just write the register - we don't
know
whether we are running in secure or non-secure mode.  A write to the
register in NS mode will crash.

Santosh: is the diagnostic register on OMAP4 re-initialized by the
secure code on OMAP?
There is a Monitor secure API, needs to be called from non-secure
software to set this diagnostic registers in resume path.

Regards,
Santosh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help