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

Arnd Bergmann arnd at arndb.de
Wed Nov 11 06:24:17 PST 2026


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 at gmail.com>

Reviewed-by: Arnd Bergmann <arnd at arndb.de>



More information about the linux-arm-kernel mailing list