Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2197128/?format=api
{ "id": 2197128, "url": "http://patchwork.ozlabs.org/api/patches/2197128/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260217074655.34137-1-heinrich.schuchardt@canonical.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260217074655.34137-1-heinrich.schuchardt@canonical.com>", "list_archive_url": null, "date": "2026-02-17T07:46:55", "name": "[1/1] efi_loader: require at least 128 KiB of stack space", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "ac4270922d9b1df6a9cf9aa6c36438972c30e979", "submitter": { "id": 82181, "url": "http://patchwork.ozlabs.org/api/people/82181/?format=api", "name": "Heinrich Schuchardt", "email": "heinrich.schuchardt@canonical.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260217074655.34137-1-heinrich.schuchardt@canonical.com/mbox/", "series": [ { "id": 492383, "url": "http://patchwork.ozlabs.org/api/series/492383/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=492383", "date": "2026-02-17T07:46:55", "name": "[1/1] efi_loader: require at least 128 KiB of stack space", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/492383/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2197128/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2197128/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=nqrxFZvU;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=canonical.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.b=\"nqrxFZvU\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=pass (p=reject dis=none)\n header.from=canonical.com", "phobos.denx.de; spf=pass\n smtp.mailfrom=heinrich.schuchardt@canonical.com" ], "Received": [ "from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fFWv717Cxz1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 17 Feb 2026 18:47:14 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id C34C283981;\n\tTue, 17 Feb 2026 08:47:10 +0100 (CET)", "by phobos.denx.de (Postfix, from userid 109)\n id 0C9D983AA9; Tue, 17 Feb 2026 08:47:03 +0100 (CET)", "from smtp-relay-canonical-0.canonical.com\n (smtp-relay-canonical-0.canonical.com [185.125.188.120])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id F24828063E\n for <u-boot@lists.denx.de>; Tue, 17 Feb 2026 08:46:59 +0100 (CET)", "from LT03.fritz.box (ip-005-147-080-091.um06.pools.vodafone-ip.de\n [5.147.80.91])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPSA id 356CB3F7BD;\n Tue, 17 Feb 2026 07:46:59 +0000 (UTC)" ], "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,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,\n RCVD_IN_VALIDITY_RPBL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1771314419;\n bh=n2qod83LE+e5HyqdikoXTLYHWPeDUp143hPc7dnWr0w=;\n h=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=nqrxFZvU+uP/lCr5jl3IqE896fzeJhGcYsJkTfkNtDJ4K8Sxfkix2viG+PSGeHULc\n kUqBs35dvp//TTyJv/vHACGNBDQVxkFV7ydaUPgqEY6ZvWtSHlKTvJjN9+rirE/50r\n z4DxeO3eAbt8OiXGIqtJPqnlMoNmZ+UwyMAgRgj0eSaEVysNsiUQK3inRDaJtNefj6\n 8tA7GKrj+ttdQ8jvsynJyR1Cx/X8Oc/wN9gCIdGjBRSACsZbCUPVv0VAbNGUjpLOjk\n LGxqA+rjIcpmaHMefYO0a7+8gvQyxYzACDKAkxW67wvrdFBgBAJvLa3cfBtvya3YE3\n RPr74GM0XJyuZdcHH4g7nKYqUcpy2Lv6z9YCjClG01oOspohhLS3sfhpByWeSNsiJ3\n twnb73cQjbQmlLf0EdJFifwWCBelelMc/YViVRwxKLuRPZy6ZU4IoRoQRkt8Kw091w\n wBdA8THpWF85xJB+qxHM1ixksw/xDx65KeDjUM/HmFJ7XfXu9oBs7gbZMtu6nQWe5+\n hVNaBhjjGMDvUn4be8B9oaqtsRdpB4pyi9Bfw92ruAD68o0IpxafvTeshKD5VOW/lz\n 4QSHboEU+41pektt5hqZ6SMQJnpDtZauUGfjR9hV3hjMdIhi1Bs8XLidBMK2gNOXS5\n PwKD+GEaoAkUHh2CkXQ2qb5U=", "From": "Heinrich Schuchardt <heinrich.schuchardt@canonical.com>", "To": "Ilias Apalodimas <ilias.apalodimas@linaro.org>", "Cc": "Tom Rini <trini@konsulko.com>, Michal Simek <michal.simek@amd.com>,\n Simon Glass <sjg@chromium.org>, Jonathan Humphreys <j-humphreys@ti.com>,\n Ying-Chun Liu <paul.liu@linaro.org>, u-boot@lists.denx.de,\n Heinrich Schuchardt <heinrich.schuchardt@canonical.com>", "Subject": "[PATCH 1/1] efi_loader: require at least 128 KiB of stack space", "Date": "Tue, 17 Feb 2026 08:46:55 +0100", "Message-ID": "<20260217074655.34137-1-heinrich.schuchardt@canonical.com>", "X-Mailer": "git-send-email 2.51.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 <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "The UEFI specification requires at least 128 KiB stack space. Consider this\nvalue as a prerequisite for CONFIG_EFI_LOADER.\n\nMention the requirement in the CONFIG_STACK_SPACE description and decribe\nthat the UEFI sub-system uses CONFIG_STACK_SPACE when defining the memory\nmap.\n\nSigned-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>\n---\n Kconfig | 8 +++++---\n lib/efi_loader/Kconfig | 2 ++\n 2 files changed, 7 insertions(+), 3 deletions(-)", "diff": "diff --git a/Kconfig b/Kconfig\nindex ce25ea24a60..99b3cd62526 100644\n--- a/Kconfig\n+++ b/Kconfig\n@@ -615,9 +615,11 @@ config STACK_SIZE\n \tdefault 0x4000 if ARCH_STM32\n \tdefault 0x1000000\n \thelp\n-\t Define Max stack size that can be used by U-Boot. This value is used\n-\t by the UEFI sub-system. On some boards initrd_high is calculated as\n-\t base stack pointer minus this stack size.\n+\t Define Max stack size that can be used by U-Boot. The UEFI sub-system\n+\t considers this value when setting up the memory map. The UEFI\n+\t specification requires 128 KiB or more of available stack space. On\n+\t some boards initrd_high is calculated as base stack pointer minus this\n+\t stack size.\n \n config SYS_MEM_TOP_HIDE\n \thex \"Exclude some memory from U-Boot / OS information\"\ndiff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig\nindex 13e44be1d06..450ffa61c0a 100644\n--- a/lib/efi_loader/Kconfig\n+++ b/lib/efi_loader/Kconfig\n@@ -15,6 +15,8 @@ config EFI_LOADER\n \t# We need EFI_STUB_32BIT to be set on x86_32 with EFI_STUB\n \tdepends on !EFI_STUB || !X86 || X86_64 || EFI_STUB_32BIT\n \tdepends on !EFI_APP\n+\t# The EFI specification requires 128 KiB or more of stack space\n+\tdepends on STACK_SIZE >= 0x20000\n \tdefault y if !ARM || SYS_CPU = armv7 || SYS_CPU = armv8\n \tselect EFI\n \tselect CHARSET\n", "prefixes": [ "1/1" ] }