get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2194820/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2194820,
    "url": "http://patchwork.ozlabs.org/api/patches/2194820/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/fwts/patch/20260210022709.106768-1-ivan.hu@canonical.com/",
    "project": {
        "id": 24,
        "url": "http://patchwork.ozlabs.org/api/projects/24/?format=api",
        "name": "Firmware Test Suite development",
        "link_name": "fwts",
        "list_id": "fwts-devel.lists.ubuntu.com",
        "list_email": "fwts-devel@lists.ubuntu.com",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260210022709.106768-1-ivan.hu@canonical.com>",
    "list_archive_url": null,
    "date": "2026-02-10T02:27:09",
    "name": "bios: s0idle: do not treat unsupported S0idle as an error",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "02e92ec765ddc41750d458a3f68bc0c7c9337092",
    "submitter": {
        "id": 14061,
        "url": "http://patchwork.ozlabs.org/api/people/14061/?format=api",
        "name": "Ivan Hu",
        "email": "ivan.hu@canonical.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/fwts/patch/20260210022709.106768-1-ivan.hu@canonical.com/mbox/",
    "series": [
        {
            "id": 491591,
            "url": "http://patchwork.ozlabs.org/api/series/491591/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/fwts/list/?series=491591",
            "date": "2026-02-10T02:27:09",
            "name": "bios: s0idle: do not treat unsupported S0idle as an error",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491591/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194820/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194820/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<fwts-devel-bounces@lists.ubuntu.com>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=gxNpZQP0;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=fwts-devel-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f957L2fM3z1xwG\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 10 Feb 2026 13:27:25 +1100 (AEDT)",
            "from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <fwts-devel-bounces@lists.ubuntu.com>)\n\tid 1vpdT9-00049V-Jt; Tue, 10 Feb 2026 02:27:15 +0000",
            "from smtp-relay-internal-0.internal ([10.131.114.225]\n helo=smtp-relay-internal-0.canonical.com)\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <ivan.hu@canonical.com>)\n id 1vpdT8-00049L-GZ\n for fwts-devel@lists.ubuntu.com; Tue, 10 Feb 2026 02:27:14 +0000",
            "from mail-pl1-f199.google.com (mail-pl1-f199.google.com\n [209.85.214.199])\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-internal-0.canonical.com (Postfix) with ESMTPS id 414493F2B3\n for <fwts-devel@lists.ubuntu.com>; Tue, 10 Feb 2026 02:27:14 +0000 (UTC)",
            "by mail-pl1-f199.google.com with SMTP id\n d9443c01a7336-2a76f2d7744so3944465ad.3\n for <fwts-devel@lists.ubuntu.com>; Mon, 09 Feb 2026 18:27:14 -0800 (PST)",
            "from canonical.com (118-163-61-247.hinet-ip.hinet.net.\n [118.163.61.247]) by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2a951c722c3sm115433955ad.23.2026.02.09.18.27.11\n for <fwts-devel@lists.ubuntu.com>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 09 Feb 2026 18:27:11 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1770690434;\n bh=XIWQzk+oTvklr5e4dVBbYKe4W8mwc8wsojTQN7Qr+p4=;\n h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type;\n b=gxNpZQP0oQ1+FA2o9/YGbB41x4c40uGzNXuYw7wZARUzBT9naAHby1hJTmECthEpC\n JCZleYUKHgoXBLbM8YQWasiZh2+zktwYNVORKyh7HPQW+K7YTN1nA6omi49F1VT3NC\n DUURopZuALwWwrjWPUhKfKLUVJjg/RNFqygwJe2edFXdW6vmQqbX2n3CHeLrYK++2b\n ulX1pdRnlN7kjAJYcyjCJZHSwbT234sKhKJtLFmWYmiu7urIykzjI7tRu/gSUHiFmN\n 9TWutCNgxvhnZHZbcEfKl7j95zZ2ejulRPbFp1clelG+le4l40bTWEx1uewnI8neVh\n ActQeBiPgFq4/Ps/4sVYk68N9jT4oxzac2C8l7dwY69AlL9D3C8XN3IFfJVVUsoGyB\n GX7xJFr7DuGOeCXX9heDdGmNWd7onzTj9E64nrCVI2bV3/bwj/ozNUP3tYDF9bKUyG\n uMXvAsTV0ZIq2RMCiTIwTBZGgjXWV1k9jFR6I4vK/qbCx2SnhRmy3pTf2YjC9v0qdI\n yeXjlgmr0SJ7zduhVJ0LSNBhbi7DS+bV1Z6VyknvfQ982/najLolcoiqYM04Ap2Gkm\n IPLvRj8xuMGRDMlKeYVPWJYIhtOiVbkJ3lOcmBZPuRfSLKhw9I0oSGAp9o/tsrvDWz\n qCj0jKChgEm6Gn1RrTT3d6vc=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770690432; x=1771295232;\n h=content-transfer-encoding:mime-version:message-id:date:subject:to\n :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=XIWQzk+oTvklr5e4dVBbYKe4W8mwc8wsojTQN7Qr+p4=;\n b=oetAKP9idQVkCJsKS9NfGHdJ9FqXkW245gwRnrPv9AZZJvJVd1JGySK5SEPDZZRhnY\n hCBwklAwVPFuZMF6K4HTD2g7l1iSyCRj2gU8x/t6bTxRgag9/dmzC6UZzA8emYmky7fP\n rbP0q8Dt1P4v9LZIoKhapvkqQ4sEK0inz68rJ9Kqly7JdIUCvn2yuXVVHDfYS2sBolh4\n xR2WOOdGmatWw2zDgYu2mZwpNNskCKDNJzxUkfCP5vR1VHXQTLYpkeJMFxL8F1AAbtie\n oC44SxRAU4KzlJYqLQ9ijhk9hR7Gl74sKOYcRuohUaY7a8nR5ScfdkX1rhcjDTHtqKPo\n U3+A==",
        "X-Gm-Message-State": "AOJu0Yx+HDZ9vuNi7nrRSh+vFpTKGMcibFvFMdpxCtftIwNWDya6XC2O\n v+/H3EYyFr6ibkdh/o0YnACrmbS7nAjSxsBzAt7PR+X9FNaB+JIqZxRH+lENy1+6FF6wPBre1UO\n DolDWjLamhlO0NSPpRCLRmG9xlX/v0aQLKqpxoLb3UJ8MmA3/SwW2PopQQthYx2wQrvRrfjsclP\n q5WKgVM+JA7ELQ",
        "X-Gm-Gg": "AZuq6aIE0/dXNldSgU4DeRAxz4QYBqPXCsOA4pGmiMx6zuejZQIRSc2ZtP4iG7VpB0r\n 2D1m3f0jIN6aBYsoglb+EbA0HlqQ2VV5tisp4zwIWnX+29ixVlFMzTjJbi8epedlWUdRBNURkuR\n NqZtvmN8n1ecBhEceEKx4XwvNFpbj9lNeOcUITwlWIyP97zTco4vwTzXY8/CjUUezShpIBli05x\n 1fHVDPeYTWOo1Djq3rXwyaLPNQFidMdJBsToOhEpdguRezIyhspsjfGIZc3WPO9kCYy97awj61W\n FOWK16lYWjpSJlCjgHigr0bxJN35WcYB8qrdQ9+dhxX80LlT9fiY5DSRIfCT11SjLwdgocHVUTG\n orDs5R/nYakF6DnMHJyuGOtQFz1qmatNDtcdkFGmiup9DCM74u/23tj3dpTHfPA==",
        "X-Received": [
            "by 2002:a17:903:41c6:b0:2aa:f098:f9d6 with SMTP id\n d9443c01a7336-2aaf098fd1dmr50595915ad.43.1770690432546;\n Mon, 09 Feb 2026 18:27:12 -0800 (PST)",
            "by 2002:a17:903:41c6:b0:2aa:f098:f9d6 with SMTP id\n d9443c01a7336-2aaf098fd1dmr50595825ad.43.1770690432106;\n Mon, 09 Feb 2026 18:27:12 -0800 (PST)"
        ],
        "From": "Ivan Hu <ivan.hu@canonical.com>",
        "To": "fwts-devel@lists.ubuntu.com",
        "Subject": "[PATCH] bios: s0idle: do not treat unsupported S0idle as an error",
        "Date": "Tue, 10 Feb 2026 10:27:09 +0800",
        "Message-ID": "<20260210022709.106768-1-ivan.hu@canonical.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "X-BeenThere": "fwts-devel@lists.ubuntu.com",
        "X-Mailman-Version": "2.1.20",
        "Precedence": "list",
        "List-Id": "Firmware Test Suite Development <fwts-devel.lists.ubuntu.com>",
        "List-Unsubscribe": "<https://lists.ubuntu.com/mailman/options/fwts-devel>,\n <mailto:fwts-devel-request@lists.ubuntu.com?subject=unsubscribe>",
        "List-Archive": "<https://lists.ubuntu.com/archives/fwts-devel>",
        "List-Post": "<mailto:fwts-devel@lists.ubuntu.com>",
        "List-Help": "<mailto:fwts-devel-request@lists.ubuntu.com?subject=help>",
        "List-Subscribe": "<https://lists.ubuntu.com/mailman/listinfo/fwts-devel>,\n <mailto:fwts-devel-request@lists.ubuntu.com?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "fwts-devel-bounces@lists.ubuntu.com",
        "Sender": "\"fwts-devel\" <fwts-devel-bounces@lists.ubuntu.com>"
    },
    "content": "BugLink: https://bugs.launchpad.net/fwts/+bug/2141369\n\nIf the hardware indicates that it does not support S0 Low Power Idle (S0idle),\nthis is not necessarily an error but may be an accurate description of the\nplatform’s capabilities. Update the test result to report this condition as a\nwarning instead of an error.\n\nSigned-off-by: Ivan Hu <ivan.hu@canonical.com>\n---\n src/bios/s0idle/s0idle.c | 9 ++++++---\n 1 file changed, 6 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/src/bios/s0idle/s0idle.c b/src/bios/s0idle/s0idle.c\nindex 42f24d8e..5b0e9db1 100644\n--- a/src/bios/s0idle/s0idle.c\n+++ b/src/bios/s0idle/s0idle.c\n@@ -53,10 +53,13 @@ static int s0idle_test1(fwts_framework *fw)\n {\n \tconst fwts_acpi_table_fadt *fadt = (const fwts_acpi_table_fadt *)table->data;\n \n-\tif (fadt->flags & FWTS_FACP_FLAG_LOW_POWER_S0_IDLE_CAPABLE)\n+\tif (fadt->flags & FWTS_FACP_FLAG_LOW_POWER_S0_IDLE_CAPABLE) {\n \t\tfwts_passed(fw, \"LOW_POWER_S0_IDLE_CAPABLE is set in ACPI FADT.\");\n-\telse\n-\t\tfwts_failed(fw, LOG_LEVEL_HIGH, \"S0idleNoFADT\", \"LOW_POWER_S0_IDLE_CAPABLE is not set in ACPI FADT.\");\n+\t} else {\n+\t\tfwts_warning(fw,\n+\t\t\t\"LOW_POWER_S0_IDLE_CAPABLE is not set in ACPI FADT, \"\n+\t\t\t\"indicating hardware may not support S0 Low Power Idle.\");\n+\t}\n \n \treturn FWTS_OK;\n }\n",
    "prefixes": []
}