From patchwork Mon May 27 17:17:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 799240 Delivered-To: patch@linaro.org Received: by 2002:a5d:6a47:0:b0:354:fb4b:99cd with SMTP id t7csp1980237wrw; Mon, 27 May 2024 10:19:07 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV0He1oww+xnnLxzTkdj7hCdY7PwK6ZKiQ4cRb9a6DY7xnYovBHPMgrgyInD+EvTXAFTypTMpN2viDPm6uSkuNz X-Google-Smtp-Source: AGHT+IFATKcxUGrWWqiWizajzasDzXnKDRqLKph5Cv56OxICnpA2cqgCzfAGUJTn4cZahmbGNis+ X-Received: by 2002:a17:906:1517:b0:a59:a0f7:7ddc with SMTP id a640c23a62f3a-a62641a33ffmr614874466b.2.1716830347683; Mon, 27 May 2024 10:19:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716830347; cv=none; d=google.com; s=arc-20160816; b=v85RFWMTg+7obhxz0Yn8CgYPTdgLuT7Ctei5OLGX3gNwgXF2uTBNNEWkBcSMjKjJXj WbcBTpziCPObT3JGWA4MDep1wQZyDzmtcDnzUYyLVTpIb8gCvQMjjc5LK+2g9fICWvrK uWoVP+NihKZRl6idG7RGGcqx8JvnCE+dek2z5QSuws/wOFCOPrL5bPEmsKzPnoxQ6H8V Rr/XjrhX2mHZc+jEImW6fH9e22oZx3PNF+QnJQw4a+rz3GS4oAcpOMj2zrW/D+zerAyC TuSNECroCGZAKoZBswE5pnVreDEksUEmw/Iz1sL8XosNoZoSiZrQGKa5nX/ltfoaP6Ye T7Ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=HdY/KRsi3dVlIZusk479FdyYE2jpaJHVs9ewzf9en8E=; fh=wznmq5OGRypWu2T7zMVx+jZRS9l9/d4jALsIFYvmFLI=; b=YXVxo0FG/cr7NJn1C3JxxS0L3YRlpKh7OZU/a1HIZ3PuNjb0T7wheYWYWXpsjDd+Ct 2NUo6U8+nqFmJAoFDw1boTbGjsKv4T7/xBKtFP97vhpBJ+qDKKZJnto/NjHgISl7IO/p z/0yd9Nx0L/cf6Z2/n7hazP/GY9iHzBdue3RE4n0i3A8OW1LVkImUdsI6UhubIyXhxos 3sgyFKudG1jv1v654pgiKQDCEGywfmfe2R/ZSTD7DkNYVse0RFTRAWt9W4EiLa8E/j4E QAHnnXd78L2BqF1kq9RrKXivJMLl67fG2rm5bCA8NEklMq8pt84t48OkfWW/PsnlhDDr tXPQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MwVlPRHf; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id a640c23a62f3a-a626cc683e0si410816166b.670.2024.05.27.10.19.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 10:19:07 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MwVlPRHf; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AA1678824B; Mon, 27 May 2024 19:18:05 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="MwVlPRHf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DB3748837D; Mon, 27 May 2024 19:18:01 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (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 EEF11883A7 for ; Mon, 27 May 2024 19:17:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=caleb.connolly@linaro.org Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a5dcb5a0db4so764166b.2 for ; Mon, 27 May 2024 10:17:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716830279; x=1717435079; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=HdY/KRsi3dVlIZusk479FdyYE2jpaJHVs9ewzf9en8E=; b=MwVlPRHfU9X/hHi3fiJ0uNuVA92bMFoLBrypWjVEyFsx8aPxt+Aqw54LWJ15h2yq0x seX7uNw+vvkWI5+aVcTyyBIObOtNBsgGuLyk6MR8h0NRZsxOrkOabdT0tEBYXiMUAeia VZNVDB5yCfNwxP1QZh44+iD98RVhEPPy1HCppQwMWzZ55OpoqSdkcPfvCOwlU9xoMUhD 69/pznoyeqUFSw+FuWE/XXy1nc49D1PvyTk88RKJrBVjhk5L5wwdB2U9i7Gu4/5NG6yL fcoBDC2slKeyfnqWtXXKZe6s841NTr+BnvHPGpA5NB8kX9PmUYQJtX5xlmIewBHXxMRg gOJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716830279; x=1717435079; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HdY/KRsi3dVlIZusk479FdyYE2jpaJHVs9ewzf9en8E=; b=A1G4PBmzzUyIUDHXEFbcw6lyEEOAzYG6rUtstkwTNo8IBiHAokGN6Nrp0OBdT0aaXu N3XvOHXlQB5g2DU3L6wFCHKWqqFbb2c66MPuiZQ6Z2BfkyU0X0hzdIZh5lpiFq3cgGtk OI9arZmE14vKfUOzputa9d/tBZivEW84jRn3g0bgV5UCm05P8QwZtDpYAEUjEy6DNLDv IORfJ3DCJNns9al+4F+fTSw6hu1J3cwrTS7LarAAxsvlvRhXv0GwPoUaQDss14QNdxk7 bCgBho+yZdbusGzA1pYD86hCqK3BlGUQ19vyb4WqwWoPAmyN5wLAMPt8eqwXYin2scFP VE8g== X-Forwarded-Encrypted: i=1; AJvYcCW93sLzOhWmxfKH4IbsSFYv5olm4FIev1FlD7uHyu2ZpOCFts+uHSu1CEdzfdEjgygstr3U6qElHqQ/sxi/V2SCppecAA== X-Gm-Message-State: AOJu0YzOtOgZc+yyp/8N6sRvc2+BW5c8qlW2SH3GWRWU2Zk8qExOlJ+k mPVR1t+8sNGat12HSA9SOzfmXMh80wITmF2KOTvyE8B7+JiOzmwF1lbMgWUWqXw= X-Received: by 2002:a17:906:68c6:b0:a59:a7b7:2b9e with SMTP id a640c23a62f3a-a62641aaefdmr559239566b.8.1716830279461; Mon, 27 May 2024 10:17:59 -0700 (PDT) Received: from [192.168.0.113] ([2a02:8109:aa0d:be00::8bb3]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cc8b874sm509469266b.163.2024.05.27.10.17.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 10:17:58 -0700 (PDT) From: Caleb Connolly Date: Mon, 27 May 2024 19:17:55 +0200 Subject: [PATCH v2 7/8] mach-snapdragon: bump up heap size MIME-Version: 1.0 Message-Id: <20240527-b4-qcom-capsule-updates-v2-7-47583d7ad428@linaro.org> References: <20240527-b4-qcom-capsule-updates-v2-0-47583d7ad428@linaro.org> In-Reply-To: <20240527-b4-qcom-capsule-updates-v2-0-47583d7ad428@linaro.org> To: Tom Rini , Simon Glass , Lukasz Majewski , Mattijs Korpershoek , Caleb Connolly , Neil Armstrong , Sumit Garg Cc: Ilias Apalodimas , u-boot@lists.denx.de, u-boot-qcom@groups.io X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=807; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=P6SpwaCCPSCMWCbOveOVcwb/sHGrgjoIg93D2sF3FYk=; b=owEBbQKS/ZANAwAIAQWDMSsZX2S2AcsmYgBmVMA+HU6JWxPOpKiXyhPIb/kUbHFsP+Z+V5jyC O+zjk/fZrCJAjMEAAEIAB0WIQS2UaFGPGq+0GkMVc0FgzErGV9ktgUCZlTAPgAKCRAFgzErGV9k tuD3D/9BLkwSAwv0qmYmrwERtqyncMGHBhwUiHB4tVPE+4wIzRCAbjwlt2R0lBjdOvCEXrAg+db UmMPBKs5WfxOPMho/5sy7wA0X1S0M2OJUkJCQumme1086Eau+oEOVQcF/jAyadApdB4AU2Nej3/ t31q54IgQwFMqkQmZuEUO4Id/xvGogT4p/sE6MCPwRpc03IZNaR8qjFid8bGlVlYFSvfLar4Wm3 YwMvML5nqxXy6SdMzP8oLxYAUfpozagVrAxpOQASVdZxlyVHZxZwBjDgaAVIvME/56mFCYIlIAi 5jKOi001hZeHp8vCC7PGuqsIc8jWwnuauL8bp/sMYRqIy5aY2/n6duCoowpLBvsovn/141q1at1 BEn2ebS+J2ylSfHFUEtLQMyE9SPvplrHTzx5QCgY8iqr/6CUyy+BZRvBTLtVhdogaNyTy2dMKIa tOP4wsXz9Rwstm+SsNmrqx7phfNkAHDGlnj4lsM0cZD0tL+Gftlhxkpbh4J5qPX38mL5I2NjQvy Q5Z22eprwyVW3BjeDVEyRoOSrHkEMJWKZMVF4BVfaHTEIMHLRdoa1Obe75f20UEC4TZpIneprLz GA/eFwbyiLPMHTZo7DjjY2LT1PkxoCFTjnpibeNzhAl6E8ElyHuTYbAlthTcflvjSZeNrk9TWp+ L5/f/FqvGAQI+yw== X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 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.8 at phobos.denx.de X-Virus-Status: Clean For capsule updates we need more heap space for the DFU buffer. Give ourselves a whole 8MiB! Signed-off-by: Caleb Connolly Reviewed-by: Neil Armstrong Reviewed-by: Ilias Apalodimas --- arch/arm/mach-snapdragon/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-snapdragon/Kconfig b/arch/arm/mach-snapdragon/Kconfig index 536960b83c3b..5023c906bed8 100644 --- a/arch/arm/mach-snapdragon/Kconfig +++ b/arch/arm/mach-snapdragon/Kconfig @@ -10,8 +10,11 @@ config SYS_VENDOR Allows to specify vendor for the Snapdragon SoCs based boards. Based on this option board// will be used as the custom board directory. +config SYS_MALLOC_LEN + default 0x800000 + config SYS_MALLOC_F_LEN default 0x2000 config SPL_SYS_MALLOC_F