From 9aaa3e99d3c59d2aadf7dbcdf63426e9a424e1ce Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Thu, 13 Feb 2025 19:06:50 -0600 Subject: [PATCH] src/acpi/acpigen: Increase LENSTACK_SIZE from 10 to 15 Some upcoming patches run up against the existing limit, which was added 16 years ago without any justification as to the size. Bump the size from 10 to 15, to prevent tripping the runtime assertion. TEST=Tested with rest of patch train Change-Id: I8362b3a63a23bea0ce47920e5d41cd2535dbc084 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/86427 Tested-by: build bot (Jenkins) Reviewed-by: Sean Rhodes Reviewed-by: Patrick Rudolph --- src/acpi/acpigen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/acpi/acpigen.c b/src/acpi/acpigen.c index f682522bc8..7d24b9e131 100644 --- a/src/acpi/acpigen.c +++ b/src/acpi/acpigen.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* How much nesting do we support? */ -#define ACPIGEN_LENSTACK_SIZE 10 +#define ACPIGEN_LENSTACK_SIZE 15 /* If you need to change this, change acpigen_pop_len too */ #define ACPIGEN_RSVD_PKGLEN_BYTES 3