Re: [PATCH] arm64: Make L1_CACHE_SHIFT configurable

From: Florian Fainelli
Date: Mon Feb 12 2018 - 18:57:45 EST


On 02/12/2018 03:52 PM, Timur Tabi wrote:
> On 02/12/2018 05:45 PM, Florian Fainelli wrote:
>> +config ARM64_L1_CACHE_SHIFT
>> +ÂÂÂ int
>> +ÂÂÂ default 7 if ARM64_L1_CACHE_SHIFT_7
>> +ÂÂÂ default 6
>
> Shouldn't this be the other way around? Everyone is used to 7 now, so
> you're changing the default back to 6. I would think that it should be
> 7 by default, and platforms like Brahma-B53 should force it to 6.

That is debatable, is there a good publicly available table of what the
typical L1 cache line size is on ARMv8 platforms?
--
Florian