Re: [PATCH 1/2] ARM: l2c: factor out the number of ways

From: Arnd Bergmann

Date: Wed Nov 11 2026 - 09:31:02 EST


On Wed, Nov 11, 2026, at 14:39, Agustin Santiago Isasmendi wrote:
> __l2c_init() derives the number of ways from the cache ID and the
> auxiliary control register. Move that into l2c_num_ways() so that the
> next patch can use it before the cache is initialised. No functional
> change.
>
> Assisted-by: LLM
> Signed-off-by: Agustin Santiago Isasmendi <isasmendi.agus@xxxxxxxxx>

Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>