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

Russell King - ARM Linux linux at arm.linux.org.uk
Sat Oct 1 11:06:46 EDT 2011


On Fri, Sep 30, 2011 at 02:42:53AM -0700, Barry Song wrote:
> From: Barry Song <Baohua.Song at csr.com>
> 
> we save the l2x0 registers at the first initialization, and platform codes
> can get them to restore l2x0 status after wakeup.
> 
> Cc: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
> Signed-off-by: Barry Song <Baohua.Song at csr.com>
> Reviewed-by: Santosh Shilimkar <santosh.shilimkar at ti.com>
> Tested-by: Shawn Guo <shawn.guo at linaro.org>

This looks fine, thanks Barry.

The one remaining issue is whether we use this or use Lorenzo's patches.
I feel that Barry's version is a lot simpler and easier to use, so this
is my preference.  Anyone else got another opinion between the two?



More information about the linux-arm-kernel mailing list