Thread (200 messages) 200 messages, 10 authors, 2025-09-10

Re: [PATCH 02/33] drivers: base: cacheinfo: Add helper to find the cache size from cpu+level

From: James Morse <james.morse@arm.com>
Date: 2025-08-27 17:11:45
Also in: linux-acpi, linux-devicetree, lkml

Hi Krzysztof,

On 24/08/2025 18:25, Krzysztof Kozlowski wrote:
On 22/08/2025 17:29, James Morse wrote:
quoted
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.
quoted
---
Changes since v1:
You marked this as v1.
Oops - that should say RFC. I'll fix all those.

quoted
 * 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help