Re: [PATCH 02/33] drivers: base: cacheinfo: Add helper to find the cache size from cpu+level
From: Krzysztof Kozlowski
Date: Sun Aug 24 2025 - 14:14:37 EST
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@xxxxxxx>
>
> ---
> 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