]> xenbits.xensource.com Git - osstest/seabios.git/commitdiff
Increase BUILD_MAX_E820 to 128
authorTony Titus via SeaBIOS <seabios@seabios.org>
Fri, 28 Jul 2023 04:41:48 +0000 (04:41 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Thu, 24 Aug 2023 08:32:06 +0000 (10:32 +0200)
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 <tonydt@amazon.com>
Message-ID: <20230728044148.58041-1-tonydt@amazon.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
src/config.h

index 9abe355b6c47328229e46dc3691147d96cc97cdf..16952eb75a98865f848332ed800885014eddcbd0 100644 (file)
@@ -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)