Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2217474/?format=api
{ "id": 2217474, "url": "http://patchwork.ozlabs.org/api/patches/2217474/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260329-bootm-wdt-v1-1-f46b3bc6d50e@posteo.net/", "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": "<20260329-bootm-wdt-v1-1-f46b3bc6d50e@posteo.net>", "list_archive_url": null, "date": "2026-03-29T15:17:33", "name": "boot/bootm: Disable interrupts after loading the image", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "9d0a95148427664e0d6eeeded24468170d492a9f", "submitter": { "id": 89820, "url": "http://patchwork.ozlabs.org/api/people/89820/?format=api", "name": "J. Neuschäfer via B4 Relay", "email": "devnull+j.ne.posteo.net@kernel.org" }, "delegate": { "id": 3651, "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api", "username": "trini", "first_name": "Tom", "last_name": "Rini", "email": "trini@ti.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260329-bootm-wdt-v1-1-f46b3bc6d50e@posteo.net/mbox/", "series": [ { "id": 497923, "url": "http://patchwork.ozlabs.org/api/series/497923/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=497923", "date": "2026-03-29T15:17:33", "name": "boot/bootm: Disable interrupts after loading the image", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497923/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2217474/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2217474/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 (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=k/3xjTiw;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.b=\"k/3xjTiw\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=kernel.org", "phobos.denx.de; spf=pass\n smtp.mailfrom=devnull+j.ne.posteo.net@kernel.org" ], "Received": [ "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\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 4fkJ0V2PnKz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 30 Mar 2026 02:17:46 +1100 (AEDT)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 4460D83E7A;\n\tSun, 29 Mar 2026 17:17:43 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 28FAF84011; Sun, 29 Mar 2026 17:17:41 +0200 (CEST)", "from tor.source.kernel.org (tor.source.kernel.org\n [IPv6:2600:3c04:e001:324:0:1991:8:25])\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 C651083C14\n for <u-boot@lists.denx.de>; Sun, 29 Mar 2026 17:17:38 +0200 (CEST)", "from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58])\n by tor.source.kernel.org (Postfix) with ESMTP id 36DAA60054;\n Sun, 29 Mar 2026 15:17:37 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPS id BC485C116C6;\n Sun, 29 Mar 2026 15:17:36 +0000 (UTC)", "from aws-us-west-2-korg-lkml-1.web.codeaurora.org\n (localhost.localdomain [127.0.0.1])\n by smtp.lore.kernel.org (Postfix) with ESMTP id A945AF3D60A;\n Sun, 29 Mar 2026 15:17:36 +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,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n s=k20201202; t=1774797456;\n bh=+LvUE+V9kJ7Mm/fKNIbQo1Wlqu0hT7ZsN4yAvKXi1wQ=;\n h=From:Date:Subject:To:Cc:Reply-To:From;\n b=k/3xjTiw8cPwAMzq1JLAXjgGjsKgOPB48A5BniMMlK9OriMuFFzj5Jii+lEOstHWb\n ReOTxZZe3Z2llKy2+yqU/HHV2OB/YJXiaopD8I9GHUPij0IwTgrMpEa5EBjDiwNV7Q\n dhoW2JPo2ZplysJIugIEesIU3RmtuQztZzSftWaDnUBvsirNddwbAuM1x+wvODAIHX\n I1KNk9peWexW8zdhMYY/oIRV3lnK+RJccVQEXYk0bLZUh1+pa8u2s4RP1hxhCucKje\n Qu2qPFKP53N2s0HNo078AYSQvW1uX52AqL11gjoFRggQicw8RMvHH+/PewuKhwjagc\n W+X5MFELotXmg==", "From": "=?utf-8?q?J=2E_Neusch=C3=A4fer_via_B4_Relay?=\n <devnull+j.ne.posteo.net@kernel.org>", "Date": "Sun, 29 Mar 2026 17:17:33 +0200", "Subject": "[PATCH] boot/bootm: Disable interrupts after loading the image", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "8bit", "Message-Id": "<20260329-bootm-wdt-v1-1-f46b3bc6d50e@posteo.net>", "X-B4-Tracking": "v=1; b=H4sIAIxCyWkC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE\n vPSU3UzU4B8JSMDIzMDYyNL3aT8/JJc3fKUEt1kU0NDC3MzQ4tUMyMloPqCotS0zAqwWdGxtbU\n AwHozGFsAAAA=", "X-Change-ID": "20260329-bootm-wdt-c51187618e62", "To": "u-boot@lists.denx.de", "Cc": "Tom Rini <trini@konsulko.com>, Sughosh Ganu <sughosh.ganu@arm.com>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>,\n =?utf-8?b?54mbIOW/l+Wujw==?= <Zone.Niuzh@hotmail.com>,\n Benjamin ROBIN <dev@benjarobin.fr>, Aristo Chen <jj251510319013@gmail.com>,\n\t=?utf-8?q?J=2E_Neusch=C3=A4fer?= <j.ne@posteo.net>", "X-Mailer": "b4 0.14.3", "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1774797455; l=1473;\n i=j.ne@posteo.net; s=20240329; h=from:subject:message-id;\n bh=zPsGfFMuExAJidkBX5RFyv2C7XhSoz2IUlILWWWBH5I=;\n b=hO2Zorae2qOXNp3SbKtYEfFtCH2IWBWMFI86shCJ6CW/qDgH3lHIJ6ZBH51mMLY5/IvlAfFXL\n BLpKWgwlzkCA5P5K9t6ReTTduMMwvJpkFlDs9zZeLYEcOYzXZ/Z42If", "X-Developer-Key": "i=j.ne@posteo.net; a=ed25519;\n pk=NIe0bK42wNaX/C4bi6ezm7NJK0IQE+8MKBm7igFMIS4=", "X-Endpoint-Received": "by B4 Relay for j.ne@posteo.net/20240329 with auth_id=156", "X-Original-From": "=?utf-8?q?J=2E_Neusch=C3=A4fer?= <j.ne@posteo.net>", "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>", "Reply-To": "j.ne@posteo.net", "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": "From: \"J. Neuschäfer\" <j.ne@posteo.net>\n\nInterrupts need to be disabled before we jump into the OS, but currently\nthey're already disabled before we load/uncompress the image. This has\nthe inconvenient side effect of taking up a part of the watchdog time\nbudget, which can be rather large when the image is big. Ideally, we\nwant to leave a full watchdog time slice for the OS, so that it has\nenough time to initialize its own watchdog driver. To ease the pressure,\ndisable interrupts (and with it, a timer interrupt that could service\nthe watchdog) after loading/uncompressing the OS image.\n\nSigned-off-by: J. Neuschäfer <j.ne@posteo.net>\n---\n boot/bootm.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)\n\n\n---\nbase-commit: eb95914b9f5886b7ca0eaa2dbcd8a66bb8e5f81a\nchange-id: 20260329-bootm-wdt-c51187618e62\n\nBest regards,", "diff": "diff --git a/boot/bootm.c b/boot/bootm.c\nindex 4bdca22ea8c..fa4b53050b7 100644\n--- a/boot/bootm.c\n+++ b/boot/bootm.c\n@@ -1015,7 +1015,6 @@ int bootm_run_states(struct bootm_info *bmi, int states)\n \n \t/* Load the OS */\n \tif (!ret && (states & BOOTM_STATE_LOADOS)) {\n-\t\tiflag = bootm_disable_interrupts();\n \t\tret = bootm_load_os(images, 0);\n \t\tif (ret && ret != BOOTM_ERR_OVERLAP)\n \t\t\tgoto err;\n@@ -1044,6 +1043,8 @@ int bootm_run_states(struct bootm_info *bmi, int states)\n \t}\n #endif\n \n+\tiflag = bootm_disable_interrupts();\n+\n \t/* From now on, we need the OS boot function */\n \tif (ret)\n \t\treturn ret;\n", "prefixes": [] }