[PATCH] arm64: Make L1_CACHE_SHIFT configurable

Florian Fainelli f.fainelli at gmail.com
Mon Feb 12 15:57:29 PST 2018


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



More information about the linux-arm-kernel mailing list