From mboxrd@z Thu Jan 1 00:00:00 1970 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 A7EB4C433EF for ; Wed, 23 Mar 2022 18:27:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3198183F89; Wed, 23 Mar 2022 19:27:08 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="hLFWAqVt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 55E9D83F88; Wed, 23 Mar 2022 19:27:05 +0100 (CET) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9022B83F95 for ; Wed, 23 Mar 2022 19:27:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=heiko.thiery@gmail.com Received: by mail-wr1-x429.google.com with SMTP id j18so3345509wrd.6 for ; Wed, 23 Mar 2022 11:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=c2iV+9AJpeXQSOJPPgzLP2y318ShxCaCxHmutrDwSNU=; b=hLFWAqVtDl3x+P27qDkPPAsWM9GUmvhFOEO3W35JEcNXyGLUwyiSJm02lf+UtTT+v7 0takwRlHpiyGohWyQW6LL/D27KrDfgXn59zjBx8uUtFp/V2k7HhmfC8qLqPBkqgLk+qt Uv4Suk94+EvyM4ozfzPosX/fhjDasARlZpBb0Fav9ej0AqFRzBBsp6pA2RF97BKxqnBV OYvT92X9Jdt+0dk1+hXMQXomUJWx11UOrJqreEiaKKLsIEsPbcZ2/HfPsqzbkf51O6TR 7XDkQs5gqwKGcIbZkaYGC2F3BwSBXHjpaj3UbZ6so5fHJJ07WyM+rfVoiBLyJk1tOPB9 344Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=c2iV+9AJpeXQSOJPPgzLP2y318ShxCaCxHmutrDwSNU=; b=jQu4hzYFHM/bRVQBgx0CqafHaish+igKBuRgwHwxS/jObU6rn7XXU/W5WZrsJIvBcw NNKXyfSpq4upSaEXgf+lIyu3FzRob5LjLtqK2YC8kr1WJt3yp2QhYOwKB1ledY7Ox79I lrjNZgiqvtOcpkZnOIvHb6euDeigBQsiwNQgpcmZLAv60Tcx/FjaQsVNgdJMSWd5Y2d2 JQWkeYzWO0oxy1QVkYqeLAPNBLxpCDGKyCi3koqPMDtEHL1sLgCsAPKTnu6/Xky9BAKn pcHW+H4oDJkIY0HtIHOQcysNt//4XRXOyZiy/3VjxfHk4ZltI5UKrMM5LAZyGL9RcIdm 2UsQ== X-Gm-Message-State: AOAM531zH5pVdgsN1yP1ShsqaRY+ggjAehWPCkqjZqWetBvRDAkNMo/s TdB/1742p2vija/RbyjgGPAknhvBb1CGZUlByWQ= X-Google-Smtp-Source: ABdhPJyNPDsJzUxsbqCFUKzJmf+42lr2/M0RYm3u30znII7rDBjiisy7o1Ss6oO+Lmmv3IDs54ld9UVdntp1fpYux9w= X-Received: by 2002:a05:6000:239:b0:204:101:8fdd with SMTP id l25-20020a056000023900b0020401018fddmr1128864wrz.267.1648060019982; Wed, 23 Mar 2022 11:26:59 -0700 (PDT) MIME-Version: 1.0 References: <20220321142631.63704-1-heiko.thiery@gmail.com> In-Reply-To: From: Heiko Thiery Date: Wed, 23 Mar 2022 19:26:48 +0100 Message-ID: Subject: Re: [PATCH v2] board: kontron: increase the CONFIG_SYS_MALLOC_F_LEN To: Simon Glass Cc: Heinrich Schuchardt , Tom Rini , Stefano Babic , Fabio Estevam , Peng Fan , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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.5 at phobos.denx.de X-Virus-Status: Clean Hi Simon, Am Mi., 23. M=C3=A4rz 2022 um 19:04 Uhr schrieb Simon Glass : > > Hi Heinrich, > > On Tue, 22 Mar 2022 at 03:25, Heinrich Schuchardt wr= ote: > > > > On 3/21/22 15:26, Heiko Thiery wrote: > > > It was observed that enabling additional DM modules the configured > > > malloc value is not sufficient. So lets increase the value. > > > > > > Signed-off-by: Heiko Thiery > > > --- > > > v2: > > > - add a more proper commit message to explan why the value was incr= eased > > > > > > configs/kontron_pitx_imx8m_defconfig | 1 + > > > 1 file changed, 1 insertion(+) > > > > > > diff --git a/configs/kontron_pitx_imx8m_defconfig b/configs/kontron_p= itx_imx8m_defconfig > > > index 76430213e3..30c3586937 100644 > > > --- a/configs/kontron_pitx_imx8m_defconfig > > > +++ b/configs/kontron_pitx_imx8m_defconfig > > > @@ -2,6 +2,7 @@ CONFIG_ARM=3Dy > > > CONFIG_ARCH_IMX8M=3Dy > > > CONFIG_SYS_TEXT_BASE=3D0x40200000 > > > CONFIG_SYS_MALLOC_LEN=3D0x600000 > > > +CONFIG_SYS_MALLOC_F_LEN=3D0x10000 > > > > @Heiko > > Should we really adjust this on board level? Won't we have the same > > problem on all imx8m boards? > > > > Why don't you change the default for all i.mx8 boards in /Kconfig? > > > > @Tom, @Simon > > Shouldn't we replace the default of 0x400 by 0x2000 generally? > > I don't think that is a good idea. That is a lot of memory! Many > platforms don't need that much. > > I wonder what is driving this large amount. Is it pinctrl? The increase comes from the introduction of a clock driver for the imx8mq platform. > > Anyway, changing it for imx8 seem right to me, as Tom says. > > Regards, > Simon --=20 Heiko