Re: [PATCH v2 1/4] arm: mach-k3: Let the compiler size the mem_map lists

2023-12-15 Thread Tom Rini
On Tue, Nov 28, 2023 at 11:05:25AM -0600, Andrew Davis wrote: > NR_MMU_REGIONS is a copy/paste from another platform that extends > this list later. We do not do that, so let the list be the size > of the initializer list. > > Signed-off-by: Andrew Davis > Reviewed-by: Nishanth Menon > Tested-b

[PATCH v2 1/4] arm: mach-k3: Let the compiler size the mem_map lists

2023-11-28 Thread Andrew Davis
NR_MMU_REGIONS is a copy/paste from another platform that extends this list later. We do not do that, so let the list be the size of the initializer list. Signed-off-by: Andrew Davis Reviewed-by: Nishanth Menon Tested-by: Nishanth Menon --- arch/arm/mach-k3/arm64-mmu.c | 35 ++-