summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVenkatesh Yadav Abbarapu <[email protected]>2025-11-26 16:09:41 +0100
committerMichal Simek <[email protected]>2025-12-19 08:25:27 +0100
commit16eaf907d5808c6b2ab6a7814d72d8277f3e7e44 (patch)
treed558d744952540b9fbee8e5b5f46d4b5621b385b
parent66a9a431ee62c90762f919c038b54393c7fa5bd8 (diff)
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 <[email protected]> Signed-off-by: Michal Simek <[email protected]> Link: https://lore.kernel.org/r/d9f73d26af832e19dfd79a4b7bfcf09c498a4873.1764169780.git.michal.simek@amd.com
-rw-r--r--common/memtop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/memtop.c b/common/memtop.c
index bff27d8211e..8ad394193f3 100644
--- a/common/memtop.c
+++ b/common/memtop.c
@@ -9,7 +9,7 @@
#include <asm/types.h>
-#define MEM_RGN_COUNT 16
+#define MEM_RGN_COUNT 64
struct region {
phys_addr_t base;