[PATCH 02/33] drivers: base: cacheinfo: Add helper to find the cache size from cpu+level
James Morse
james.morse at arm.com
Wed Aug 27 10:11:38 PDT 2025
Hi Krzysztof,
On 24/08/2025 18:25, Krzysztof Kozlowski wrote:
> On 22/08/2025 17:29, James Morse wrote:
>> MPAM needs to know the size of a cache associated with a particular CPU.
>> The DT/ACPI agnostic way of doing this is to ask cacheinfo.
>>
>> Add a helper to do this.
>> ---
>> Changes since v1:
>
> You marked this as v1.
Oops - that should say RFC. I'll fix all those.
>> * Converted to kdoc.
>> * Simplified helper to use get_cpu_cacheinfo_level().
> Please use consistent subject prefixes. Look at previous patch subject
> prefix.
Presumably the previous patch in my series - this is a side effect of multiple branches
that were written at different times getting combined! I'll change it to 'cacheinfo:' as
that seems to be the most popular recently.
Thanks,
James
More information about the linux-arm-kernel
mailing list