From 21ddf55a4324ae616cd294b411023d73c3511bc6 Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Sun, 4 Sep 2022 21:58:03 +0200 Subject: [PATCH] allocator_v4: Disable top-down mode by default The top-down allocation feature was merged prematurely before platforms that don't report their resources correctly were fixed. Let's turn it off by default. Change-Id: I982e6d7355b9e689de10357d6c16ed718705270e Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/c/coreboot/+/67328 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) Reviewed-by: Lean Sheng Tan Reviewed-by: Christian Walter --- src/device/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/device/Kconfig b/src/device/Kconfig index af9beb32f5..b9284cbcb3 100644 --- a/src/device/Kconfig +++ b/src/device/Kconfig @@ -935,8 +935,11 @@ config RESOURCE_ALLOCATOR_V4 config RESOURCE_ALLOCATION_TOP_DOWN bool "Allocate resources from top down" - default y + default n depends on RESOURCE_ALLOCATOR_V4 + help + Should be the default, but many platforms don't report resources + correctly. Hence, the allocator might cause conflicts. config XHCI_UTILS def_bool n