[PATCH 3/4] ARM: L2 : Errata 588369: Clean & Invalidate donotinvalidate clean lines

Catalin Marinas catalin.marinas at arm.com
Mon Dec 14 06:09:04 EST 2009


On Mon, 2009-12-14 at 10:52 +0000, Shilimkar, Santosh wrote:
> > On Wed, 2009-12-09 at 18:43 +0000, Santosh Shilimkar wrote:
> > > +#ifdef CONFIG_PL310_ERRATA_588369
> > > +       /*
> > > +        * Disable Write-Back and Cache Linefill (set bits [1:0] of the Debug
> > > +        * Control Register)
> > > +        */
> > > +       __asm__ __volatile__(
> > > +       "stmfd r13!, {r0-r12, r14}\n"
> > > +       "mov r0, #3\n"
> > > +       "ldr r12, =0x100\n"
> > > +       "dsb\n"
> > > +       "smc\n"
> > > +       "ldmfd r13!, {r0-r12, r14}");
[...]
> > Is a DSB needed before SMC (I'm not sure)?
> 
> That was a recommendation though not having it, I didn't observer any problems.

Maybe it's needed, I'm not sure, but if you found it recommended in some
errata description, then you probably need it.

-- 
Catalin




More information about the linux-arm-kernel mailing list