get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2227611,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2227611/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20260424024343.70682-2-zixing.liu@canonical.com/",
    "project": {
        "id": 15,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/15/?format=api",
        "name": "Ubuntu Kernel",
        "link_name": "ubuntu-kernel",
        "list_id": "kernel-team.lists.ubuntu.com",
        "list_email": "kernel-team@lists.ubuntu.com",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260424024343.70682-2-zixing.liu@canonical.com>",
    "date": "2026-04-24T02:43:40",
    "name": "[SRU,J,v3,1/4] selftests/powerpc: Lower run time of count_stcx_fail test",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "8149874564f964083e4778260ece10b32c6de278",
    "submitter": {
        "id": 90901,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/90901/?format=api",
        "name": "Zixing Liu",
        "email": "zixing.liu@canonical.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20260424024343.70682-2-zixing.liu@canonical.com/mbox/",
    "series": [
        {
            "id": 501282,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501282/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ubuntu-kernel/list/?series=501282",
            "date": "2026-04-24T02:43:40",
            "name": "Fix time-out issues on powerpc when running ubuntu_kernel_selftests",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/501282/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2227611/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2227611/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<kernel-team-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=LphxuDDQ;\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=kernel-team-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 4g1y2y3wCtz1yJF\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 12:44:10 +1000 (AEST)",
            "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 <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1wG6WQ-0006Hp-NF; Fri, 24 Apr 2026 02:44:02 +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 <zixing.liu@canonical.com>)\n id 1wG6WN-0006Gt-JD\n for kernel-team@lists.ubuntu.com; Fri, 24 Apr 2026 02:43:59 +0000",
            "from mail-pf1-f197.google.com (mail-pf1-f197.google.com\n [209.85.210.197])\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 8073B3F7B0\n for <kernel-team@lists.ubuntu.com>; Fri, 24 Apr 2026 02:43:59 +0000 (UTC)",
            "by mail-pf1-f197.google.com with SMTP id\n d2e1a72fcca58-82fa366fb79so6752423b3a.2\n for <kernel-team@lists.ubuntu.com>; Thu, 23 Apr 2026 19:43:59 -0700 (PDT)",
            "from localhost.localdomain ([117.151.13.10])\n by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82f8e981c07sm26564292b3a.1.2026.04.23.19.43.56\n for <kernel-team@lists.ubuntu.com>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 23 Apr 2026 19:43:57 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1776998639;\n bh=nLpuBttgInSK7opKzEr5dDA6rLFbuGgjBPgzJSravOo=;\n h=From:To:Subject:Date:Message-ID:In-Reply-To:References:\n MIME-Version;\n b=LphxuDDQI0vFbhcbfg7gS0H9pUWw0en72U57A3whC7itOzog4v/6cZ6G0x/wXSe8M\n WNBn7tZ/CZbyxheXGEhPOh90trS2S0yRG/V62v3AyCSi8O6hzPym3n7BC+opvHzpzF\n j8iFTpSZ+VBf5VU1mzLjlPGeKzYn9Zo562uRvhhLmTwN7iKnVPfoYvnN/kTISvnhIl\n oZ7yOOwAOsMpenYPHClOZF2rtH20ccAdBjh28d43IfqIstt4LnL2mdFo3tjWsDEjvr\n Jk2c53r3jyKlSunrdn0FJKJZqbd/H2WWIS4aVBDAHl758rnxzlghbKT4RJoJCExo7y\n 7B5ErJN7BlSmcdveFioOuifAqWYSNsaxrYmc9W5ZMAtaR45Z7YETGeP3aZ4FYSFXj/\n KvJlhRYyTL/6wuCO+AGGHLUHFQ4mKdbsuzyFpjyfz24Lss4uxvgODPWT8U4cYzU8zu\n YskfwO5JTEIiNSpl+rN/R0gTQksLyezsN0LxuKUSPhF/OjPTEp7EAUmNODu30Vkk7q\n 5JpNbFwgjA0vUhfE/mRHcAfv8yDAtNobFXfe3/ysWXmXSnKxszmr3319oV5bfpS6D8\n oq7joJm28dxli8I+14ChWd4X7sFF/QN0gurDQivpce8RKTyfRKgi69IFWP9LnMkr6o\n 5yCKscG/FqYdmbtuLA0Fq424=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776998638; x=1777603438;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=nLpuBttgInSK7opKzEr5dDA6rLFbuGgjBPgzJSravOo=;\n b=IKJbvWVyuAZlc35Ft6O2OvN6v6J2hG0ycJOLBxSciDC3RAx9DprJY8hZT7Ypqbej86\n rtQPTsnOz8S+kklNEEpWehh0/2IreGdpAhUllexnfai6UsZf7+O+Ol65bL9Xx7CEC01m\n /qM/M9ozxcx/i8WNwse1cejn/NXtSmFBU6Ut1RooCsybPF/k6nyDD2CyzI2PxebKqndj\n wgVuM83EZcizvMpx86yw6trc4KmsH3swthTQXF+l58nyIhO8oGnmw0MPY/FSDB1OjWqH\n P0I0YIfo/ZfAtTg4DhX6TpSN6GKMI7LbV8egEDI/d+vIdvINX2O3Qy1bWTtSI/4vBYpv\n PTVg==",
        "X-Gm-Message-State": "AOJu0Yw1xVTkUjFEZSjRqswEoV1yQyuVXSYxzFJr9sM3zPWb3ik+2AD4\n AL0BqigR8JkU/Qu/AzLY5vXRwDVAyXALCKLyV4fkIfoilGZZMNpbnuvpnhBxvI+rylQ7ACZTJnn\n byzLt12Q7J8gE0qeSGxhujS5qf4NRU53ssIWjGSg3zkDC6HSvdhHhnRSblWdK4/oAVy07TrO2As\n D7OES9B+RW3WBC1IjautA=",
        "X-Gm-Gg": "AeBDievuohG+l1DFgQUxESZKwe1b0J5AHoU4ahwTqlygE58MPfLWH4NaADEy+wbHIag\n 5lIwQJ2YAy7zoIqKmMXXpwGkYTFCbecaXZ0TeHcBrqMIzFdltBdRNvfpSMs3YC5mkEeeK2DzEaz\n bg5cij6afZz+nlyl/BumoQvU9DCkdvpOe2Uws9UJoT19S2+fmtxCDFZ/k8jo510dA0FiuWeZuuC\n Xc+g/0WmY0zp78IoANIVRG9LO4h1zVuWMGNGierAL3TurzhYkDIWlQ3L5txB6uJtCfyeAGUuQkD\n I8s6lVOSpELEMhwwe9MbPQhDy+pFZJmqedoKyfWwQBtEN5Pw9aYeVjdxe9AB7kTrW3R/xDRylKS\n fiKgkcmy40jvKeUdLlapQTEn/qPX9Ka0V2MysKmumcp+OruQnRA==",
        "X-Received": [
            "by 2002:a05:6a00:4b54:b0:82f:6e39:d90f with SMTP id\n d2e1a72fcca58-82f8c93d102mr31021573b3a.39.1776998637783;\n Thu, 23 Apr 2026 19:43:57 -0700 (PDT)",
            "by 2002:a05:6a00:4b54:b0:82f:6e39:d90f with SMTP id\n d2e1a72fcca58-82f8c93d102mr31021557b3a.39.1776998637320;\n Thu, 23 Apr 2026 19:43:57 -0700 (PDT)"
        ],
        "From": "Zixing Liu <zixing.liu@canonical.com>",
        "To": "kernel-team@lists.ubuntu.com",
        "Subject": "[SRU][J][PATCH v3 1/4] selftests/powerpc: Lower run time of\n count_stcx_fail test",
        "Date": "Fri, 24 Apr 2026 10:43:40 +0800",
        "Message-ID": "<20260424024343.70682-2-zixing.liu@canonical.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260424024343.70682-1-zixing.liu@canonical.com>",
        "References": "<20260424024343.70682-1-zixing.liu@canonical.com>",
        "MIME-Version": "1.0",
        "X-BeenThere": "kernel-team@lists.ubuntu.com",
        "X-Mailman-Version": "2.1.20",
        "Precedence": "list",
        "List-Id": "Kernel team discussions <kernel-team.lists.ubuntu.com>",
        "List-Unsubscribe": "<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>",
        "List-Archive": "<https://lists.ubuntu.com/archives/kernel-team>",
        "List-Post": "<mailto:kernel-team@lists.ubuntu.com>",
        "List-Help": "<mailto:kernel-team-request@lists.ubuntu.com?subject=help>",
        "List-Subscribe": "<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "kernel-team-bounces@lists.ubuntu.com",
        "Sender": "\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"
    },
    "content": "From: Michael Ellerman <mpe@ellerman.id.au>\n\nBugLink: https://bugs.launchpad.net/bugs/2141536\n\nThe count_stcx_fail test runs for close to or just over 2 minutes, which\nmeans it sometimes times out.\n\nThat's overkill for a test that just demonstrates some PMU counters\nare working. Drop the 64 billion instruction case, to lower the runtime\nto ~30s.\n\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>\n(cherry picked from commit 3b9bde403aafa55dcbe7dc250b95af917610f139)\nSigned-off-by: Zixing Liu <zixing.liu@canonical.com>\n---\n tools/testing/selftests/powerpc/pmu/count_stcx_fail.c | 3 ---\n 1 file changed, 3 deletions(-)",
    "diff": "diff --git a/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c b/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c\nindex 2070a1e2b3a5..d8dd9a9c6c1b 100644\n--- a/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c\n+++ b/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c\n@@ -144,9 +144,6 @@ static int test_body(void)\n \t/* Run for 16Bi instructions */\n \tFAIL_IF(do_count_loop(events, 16000000000, overhead, true));\n \n-\t/* Run for 64Bi instructions */\n-\tFAIL_IF(do_count_loop(events, 64000000000, overhead, true));\n-\n \tevent_close(&events[0]);\n \tevent_close(&events[1]);\n \n",
    "prefixes": [
        "SRU",
        "J",
        "v3",
        "1/4"
    ]
}