Re: [PATCH v3 26/47] arm_mpam: resctrl: Wait for cacheinfo to be ready
From: Jonathan Cameron
Date: Tue Jan 13 2026 - 10:02:04 EST
On Mon, 12 Jan 2026 16:58:53 +0000
Ben Horgan <ben.horgan@xxxxxxx> wrote:
> In order to calculate the rmid realloc threshold the size of the cache
> needs to be known. Cache domains will also be named after the cache id. So
> that this information can be extracted from cacheinfo we need to wait for
> it to be ready. The cacheinfo information is populated in device_initcall()
> so we wait for that.
>
> Signed-off-by: James Morse <james.morse@xxxxxxx>
> [horgan: split out from another patch]
> Signed-off-by: Ben Horgan <ben.horgan@xxxxxxx>
> ---
> This is moved into it's own patch to allow all uses of cacheinfo to be
> valid when they are introduced.
I don't mind the patch but I'm not entirely following this comment. Is
the point that previously there was a sneaky user before this was added in
the series?
Anyhow, that's not in the patch itself so
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>