Commits
Matt McKee committed 9f62597a088
AM65SW-149 arm: mach-k3: arm64-mmu: increase NR_MMU_REGIONS When configuring the MMU, the am654_mem_map array is traversed until size and attrs fields are both zero. This leads to an out-of-bounds memory access and potential MMU misconfiguration when am654_mem_map is not large enough to contain the list terminator. To fix this, we guarantee am654_mem_map is large enough by increasing NR_MMU_REGIONS to account for cases where CONFIG_NR_DRAM_BANKS is less than two. Signed-off-by: Matt McKee <mmckee@phytec.com>