Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7E481C54EAA for ; Fri, 27 Jan 2023 13:00:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E5988856AF; Fri, 27 Jan 2023 14:00:51 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.b="YaIZlUv6"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="bPNYfVBk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 15D9E856AF; Fri, 27 Jan 2023 14:00:49 +0100 (CET) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0FB33856E5 for ; Fri, 27 Jan 2023 14:00:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=msuchanek@suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 6374D1FF3C; Fri, 27 Jan 2023 13:00:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1674824426; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ySkQJsH2u9fPjBZXBOROZGmkicu/x1WRmoKKWR1HJRA=; b=YaIZlUv6or4+NH2AkuDelf5VgiMeCKcveTjyToS704G+khMc82x/O2eEmgkt6aLPtFqKxy xN4Q3QY2QOCVHvGZndsQuMIzafx9Cbw3GDTRDJ8oxMY7Gou/He5G7/Et9yil8O0De2+6sO 1G0NKvDPoQ5Js5hNQ0zXrZCpvHFCnvw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1674824426; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ySkQJsH2u9fPjBZXBOROZGmkicu/x1WRmoKKWR1HJRA=; b=bPNYfVBko9WJ9E/hJnyaktUZm70entfDfiw7E26NRzfbZIZUERGpprNmuZwWr1PT1Jcoqa Eg7p4P3IKDMAKDCQ== Received: from naga.suse.cz (unknown [10.100.224.114]) by relay2.suse.de (Postfix) with ESMTP id 937702C141; Fri, 27 Jan 2023 13:00:25 +0000 (UTC) From: Michal Suchanek To: u-boot@lists.denx.de Cc: Michal Suchanek , Guillaume Gardet , Simon Glass , Philippe Reynes , Ilias Apalodimas , Leo Yu-Chi Liang , Sughosh Ganu , Kautuk Consul , Brandon Maier , Rasmus Villemoes , Heinrich Schuchardt Subject: [PATCH] lmb: Bump CONFIG_LMB_MAX_REGIONS Date: Fri, 27 Jan 2023 14:00:12 +0100 Message-Id: <20230127130012.31499-1-msuchanek@suse.de> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean It is reported that in some configurations it is not possible to boot because u-boot runs out of lmbs. commit 06d514d77c ("lmb: consider EFI memory map") increases lmb usage, hence is likely the cause of the lmb overflow. Fixes: 06d514d77c ("lmb: consider EFI memory map") Link: https://bugzilla.opensuse.org/show_bug.cgi?id=1207562 Signed-off-by: Michal Suchanek --- lib/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig b/lib/Kconfig index 549bd35778..06c873c2bd 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -1038,7 +1038,7 @@ config LMB_USE_MAX_REGIONS config LMB_MAX_REGIONS int "Number of memory and reserved regions in lmb lib" depends on LMB && LMB_USE_MAX_REGIONS - default 8 + default 16 help Define the number of supported regions, memory and reserved, in the library logical memory blocks. -- 2.39.0