From patchwork Sun Mar 22 23:56:59 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 2033 Return-Path: X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774223861; bh=OM91tU1MArbgxlyQikdgngsse6gyDbMIOGfixqzvmLE=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=NMgVd3kRMf0eOfBtn+xOCxzqe9eemP31ZEqrz8xwMDumhLLtWDnG2JUVZHRC+ofmY ZZwuudB7oGipHSl25M70E8mqepR19ZerNK7/42Rb4TUgusSlSxJYAExfQ1V5CPOqW/ nKLByoZkcM4vi2q0dSACwe4LyWkn48wLBIyOmCoLwLN90TiUiPxyRMHll0f8UVY59T 3YBXQ/JufHAQZwJpsQVgIy8uzM7xhUjgYKBzrJsK7ogY1NG7Y75lLyzBBpXsPjznVh +d04l25sEDUrZ6CDFtU8CALOUbQmvYdCnMo4MmI3brlGbiZXlE2qevz35nYBOkzXMn yOocg6ODMHGuw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 65BD66A1DA for ; Sun, 22 Mar 2026 17:57:41 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id W0bnIWcFWYKy for ; Sun, 22 Mar 2026 17:57:41 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774223861; bh=OM91tU1MArbgxlyQikdgngsse6gyDbMIOGfixqzvmLE=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=NMgVd3kRMf0eOfBtn+xOCxzqe9eemP31ZEqrz8xwMDumhLLtWDnG2JUVZHRC+ofmY ZZwuudB7oGipHSl25M70E8mqepR19ZerNK7/42Rb4TUgusSlSxJYAExfQ1V5CPOqW/ nKLByoZkcM4vi2q0dSACwe4LyWkn48wLBIyOmCoLwLN90TiUiPxyRMHll0f8UVY59T 3YBXQ/JufHAQZwJpsQVgIy8uzM7xhUjgYKBzrJsK7ogY1NG7Y75lLyzBBpXsPjznVh +d04l25sEDUrZ6CDFtU8CALOUbQmvYdCnMo4MmI3brlGbiZXlE2qevz35nYBOkzXMn yOocg6ODMHGuw== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4CC5F6A1D7 for ; Sun, 22 Mar 2026 17:57:41 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774223857; bh=fPBdZrCAKMOwaYSVmdeyewawX6E2laGAuVuKlC/1vuo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aqOdtkCfTjBzQgAPia50uCRE5qs1atuWmPGK+nGGhIu7f8p1u22eR30240nd5qKRi Gg+XmdEbCu921QwGxjN4gH6X56DyuNmslyaxD9qBEV374qeb97YKbNEoUe9gtnsRM6 DWQjrB4e6yfUND/k2A77q8yS79XrKBX0bLYqsHwfPcIVaWwoStN3qnzJydtSZoCh26 x/Odcz3S7g/b7ca7yVYdEL7xEsb/M1tFO2DQu9kh7nv6qRq4FLvVxaiDFSK4MSXe2z HRHsfVqjQX4fDV/O7VmdgEC03AOyb6Ti3anW7t4G7fsFMP7f78j3s5eZt6AZN5MRts 6IUs2Q5WLy9Hw== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id F03F26A1DD; Sun, 22 Mar 2026 17:57:37 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id Fdg0Bc9VZo0Y; Sun, 22 Mar 2026 17:57:37 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1774223852; bh=elDBaq5lP5ZfmismKymtq6byd6DuQ4kFZ/mhBqmevHg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rJBHPN8/6jTLctJkiyLUAjC5NR3HePX6rd/RazG0XHUNnVsRqv9yRu9d2gaK9GbeE odhZirRbIZdqkjtH9ggvd6xqlanmQZaXrGKxUKzWaXB2zVQz6H/L72OFMoXTZnxwoC HzjsDZ6P6F0iIDd+Ri028Mr4Ewzsh8gYTRlPVqHhgW9ryCW3Zl9GfC/vWtmLFef5Xf oWiO09Jkq91FLcemWA98nYHqdH5MA3778Y+euzTKZeRIpuP2bHSxLAEvTUEsF93bJl u6a2TfWEMx6klg0UF+NVvlon8uCpKI2z+Yv5+Ky6vK2xHIxYTl6CCE2lU2Cfsos3P+ kjFXdt3KijCtw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 4661966F0C; Sun, 22 Mar 2026 17:57:32 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Sun, 22 Mar 2026 17:56:59 -0600 Message-ID: <20260322235719.1729267-2-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260322235719.1729267-1-sjg@u-boot.org> References: <20260322235719.1729267-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: LXFZTTMQVEY55CAKD232ICLYXCB3LRHY X-Message-ID-Hash: LXFZTTMQVEY55CAKD232ICLYXCB3LRHY X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 01/14] mcheck: Increase registry size List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass The full test suite with multi-entry bootflow scanning causes more concurrent allocations, overflowing the 12000-entry mcheck registry. Increase it to 20000 to provide headroom. Signed-off-by: Simon Glass --- common/mcheck_core.inc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/mcheck_core.inc.h b/common/mcheck_core.inc.h index fa152790d45..65f83836d61 100644 --- a/common/mcheck_core.inc.h +++ b/common/mcheck_core.inc.h @@ -71,7 +71,7 @@ #define PADDINGFLOOD ((char)0x58) // Full test suite can exceed 10000 concurrent allocations -#define REGISTRY_SZ 12000 +#define REGISTRY_SZ 20000 #define CANARY_DEPTH 2 // avoid problems with BSS at early stage: