common: memtop: Update the MEM_RGN_COUNT macro to 64

Crashes are occurring due to the number of reserved memory regions
exceeding the current maximum limit of 16. It is recommended to
increase the supported number of memory regions to 64, as newer
platforms may utilize more reserved regions.

Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/d9f73d26af832e19dfd79a4b7bfcf09c498a4873.1764169780.git.michal.simek@amd.com
This commit is contained in:
Venkatesh Yadav Abbarapu
2025-11-26 16:09:41 +01:00
committed by Michal Simek
parent 66a9a431ee
commit 16eaf907d5

View File

@@ -9,7 +9,7 @@
#include <asm/types.h>
#define MEM_RGN_COUNT 16
#define MEM_RGN_COUNT 64
struct region {
phys_addr_t base;