get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2227601,
    "url": "http://patchwork.ozlabs.org/api/patches/2227601/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260424023606.2556830-9-brian.cain@oss.qualcomm.com/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api",
        "name": "QEMU Development",
        "link_name": "qemu-devel",
        "list_id": "qemu-devel.nongnu.org",
        "list_email": "qemu-devel@nongnu.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260424023606.2556830-9-brian.cain@oss.qualcomm.com>",
    "list_archive_url": null,
    "date": "2026-04-24T02:36:05",
    "name": "[PULL,8/9] Hexagon (target/hexagon) Remove snprint_a_pkt_debug",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "a1f81257be08679ab5f0b545f2f8ce0945bec84e",
    "submitter": {
        "id": 89839,
        "url": "http://patchwork.ozlabs.org/api/people/89839/?format=api",
        "name": "Brian Cain",
        "email": "brian.cain@oss.qualcomm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260424023606.2556830-9-brian.cain@oss.qualcomm.com/mbox/",
    "series": [
        {
            "id": 501280,
            "url": "http://patchwork.ozlabs.org/api/series/501280/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=501280",
            "date": "2026-04-24T02:36:05",
            "name": "[PULL,1/9] Hexagon (target/hexagon) Properly handle Hexagon CPU version",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501280/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2227601/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2227601/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>",
        "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=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=VKjzwx7p;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=FPYwprj7;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\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 4g1xtm5gZsz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 12:37:03 +1000 (AEST)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wG6PB-0006mL-RY; Thu, 23 Apr 2026 22:36:33 -0400",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <brian.cain@oss.qualcomm.com>)\n id 1wG6P5-0006l3-EK\n for qemu-devel@nongnu.org; Thu, 23 Apr 2026 22:36:29 -0400",
            "from mx0a-0031df01.pphosted.com ([205.220.168.131])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <brian.cain@oss.qualcomm.com>)\n id 1wG6P3-0008L1-MN\n for qemu-devel@nongnu.org; Thu, 23 Apr 2026 22:36:27 -0400",
            "from pps.filterd (m0279863.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63O0POQd154568\n for <qemu-devel@nongnu.org>; Fri, 24 Apr 2026 02:36:24 GMT",
            "from mail-dy1-f197.google.com (mail-dy1-f197.google.com\n [74.125.82.197])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dqpf629gt-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <qemu-devel@nongnu.org>; Fri, 24 Apr 2026 02:36:24 +0000 (GMT)",
            "by mail-dy1-f197.google.com with SMTP id\n 5a478bee46e88-2de07c12745so16310231eec.1\n for <qemu-devel@nongnu.org>; Thu, 23 Apr 2026 19:36:24 -0700 (PDT)",
            "from hu-bcain-lv.qualcomm.com (Global_NAT1.qualcomm.com.\n [129.46.96.20]) by smtp.gmail.com with ESMTPSA id\n 5a478bee46e88-2e539fa6134sm31240868eec.3.2026.04.23.19.36.22\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 23 Apr 2026 19:36:22 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-transfer-encoding:content-type:date:from:in-reply-to\n :message-id:mime-version:references:subject:to; s=qcppdkim1; bh=\n L7ciwO6Jf5NV8v05p0zKTmxlWptv9MnlOW6McB65lmg=; b=VKjzwx7p5PBqaXK7\n xbm5L/JiX+tAsLLtqvILtwPWUVlS7JQ8+ZTCSGgh20/PHS+XQ7uPIgaxtq9vnQ9F\n 3bAW9VIx0sNq5GT6gFuAqy8D6rad+amV34yD2aMihuELEH8CfWjfEu3KGZtNNZ7d\n LLa/TpscD6f8+7o6+UT3+SHDSD6FIXCrwcCRKje8Km0b/BPSNbuFspyFOKI1zKqv\n Y53clIzfvllmDaYdfxtmOskBa/AF288Jr4YWTcWn4FF6IFkJ/3EfrwvjhNx/Pnqy\n WyeGuECuCQ83uvd4EHvSp2BK7BhRJ6e9dVutsm8WXjNO0jtM3Bk/r4bohEf2SxVl\n FsJMYQ==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1776998183; x=1777602983; darn=nongnu.org;\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=L7ciwO6Jf5NV8v05p0zKTmxlWptv9MnlOW6McB65lmg=;\n b=FPYwprj76aLcLum2ZrcGJntzJJgRXyZbahBvVgMMvWgnhaV0+lL5OjEO2K/dBSE6ck\n NcPGFrJ+By9Uk2OuhyHeCCwVd5+G94Xu5A+xvjWPjmpJzUWsIsPjkwRf9gg/Ck8l4Ixv\n H9aPwX/Z4oeUm1yTfElBTagPP2+qQiBlDUEezOCq+a1qNBGgnyRX67N3tRXhGq9JAiau\n IZpWpB28iSLXlGCpP6LDcV8ozx4eprJxwTvqvCytPxL6+bcC9wH0zxZlQHTl6XG+o8ly\n RDsZ3W52lf1nle/iyJzNZ+198e8XY4HLVQx27Oa0jLAjBtGo7JA1rsWg1GwcIwDl2AB7\n yAew=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776998183; x=1777602983;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=L7ciwO6Jf5NV8v05p0zKTmxlWptv9MnlOW6McB65lmg=;\n b=ZnAroSxOlqhDYQLcJlLlbF5uLjTrDx3XTeFAz2y13pk5L7uJhWKoRt2OrsiE5ikbp3\n sCpdXoK+mTJM9VfTfv9K2vmaSSN6vVOuqtA9e/1k8j8ZxSELvDjWKiKV+wXPH5Hdd7ih\n j1/Hh+c3K/UT8hPMFP1BbctI20HxX1fP0CanegdL5ycx+SgwDniZVd1tyx6TUjn14NAe\n L+AhwSBSeOI/SqEfGkvoKPutWAE7eOqXyK36MLZODCeJO2u884iVcG7ctx6NEuxfBzFz\n 8DSp8YvIiaAumtcQnTQbogeMN+3d8L8AzepwbW0iAAphWYN2kSu+Vhjd+0sIZVrwmu2F\n tzKQ==",
        "X-Gm-Message-State": "AOJu0YwFnPxHw8NeYw0P/m0IiDVYQGfARTKWjl6DCzP+jOVR8ZDmrfES\n YL67HcR/IPfTn6T6Cv7Yg7gP8rkxZKqMR5/OeeBYO+6IwKtZH10/PrqOmBinbyjXvIguX9BLLHi\n Wn1AierxVvpteOObraKHJYMF5+uwLJRTl+IiPdk3axLG0xl/++DUhMzgKFvvt9FDgzw==",
        "X-Gm-Gg": "AeBDiessNBn0PvMqFHDPflDnKNJWV8V0LESGJcULh/YUq+ZRNq1KTesUOqQjQlCXfrL\n 7IRGi9RGxtkE+2TmY36vBs6ggyVdnvO0BoiQ5q3VRYRflbmcPQVYu6RoFb4d4VGZLq0RhBNEA0G\n m3l9AR/5PjGlbEFk2h6D/sKiUEtz5bHZfgCmn0h9c6cmswlBt6iyPCUnfmtBm4XHf89N5ug50gX\n EhHnNZ5lq3Hm+ZzhtfIsiOMZbSJEBRjSwI4J99IM9+v9/5gDmMrN84lIAbqCJe2OuImd/hTJ4Xu\n xIIF6YyDFkEbn8/fuSuU0aLwSTHWZNZpyMVd5FFXjLGXdxXG5Vw8fiBZhcuMfgKblgb2fMz+9Op\n EIk/rrbSoaXjTlbPyAHBe4xbZf1DwauO46PgtL4nI+G2jbwN8h9gwiuWTxvCjzBs23eS3LaVxc9\n +baI3i",
        "X-Received": [
            "by 2002:a05:7300:8c9f:b0:2e2:3381:2fba with SMTP id\n 5a478bee46e88-2e4660475e5mr15679675eec.3.1776998183524;\n Thu, 23 Apr 2026 19:36:23 -0700 (PDT)",
            "by 2002:a05:7300:8c9f:b0:2e2:3381:2fba with SMTP id\n 5a478bee46e88-2e4660475e5mr15679665eec.3.1776998182993;\n Thu, 23 Apr 2026 19:36:22 -0700 (PDT)"
        ],
        "From": "Brian Cain <brian.cain@oss.qualcomm.com>",
        "To": "qemu-devel@nongnu.org, stefanha@redhat.com",
        "Cc": "brian.cain@oss.qualcomm.com, Taylor Simpson <ltaylorsimpson@gmail.com>,\n Anton Johansson <anjo@rev.ng>,\n Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>",
        "Subject": "[PULL 8/9] Hexagon (target/hexagon) Remove snprint_a_pkt_debug",
        "Date": "Thu, 23 Apr 2026 19:36:05 -0700",
        "Message-Id": "<20260424023606.2556830-9-brian.cain@oss.qualcomm.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20260424023606.2556830-1-brian.cain@oss.qualcomm.com>",
        "References": "<20260424023606.2556830-1-brian.cain@oss.qualcomm.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "X-Authority-Analysis": "v=2.4 cv=Iocutr/g c=1 sm=1 tr=0 ts=69ead728 cx=c_pps\n a=Uww141gWH0fZj/3QKPojxA==:117 a=ouPCqIW2jiPt+lZRy3xVPw==:17\n a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10\n a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yOCtJkima9RkubShWh1s:22\n a=pGLkceISAAAA:8 a=EUspDBNiAAAA:8 a=8ZBzTUssO9REyHtisiwA:9 a=QEXdDO2ut3YA:10\n a=PxkB5W3o20Ba91AHUih5:22",
        "X-Proofpoint-ORIG-GUID": "798P2SToZo4UR9rpfA89EnXRbFFoA7q_",
        "X-Proofpoint-GUID": "798P2SToZo4UR9rpfA89EnXRbFFoA7q_",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDI0MDAyMCBTYWx0ZWRfXwFa3/bNHaDOl\n xmiHCNSRnwja258veu6lN2YKnbjiLHTEFBcSiSJx+A9JwBA0WJyZe7CRbv9XHlYZzfzM0HXjDtF\n Mdw8DHXflc6ZqjQTvxn11pFNzWsOpH+a4dl7EVaG6eOOtgJeIchsUVzig+u7a1bEgmVAyDel0XE\n VPeIO2kSP+nrWLwM6oPtR+nnpdiPK/iqBfp8fkc0TSSNece256hk8bpu3QdkTrqarpjPnyj9FcS\n 8LoXB7P/ujM9j/XxaW/ByoGoxo7ccROLzf7M+7R+QXdIoss4AxRxsr8an9PwJpAw91X5xwLxuct\n OxOa5czka7pMwNWuBMGuTVNatvZV5OagiQ8KHpX3NNoScTz43a5yZ7m3uOJdvJ6DRh99o0yKt3J\n JDCdnndJ8FxcrXog7J1Sn/5TKeU10O/16duVOHwAQEHPTDwDLh9u4DR7D3SmDQNPLalzPTrHCNp\n QjZ/77uip4E9R/JYKEQ==",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-23_03,2026-04-21_02,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n adultscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0\n suspectscore=0 priorityscore=1501 lowpriorityscore=0 clxscore=1015\n impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc=\n route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000\n definitions=main-2604240020",
        "Received-SPF": "pass client-ip=205.220.168.131;\n envelope-from=brian.cain@oss.qualcomm.com; helo=mx0a-0031df01.pphosted.com",
        "X-Spam_score_int": "-27",
        "X-Spam_score": "-2.8",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=ham autolearn_force=no",
        "X-Spam_action": "no action",
        "X-BeenThere": "qemu-devel@nongnu.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "qemu development <qemu-devel.nongnu.org>",
        "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>",
        "List-Post": "<mailto:qemu-devel@nongnu.org>",
        "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>",
        "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>",
        "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org",
        "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"
    },
    "content": "From: Taylor Simpson <ltaylorsimpson@gmail.com>\n\nFunction is not used\n\nSigned-off-by: Taylor Simpson <ltaylorsimpson@gmail.com>\nReviewed-by: Anton Johansson <anjo@rev.ng>\nSigned-off-by: Brian Cain <brian.cain@oss.qualcomm.com>\n---\n target/hexagon/printinsn.h |  1 -\n target/hexagon/printinsn.c | 31 -------------------------------\n 2 files changed, 32 deletions(-)",
    "diff": "diff --git a/target/hexagon/printinsn.h b/target/hexagon/printinsn.h\nindex 6f84ef93c3b..de962b5f2e6 100644\n--- a/target/hexagon/printinsn.h\n+++ b/target/hexagon/printinsn.h\n@@ -23,6 +23,5 @@\n \n void snprint_a_pkt_disas(GString *buf, Packet *pkt, uint32_t *words,\n                          target_ulong pc, const HexagonCPUDef *hex_def);\n-void snprint_a_pkt_debug(GString *buf, Packet *pkt);\n \n #endif\ndiff --git a/target/hexagon/printinsn.c b/target/hexagon/printinsn.c\nindex 22b305f018e..a7e46f4bcd9 100644\n--- a/target/hexagon/printinsn.c\n+++ b/target/hexagon/printinsn.c\n@@ -118,34 +118,3 @@ void snprint_a_pkt_disas(GString *buf, Packet *pkt, uint32_t *words,\n         g_string_append(buf, \"  :endloop01\");\n     }\n }\n-\n-void snprint_a_pkt_debug(GString *buf, Packet *pkt)\n-{\n-    int slot, opcode;\n-\n-    if (pkt->num_insns > 1) {\n-        g_string_append(buf, \"\\n{\\n\");\n-    }\n-\n-    for (int i = 0; i < pkt->num_insns; i++) {\n-        if (pkt->insn[i].part1) {\n-            continue;\n-        }\n-        g_string_append(buf, \"\\t\");\n-        snprintinsn(buf, &(pkt->insn[i]));\n-\n-        if (GET_ATTRIB(pkt->insn[i].opcode, A_SUBINSN)) {\n-            g_string_append(buf, \" //subinsn\");\n-        }\n-        if (pkt->insn[i].extension_valid) {\n-            g_string_append(buf, \" //constant extended\");\n-        }\n-        slot = pkt->insn[i].slot;\n-        opcode = pkt->insn[i].opcode;\n-        g_string_append_printf(buf, \" //slot=%d:tag=%s\\n\",\n-                               slot, opcode_names[opcode]);\n-    }\n-    if (pkt->num_insns > 1) {\n-        g_string_append(buf, \"}\\n\");\n-    }\n-}\n",
    "prefixes": [
        "PULL",
        "8/9"
    ]
}