[SeaBIOS] [Increase BUILD_MAX_E820 to 128] Increase BUILD_MAX_E820 to 128

Tony Titus via SeaBIOS posted 1 patch 9 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/seabios tags/patchew/20230728044148.58041-1-tonydt@amazon.com
src/config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[SeaBIOS] [Increase BUILD_MAX_E820 to 128] Increase BUILD_MAX_E820 to 128
Posted by Tony Titus via SeaBIOS 9 months ago
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>
---
 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-leave@seabios.org
[SeaBIOS] Re: [Increase BUILD_MAX_E820 to 128] Increase BUILD_MAX_E820 to 128
Posted by Gerd Hoffmann 8 months, 1 week ago
On Fri, Jul 28, 2023 at 04:41:48AM +0000, Tony Titus via SeaBIOS wrote:
> 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>

Patch committed.

thanks,
  Gerd

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