[PATCH v2] RFC: ARM: cache-l2x0: update workaround for PL310 errata 727915
Linus Walleij
linus.walleij at linaro.org
Tue May 22 05:25:40 EDT 2012
On Tue, May 22, 2012 at 11:21 AM, Will Deacon <will.deacon at arm.com> wrote:
>> +#ifdef CONFIG_PL310_ERRATA_727915
>> + if (is_pl310_rev(REV_PL310_R2P0)) {
>> + l2x0_for_each_set_way(l2x0_base + L2X0_CLEAN_INV_LINE_IDX);
>> + return;
>> + }
>> +#endif
>
> If we're adding code like this to flush_all, maybe we'd be better off just
> assigning a different function to outer_cache.flush_all if we detect that
> the current outer cache is an affected PL310 variant. However, note that
> __l2x0_flush_all is called on the disable path. Do we need to intercept that
> too?
No idea. I was mainly forwarding the patch after findng it in the
Android tree. I'm hoping Colin and Santosh can help us hash this out...
The thing is that since this is in the Android tree and vendors tend to
use that as a base for development rather than using kernel.org,
we will see this code deployed in a large number of systems, so I
wanted to expose it to the kernel community.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list