arch/x86/tables.c: Increase MAX_SMBIOS_SIZE
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 <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/63484 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
d5ada6d781
commit
0c94985248
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue