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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux