Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2073325/?format=api
{ "id": 2073325, "url": "http://patchwork.ozlabs.org/api/patches/2073325/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250415211819.1254435-5-jerome.forissier@linaro.org/", "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": "<20250415211819.1254435-5-jerome.forissier@linaro.org>", "list_archive_url": null, "date": "2025-04-15T21:17:39", "name": "[v2,04/11] net: lwip: use timer_early_get_count() when CONFIG_SANDBOX_TIMER=y", "commit_ref": "bebe7fe3eebe328ca0bbf46c5dedf6791d5b2769", "pull_url": null, "state": "accepted", "archived": false, "hash": "b022657f584803ad1cd9381206a026b45e602f62", "submitter": { "id": 69192, "url": "http://patchwork.ozlabs.org/api/people/69192/?format=api", "name": "Jerome Forissier", "email": "jerome.forissier@linaro.org" }, "delegate": { "id": 157425, "url": "http://patchwork.ozlabs.org/api/users/157425/?format=api", "username": "jforissier", "first_name": "Jerome", "last_name": "Forissier", "email": "jerome.forissier@linaro.org" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20250415211819.1254435-5-jerome.forissier@linaro.org/mbox/", "series": [ { "id": 452941, "url": "http://patchwork.ozlabs.org/api/series/452941/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=452941", "date": "2025-04-15T21:17:35", "name": "lwIP sandbox tests", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/452941/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2073325/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2073325/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=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=Fgha74XX;\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=none dis=none) header.from=linaro.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=linaro.org header.i=@linaro.org header.b=\"Fgha74XX\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=linaro.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=jerome.forissier@linaro.org" ], "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 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4ZccTg4sgpz1yJ9\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 16 Apr 2025 07:18:47 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id CD9FC82B97;\n\tTue, 15 Apr 2025 23:18:36 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 248AA82B97; Tue, 15 Apr 2025 23:18:35 +0200 (CEST)", "from mail-wr1-x429.google.com (mail-wr1-x429.google.com\n [IPv6:2a00:1450:4864:20::429])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 1BABF808AF\n for <u-boot@lists.denx.de>; Tue, 15 Apr 2025 23:18:33 +0200 (CEST)", "by mail-wr1-x429.google.com with SMTP id\n ffacd0b85a97d-39c1efbefc6so3665698f8f.1\n for <u-boot@lists.denx.de>; Tue, 15 Apr 2025 14:18:33 -0700 (PDT)", "from builder.. ([2a01:e0a:3cb:7bb0:6ebc:6ce:770e:95f9])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-39eaf43cce3sm15530917f8f.74.2025.04.15.14.18.31\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 15 Apr 2025 14:18:32 -0700 (PDT)" ], "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,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1744751912; x=1745356712; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=BMFSo5rTzMOkXMbVrWRVb8mV2yauGRyvMKAne1KLBYI=;\n b=Fgha74XXfNg8T/6uzm7I7yohzqGtMTGmsinCM7d1bRro1ySiyVAoFaGJNDIlL/eFi6\n +TcDEEH86hXsveXaYJMUfHPWYF322K3HRxF809VLaI0voDlgVL4Fh7jaicIwcN/Fnt2A\n n456LJsu2l53w+GUYXb1OST2o7dLVGWRxDqblZ5Oc61f//G78RnpFSTj3TcOCuRJDuLg\n PDpAH0NGXJyFpr8zJzXQnQyLP0Nsmsu2FH+azgoH50saDnRPY3B6AHKOardhgCUtfITt\n b0g6vVd1r1rSrrbpj0ssP1W+a7zstAticgcBzuPusSSCJm10Aev84foZMi2zBKEMK7TW\n 2hrQ==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1744751912; x=1745356712;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=BMFSo5rTzMOkXMbVrWRVb8mV2yauGRyvMKAne1KLBYI=;\n b=i/n7rBWNE4TrymCP6Lo1szHgy0aj2yOu3i7HLlPiGkUG05irT4yaSzkWjzu50vR4CG\n 9JL9FYOCtPdo4nn2OP6hQGHFIFtIhGFFWc0g0LQZoDlbBnHE3+y5+VYfdAN9MX7LN0zm\n KY4YpxX62DLVkBA3Oo0kbq1FxAp9kPy0knOin11u9wQFrsqCpy5altwiZVuhwoMymtA+\n Csz49pwUmPfdFRGMfYCi2cPyJbNzCIPooAR4d9zv51LJHhoOCBOsG5r5xZoXXKUFQJqs\n OsIcT/zHre5C7cYc5II8CQQf1uME7Zn9+mnTNr4aAgF0qTT1JifDqeG57Q3GCLUzrpwW\n b6rg==", "X-Gm-Message-State": "AOJu0YwED5ulIZp8aYPrUPe/IXFNCcI1JXQzc8jvCKNZXjjwE9sPPuvl\n koMcNk5K6bvhX9tz4TlTttdkyNzgSCIuCfzlyUB8OUbo/x4xVwJtFoJKCkRcd3T23r2guMqngxq\n bU34=", "X-Gm-Gg": "ASbGnculFttrEaNT+9YVrcpdRTlgOVUcH4gymIFmWgk638tyImyB2Et7r3ee5//xoew\n p3KENjzQ080aK0UqC2ru4teOQAh0OEzgXKeXGnlD/c9wn+jlLnQtikiehcOXbghi9yCZMBCAGCr\n jWy6bRWclA/vh7pwyN5p5daOKpj0kt4hPw5CTfcBvW5O8Jaith0A2JpiOSY2QoDkKVXxJpxPpVq\n gNLnOIlCVMTJSjWF7g6hr1TNCABRiSnIo7nl71k3/MMGKFBZQDrPhWrJyHDNO4U+3zHO1UgQJFX\n aj+YZ11GWzAp+lVv/ImfT/8l8t2OmTpWlxBmzGpelTfv05rX", "X-Google-Smtp-Source": "\n AGHT+IFyKkreboc4quJMTgmp4lbtSGnJv5tbFtUBVBXVlYYoKdxjS52FUja5aVwG5v359wVioGdHzw==", "X-Received": "by 2002:a5d:598e:0:b0:39c:12ce:1054 with SMTP id\n ffacd0b85a97d-39ee2737d2amr783938f8f.8.1744751912448;\n Tue, 15 Apr 2025 14:18:32 -0700 (PDT)", "From": "Jerome Forissier <jerome.forissier@linaro.org>", "To": "U-Boot mailing list <u-boot@lists.denx.de>", "Cc": "Jerome Forissier <jerome.forissier@linaro.org>,\n Simon Glass <sjg@chromium.org>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Joe Hershberger <joe.hershberger@ni.com>,\n Ramon Fried <rfried.dev@gmail.com>, Tom Rini <trini@konsulko.com>", "Subject": "[PATCH v2 04/11] net: lwip: use timer_early_get_count() when\n CONFIG_SANDBOX_TIMER=y", "Date": "Tue, 15 Apr 2025 23:17:39 +0200", "Message-ID": "<20250415211819.1254435-5-jerome.forissier@linaro.org>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20250415211819.1254435-1-jerome.forissier@linaro.org>", "References": "<20250415211819.1254435-1-jerome.forissier@linaro.org>", "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": "When the sandbox timer is available, use it. This allows skipping\ntime in the tests (sandbox_eth_skip_timeout()).\n\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>\nReviewed-by: Simon Glass <sjg@chromium.org>\n---\n\n(no changes since v1)\n\n net/lwip/net-lwip.c | 5 +++++\n 1 file changed, 5 insertions(+)", "diff": "diff --git a/net/lwip/net-lwip.c b/net/lwip/net-lwip.c\nindex d566f9f8e6b..f05c4cd3f64 100644\n--- a/net/lwip/net-lwip.c\n+++ b/net/lwip/net-lwip.c\n@@ -14,6 +14,7 @@\n #include <lwip/init.h>\n #include <lwip/prot/etharp.h>\n #include <net.h>\n+#include <timer.h>\n \n /* xx:xx:xx:xx:xx:xx\\0 */\n #define MAC_ADDR_STRLEN 18\n@@ -339,7 +340,11 @@ int net_loop(enum proto_t protocol)\n \n u32_t sys_now(void)\n {\n+#if CONFIG_IS_ENABLED(SANDBOX_TIMER)\n+\treturn timer_early_get_count();\n+#else\n \treturn get_timer(0);\n+#endif\n }\n \n int net_start_again(void)\n", "prefixes": [ "v2", "04/11" ] }