[PATCH v3] ARM: save/restore Cortex-A9 CP15 registers on suspend/resume

Shawn Guo shawn.guo at freescale.com
Tue Jul 15 23:42:50 PDT 2014


On Mon, Jul 14, 2014 at 01:19:06PM +0800, Shawn Guo wrote:
> On Thu, Jul 10, 2014 at 05:05:23PM +0200, Nicolas Pitre wrote:
> > On Thu, 10 Jul 2014, Shawn Guo wrote:
> > 
> > > The CP15 diagnostic register holds ARM errata bits on Cortex-A9, so it
> > > needs to be saved/restored on suspend/resume.  Otherwise, the
> > > effectiveness of errata workaround gets lost together with diagnostic
> > > register bit across suspend/resume cycle.  And the CP15 power control
> > > register of Cortex-A9 shares the same problem.
> > > 
> > > The patch adds a couple of Cortex-A9 specific suspend/resume functions
> > > to save/restore these two Cortex-A9 CP15 registers across the
> > > suspend/resume cycle.
> > > 
> > > Signed-off-by: Shawn Guo <shawn.guo at freescale.com>
> > 
> > Acked-by: Nicolas Pitre <nico at linaro.org
> 
> Thanks, Nico.
> 
> If no one has objection to the patch, I'm going to put it into patch
> tracker soon.

Submitted as 8103/1.

Shawn



More information about the linux-arm-kernel mailing list