[PATCH 02/33] drivers: base: cacheinfo: Add helper to find the cache size from cpu+level
Krzysztof Kozlowski
krzk at kernel.org
Sun Aug 24 10:25:20 PDT 2025
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.
>
> Signed-off-by: James Morse <james.morse at arm.com>
>
> ---
> Changes since v1:
You marked this as v1.
> * Converted to kdoc.
> * Simplified helper to use get_cpu_cacheinfo_level().
Please use consistent subject prefixes. Look at previous patch subject
prefix.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list