[PATCH] ARM: cache-l2x0: add resume entry for l2 in secure mode

Shawn Guo shawn.guo at freescale.com
Wed Sep 21 01:52:24 EDT 2011


Hi Barry,

On Tue, Sep 20, 2011 at 06:57:45PM -0700, Barry Song wrote:
> we save the l2x0 registers at the first initialization, and restore
> them after resuming every time.
> 
I'm unsure that it will work for cases like imx6q, where L2 cache is
retained and the controller needs to be restored at the very beginning
of the resume entry (running on physical space).

Regards,
Shawn

> Signed-off-by: Barry Song <Baohua.Song at csr.com>
> ---
>  arch/arm/include/asm/outercache.h |    7 +++
>  arch/arm/mm/cache-l2x0.c          |   81 ++++++++++++++++++++++++++++++++----
>  2 files changed, 79 insertions(+), 9 deletions(-)




More information about the linux-arm-kernel mailing list