get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2218640,
    "url": "http://patchwork.ozlabs.org/api/patches/2218640/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260401152657.314902-31-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": "<20260401152657.314902-31-brian.cain@oss.qualcomm.com>",
    "list_archive_url": null,
    "date": "2026-04-01T15:26:50",
    "name": "[v6,30/37] target/hexagon: Add representation to count cycles",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "6816ac1111c9f257b17d7863186c4a6db90bedaa",
    "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/20260401152657.314902-31-brian.cain@oss.qualcomm.com/mbox/",
    "series": [
        {
            "id": 498350,
            "url": "http://patchwork.ozlabs.org/api/series/498350/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=498350",
            "date": "2026-04-01T15:26:45",
            "name": "Hexagon system emulation - Part 1/3",
            "version": 6,
            "mbox": "http://patchwork.ozlabs.org/series/498350/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2218640/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2218640/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=VennMWgs;\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=IuQ5HduF;\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=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists.gnu.org (lists.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 4fm88p2Jsfz1yCp\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 02:31:22 +1100 (AEDT)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1w7xV1-0001U8-SO; Wed, 01 Apr 2026 11:28:55 -0400",
            "from eggs.gnu.org ([2001:470:142:3::10])\n by lists.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 1w7xUq-0001AU-SA\n for qemu-devel@nongnu.org; Wed, 01 Apr 2026 11:28:44 -0400",
            "from mx0b-0031df01.pphosted.com ([205.220.180.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 1w7xUp-00089N-Cs\n for qemu-devel@nongnu.org; Wed, 01 Apr 2026 11:28:44 -0400",
            "from pps.filterd (m0279871.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 631CS29D1285859\n for <qemu-devel@nongnu.org>; Wed, 1 Apr 2026 15:28:31 GMT",
            "from mail-dy1-f198.google.com (mail-dy1-f198.google.com\n [74.125.82.198])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d8xm3t2xv-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <qemu-devel@nongnu.org>; Wed, 01 Apr 2026 15:28:25 +0000 (GMT)",
            "by mail-dy1-f198.google.com with SMTP id\n 5a478bee46e88-2c8ac8e422dso2677494eec.0\n for <qemu-devel@nongnu.org>; Wed, 01 Apr 2026 08:28:17 -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-2ca78df3b84sm38491eec.5.2026.04.01.08.28.12\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 01 Apr 2026 08:28:12 -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 6ZHy9fjHuUJPuBnGZhpJxEYG+YhC4Fr91TldqdiZEyI=; b=VennMWgsUps3A6FF\n 8IelrgvOcmgEreZiw6pMHj/NWZerGLJ4EhFBObk2U34Xd0wMn83xlDaqLMyCPqFA\n df0pmvxc0qBupddZa8Pflxi3JXV4sW0Fb6obSFKSPxlBW9jBhdkXCQ+Lxk2Dp0dN\n C2EFhaAzyotsm9OHmds5oi1vcM//qQ5XwGPx+s0eVKaeH3IFw5o+cGQreshkBlDn\n /GpxT6JDGcKSYezOh6Px2fZ3yaMLJL3L9L97gRG2ZndwdqDFKn1ek11RyiO4MexK\n ZytRjQwzwkb5L1YKWdtoZ49sDOBpUP8wtIZ4l6J3kFR7nsg4XIRx054VNGlKvSko\n KrS2lw==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1775057293; x=1775662093; 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=6ZHy9fjHuUJPuBnGZhpJxEYG+YhC4Fr91TldqdiZEyI=;\n b=IuQ5HduFQrq8zzwcW2WZUKEmS7MgLB3prxXHKg45gLXdi/gzLH7Sf6aNzezSeIzQXL\n DYZ+J1YJQl/GDkZJ8gwHYR0vHGKInu7k8y9x5z+/8OQUsa0rz914bflnci7kzPuL4lsu\n pRgcGwCTB0tVsQay3eEanArqy3Nkq28GVcBk2jazHzU7nxaXGURd4aUkMvxTdsxPjVgQ\n NKpXISbDeUOoKBDKKEkH9QkHepu1IMcdcv/prWglnb+IfLFf6SLyCzOVu8Kd0UQs7kzR\n osYdOl2QiZjA5ZKROY0K1n/DOLYVZrn5RMDsKDRJxgQRua63D23T/0uP4W5eRRQDGqcw\n fcvg=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775057293; x=1775662093;\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=6ZHy9fjHuUJPuBnGZhpJxEYG+YhC4Fr91TldqdiZEyI=;\n b=bp/kCypPbTUARi19wZeblFcBqV6hi+KOwwziSGutH2ICwwk0V8Fqamo208qcqH3inE\n bjSHenzXfrnwe8wEiP/g5zlTZEPKDhhGy+K6lx+nmb5/nm8C9MCLOjR+hdwmW5l3NhtQ\n lD7wFcwhr1ZWaL9wWR4MqWVvn/WmcECz4UAgbCHbLfLLsQLK9pXuztqlFVMnw5OiX0O0\n sIZ7rDyYTFeNNYmMx2tobOk/ZZe/Nuhsh04cgaGN9bFS90t9OwQWRdCqsJKTdDB7JiTq\n uGLLcj2ZKksKu4j5SExdd/eqpX/w267LTX56f1jdvvpkRszObst+42L/oXCXQ9B4OSWu\n E5DQ==",
        "X-Gm-Message-State": "AOJu0YyajzY9eCvNfTreHN/pGaZ1hOpnsghO6kanSSWeyv6W0FqudhNc\n ys+etBJdOpyPPZs178Gi59JHN9UxwDqs5A8qkFEdrjnGJP9q1YWWF9GpNMmae/HBHMDlY8wBHB/\n nNRpKJU63b7GQzUTdAe7oocWWvAyc+TH4nWOCNuUm2ENb3erIkr7PWbv23LMSHiykxQ==",
        "X-Gm-Gg": "ATEYQzxkKqjsfOpp5DGR66F7lHsC+nNzZhhjtLeicLXLKIzYme7rCya0rL7Aa/t3xCQ\n DNcpdh50tsHhgliHGvssmhVAUJo7lsJr2fORuFWtFQgMmnsCCHoBwHhMtvJwOVS8yaFl5tVW3ex\n 7iYR+Dwn2ZJuiB5b1Kday8zAi/dvBzLO5AVh1VL3mzIz47rtEMZ7G77vTEqYWoVs9rIYcQTsETd\n JjTDqVSt7HbnpLpzrky/LFz5Pws+UZ9vKy876DaSTTYp9ZkyK2pPczufsl736FaM61C2snyXGfg\n W7mDaCK6vr5bbZBiEQxKHtyX4/5zanthU541M61JJROER8ZVOVUaxG6gZ+f+J3RKw4suIhfGXir\n XZHfiiD/I/jiS9G0SUrI+/hvF9INMvC7JBPyVSZ4xhJUA67sejGJoWYqyz325EKAhjwuCfg==",
        "X-Received": [
            "by 2002:a05:7300:cb0b:b0:2c5:9b9d:4511 with SMTP id\n 5a478bee46e88-2c9334b530dmr1994133eec.32.1775057293094;\n Wed, 01 Apr 2026 08:28:13 -0700 (PDT)",
            "by 2002:a05:7300:cb0b:b0:2c5:9b9d:4511 with SMTP id\n 5a478bee46e88-2c9334b530dmr1994118eec.32.1775057292565;\n Wed, 01 Apr 2026 08:28:12 -0700 (PDT)"
        ],
        "From": "Brian Cain <brian.cain@oss.qualcomm.com>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "brian.cain@oss.qualcomm.com, philmd@linaro.org, ltaylorsimpson@gmail.com,\n matheus.bernardino@oss.qualcomm.com, marco.liebel@oss.qualcomm.com,\n quic_mburton@quicinc.com, sid.manning@oss.qualcomm.com, ale@rev.ng,\n anjo@rev.ng",
        "Subject": "[PATCH v6 30/37] target/hexagon: Add representation to count cycles",
        "Date": "Wed,  1 Apr 2026 08:26:50 -0700",
        "Message-Id": "<20260401152657.314902-31-brian.cain@oss.qualcomm.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20260401152657.314902-1-brian.cain@oss.qualcomm.com>",
        "References": "<20260401152657.314902-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=L90QguT8 c=1 sm=1 tr=0 ts=69cd399d cx=c_pps\n a=wEP8DlPgTf/vqF+yE6f9lg==: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=3WHJM1ZQz_JShphwDgj5:22\n a=pGLkceISAAAA:8 a=EUspDBNiAAAA:8 a=gmA5YO3DfmenxuRff1QA:9\n a=tsLLKIjAKpJP5df9:21 a=QEXdDO2ut3YA:10 a=bBxd6f-gb0O0v-kibOvt:22",
        "X-Proofpoint-ORIG-GUID": "AcsRK7kjLeHDLDJ3aXp-gNvUJDluj89x",
        "X-Proofpoint-GUID": "AcsRK7kjLeHDLDJ3aXp-gNvUJDluj89x",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDAxMDE0NCBTYWx0ZWRfX/SVlcClNBsOE\n JpC+Gle+VHv3E4SVKQeBRm0tgHsSR5a9oMQb4q9VOjGFsS74jBibY6gLAk5ZMF3dH///Kmgmrxq\n EfxVozL2dCT14eUE5MN44AAbLH7Tx3A2INsx6wFuD103Rp3Yt8BqBuml1L36nhLgdfi+4iqBUY8\n F4GNq/LWaqERPgOGJtFCD5cRGCkm1be1xwrjB9xQ38tr5Q//mdYNH6Hu/KkWdl8ZdVthDUuq+qQ\n SeYkwTOev9miD7ymhJdkzxAWQJ4PWhW2qqme8BxjEn4eKA+aHCXLh5+AIc6jj6NMR+TV6iLUdUB\n afvWUHrJljg1pEBKImcwzrCfpkpHpoG/UwaH0WhKaUtfAT7C8E3gSVOybogsWhz9zH0uhYReZRu\n Bl+rewluJFPF0y1KpwSTy/PrrPi6bsMcviPWM74HJa1JIC981SqqNe/B57+Sgivws+26r1hTjnN\n imlDus54IkKSPdgAF/A==",
        "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-01_04,2026-04-01_02,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n adultscore=0 suspectscore=0 phishscore=0 clxscore=1015 priorityscore=1501\n spamscore=0 lowpriorityscore=0 impostorscore=0 malwarescore=0 bulkscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2604010144",
        "Received-SPF": "pass client-ip=205.220.180.131;\n envelope-from=brian.cain@oss.qualcomm.com; helo=mx0b-0031df01.pphosted.com",
        "X-Spam_score_int": "-7",
        "X-Spam_score": "-0.8",
        "X-Spam_bar": "/",
        "X-Spam_report": "(-0.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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=1,\n RCVD_IN_VALIDITY_RPBL_BLOCKED=1, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=no 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": "Add t_cycle_count to CPUArchState for tracking processor\ncycle counts in system emulation.\n\nReviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>\nSigned-off-by: Brian Cain <brian.cain@oss.qualcomm.com>\n---\n target/hexagon/cpu.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/target/hexagon/cpu.h b/target/hexagon/cpu.h\nindex 3562965c88a..56f89209795 100644\n--- a/target/hexagon/cpu.h\n+++ b/target/hexagon/cpu.h\n@@ -109,6 +109,7 @@ typedef struct CPUArchState {\n \n     /* This alias of CPUState.cpu_index is used by imported sources: */\n     uint32_t threadId;\n+    uint64_t t_cycle_count;\n #endif\n     target_ulong new_value_usr;\n \n",
    "prefixes": [
        "v6",
        "30/37"
    ]
}