[PATCH 4/4] ARM: apply the l2x0 Errata 769419 at run time
Russell King - ARM Linux
linux at arm.linux.org.uk
Tue Jan 22 04:43:30 EST 2013
On Tue, Jan 22, 2013 at 11:29:17AM +0530, Srinidhi Kasagar wrote:
> On Mon, Jan 21, 2013 at 17:12:02 +0100, Russell King - ARM Linux wrote:
> > Is it really worth this hastle, or would it just be better to keep the
> > ifdef there, using the configuration symbol as a way to indicate whether
> > we want this work-around included in the kernel, and always have the
> > wmb() there if the symbol is enabled?
> We can keep the ifdef there, my idea was to completely eliminate these
> CONFIG_PL310_ERRATA_*. The problem comes when you have a single defconfig
> for two platforms (ex, ST-E's 8500 and 8540) where one platform needs
> this and the other don't.
And the answer is... if you don't need it at all in the kernel, because
none of your platforms need it, you can eliminate it. If one of your
platforms needs it, it's probably best to compile it in and make it
unconditional there.
More information about the linux-arm-kernel
mailing list