From 0c949852485a1add4d8f0ea7f4770693595d80c5 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Thu, 7 Apr 2022 22:42:42 +0200 Subject: arch/x86/tables.c: Increase MAX_SMBIOS_SIZE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Systems have a lot more cores now and 4KiB is not cutting it. E.g. for a system with 255 cores more than 16KiB is needed. We could also make this a Kconfig parameter but it's probably not worth having such micro optimizations to save a few KiB. Change-Id: Idd47e55d8d679cc70eae996ee1af3ad7eaa1d0cc Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/c/coreboot/+/63484 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki Reviewed-by: Paul Menzel Reviewed-by: Angel Pons --- src/arch/x86/tables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/x86') diff --git a/src/arch/x86/tables.c b/src/arch/x86/tables.c index 1018dce335..8d2f7b6f20 100644 --- a/src/arch/x86/tables.c +++ b/src/arch/x86/tables.c @@ -142,7 +142,7 @@ static unsigned long write_smbios_table(unsigned long rom_table_end) { unsigned long high_table_pointer; -#define MAX_SMBIOS_SIZE (4 * KiB) +#define MAX_SMBIOS_SIZE (32 * KiB) high_table_pointer = (unsigned long)cbmem_add(CBMEM_ID_SMBIOS, MAX_SMBIOS_SIZE); -- cgit v1.2.3