For platforms with high number of numa nodes, 32 e820 entries are not
enough. Linux kernel sets the maximum e820 entries to a base value of
128. Setting BUILD_MAX_E820 to 128 to be in sync with this base value.

Signed-off-by: Tony Titus <ton...@amazon.com>
---
 src/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config.h b/src/config.h
index 9abe355..16952eb 100644
--- a/src/config.h
+++ b/src/config.h
@@ -15,7 +15,7 @@
 #define BUILD_APPNAME4 "BXPC"
 
 // Maximum number of map entries in the e820 map
-#define BUILD_MAX_E820 32
+#define BUILD_MAX_E820 128
 // Space to reserve in high-memory for tables
 #define BUILD_MIN_HIGHTABLE (256*1024)
 #define BUILD_MAX_HIGHTABLE (16*1024*1024)
-- 
2.40.1

_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org

Reply via email to