get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217288,
    "url": "http://patchwork.ozlabs.org/api/patches/2217288/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260327204704.424158-1-pbonzini@redhat.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": "<20260327204704.424158-1-pbonzini@redhat.com>",
    "list_archive_url": null,
    "date": "2026-03-27T20:47:04",
    "name": "hpet: lower HPET_MAX_TIMERS to 24",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "2e379380884a481ed4fd3d325e0d2986b22ec23d",
    "submitter": {
        "id": 2701,
        "url": "http://patchwork.ozlabs.org/api/people/2701/?format=api",
        "name": "Paolo Bonzini",
        "email": "pbonzini@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260327204704.424158-1-pbonzini@redhat.com/mbox/",
    "series": [
        {
            "id": 497826,
            "url": "http://patchwork.ozlabs.org/api/series/497826/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=497826",
            "date": "2026-03-27T20:47:04",
            "name": "hpet: lower HPET_MAX_TIMERS to 24",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/497826/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217288/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217288/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 (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=HWlbBKjp;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=google header.b=jYZII2Z/;\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 4fjCQd3pGGz1y1P\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 28 Mar 2026 07:48:07 +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 1w6E5K-00038q-P8; Fri, 27 Mar 2026 16:47:14 -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 <pbonzini@redhat.com>)\n id 1w6E5I-00038P-TJ\n for qemu-devel@nongnu.org; Fri, 27 Mar 2026 16:47:12 -0400",
            "from us-smtp-delivery-124.mimecast.com ([170.10.129.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>)\n id 1w6E5H-0001my-9j\n for qemu-devel@nongnu.org; Fri, 27 Mar 2026 16:47:12 -0400",
            "from mail-wr1-f72.google.com (mail-wr1-f72.google.com\n [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-361-jJWs1YiOPBS4XRDw2wIXMA-1; Fri, 27 Mar 2026 16:47:08 -0400",
            "by mail-wr1-f72.google.com with SMTP id\n ffacd0b85a97d-439cbfcfc21so2195226f8f.2\n for <qemu-devel@nongnu.org>; Fri, 27 Mar 2026 13:47:08 -0700 (PDT)",
            "from [192.168.10.48] ([151.49.85.67])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43cf2580168sm516219f8f.36.2026.03.27.13.47.04\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 27 Mar 2026 13:47:05 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1774644429;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=nQN6BGEz2uMzaWLtnDgvxzEtfd2FYHTGxTkLOU4YzLs=;\n b=HWlbBKjpjxeQbNAbIo4mPlr7K3G9Ig9khtDony5MjNcYFVTufjDPeRvnOPX7Kk1/P9eDFy\n tMEQSAR53NL8+z8vOgIKmIOvB/WFyFk8iIIh1nD9/ww8uu2rsX10jsaHKDaj/moe7qvFIq\n 8D4VI91cazosiqMaO90yTkdxlg2wsBg=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1774644426; x=1775249226; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=nQN6BGEz2uMzaWLtnDgvxzEtfd2FYHTGxTkLOU4YzLs=;\n b=jYZII2Z/4DCflq5XYfCFxWdXzgQxKJ35n5CXnLfns3AsF61TtGq2JY8pMbNEXT63YH\n 23vZ7hLMGy/eCMBSSjQuJfHGbCMXj7DbvaI5k87qB+r8VNAbXjTWFfOtjAUWX7+S/YO1\n 5CTcFu3mRgPJp4r7hKtSO4kt1tubRvAaqEYWcTU5YLrsskrYjjyUSdT+4R3lB3dPWJSI\n QaByVCfdAD63VU6poFrhFpxZa9DIFW/EVlgaWtsOpyHVzMFImHCrkKuyH7ihSWoZPpDm\n Sqy3n9S6yXVozqqqPEYvxSsZDtFEIUcb2h5g84mpU4EDZSlvV4JzWnjRpwhmfO2i2GvG\n nPnw=="
        ],
        "X-MC-Unique": "jJWs1YiOPBS4XRDw2wIXMA-1",
        "X-Mimecast-MFC-AGG-ID": "jJWs1YiOPBS4XRDw2wIXMA_1774644427",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774644426; x=1775249226;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=nQN6BGEz2uMzaWLtnDgvxzEtfd2FYHTGxTkLOU4YzLs=;\n b=ROIaDAXvH4MrfJiNBuHCiZh2f4+1HFgaqOgJgKg5XE6Q+8j6UAm4jcnNvPqcaSW3+q\n Pt0UMf5rl5i8t6mT3RAGszvDjVGAG99WuLhWwpveHW4kyQfbUn+SZWrJ20nwJuHjz6dZ\n tE+l4WpM5lSrbZwDV2XzBgLjx3MWU6Y6SzaYoNDrlH0A5No7wuAv0D6Do1nTO337i6bB\n g07NAJLWAMIIyYp98EWmQ41BUSZEQDjuXGmBP42Lgo7I/WimfCKiMOHubYLgNyWG2RDs\n jKIl4HnQX6SWco3an1vhve1KhDnnDkDZnCmno+Ata3NDm9R4p1H+ssUfMo9ZeyUK3yaU\n HCcw==",
        "X-Gm-Message-State": "AOJu0YzXhFuh33Jigtv8kXCa9XGuo8yUElzBTNsqHjIjRg+kCmgJXzmB\n f1/eMUXuvW/8JV1BxpPEpkZjtBXRuvNTVyVBNr60jP1Y+H5KNZt4M7NQAQ3eH+iJbCgHnmK1Wiv\n viyzjKo7g8i0i/Vd8iqaONsEKwIFxJbFj/ac+WRSCOLsEY6LLiakxcSmA5j3xRpwktDxi29FSih\n /zga3dPFAjD3886eoHIJTLL5fZC/ibR3HAEVmDia9/",
        "X-Gm-Gg": "ATEYQzwlE33/qyIKcxjX3XAiJViJWFepBUzrjXOLqecRlVF/z7OKNI2UaajU14JbsNa\n Cv8F5CpygzpmT+kV+mWQp6mvQyutIcDGt6oauY2RMJsigeU4KGqUEsJFFOapEK47bzvJTP3SKkX\n hoIHEZP4pmIGFwWPkZPaFT97oslx1BkRRidixDFDxDUgNYk4XKHWPjjaft+CX+xZXGWY8chycaG\n BhuvMnfwnC1G0KRVX99dDq3362+e2WND9cQbFh3P40+urHny7+ITtGzAIPm8aoVFNlpR3yeOrUt\n kH3Rv0GF2XPILlv6Gcw+3PEu6P6NNGRuAagaFI+JVEAxErPvoGKnNxgC+GgTDrM/W0jzweVpAua\n OSIkG/R7JnP//BDviPv9q6SIlSy423W7/5NoWXlVXmYCfpJ/828GX1gtgRq1s7aSitRCMjP1QcB\n /kmz5C29ax8CxUZdxrs8eePhRX",
        "X-Received": [
            "by 2002:a5d:5f45:0:b0:439:b3c5:ea1f with SMTP id\n ffacd0b85a97d-43b9e997916mr6907991f8f.16.1774644426207;\n Fri, 27 Mar 2026 13:47:06 -0700 (PDT)",
            "by 2002:a5d:5f45:0:b0:439:b3c5:ea1f with SMTP id\n ffacd0b85a97d-43b9e997916mr6907956f8f.16.1774644425623;\n Fri, 27 Mar 2026 13:47:05 -0700 (PDT)"
        ],
        "From": "Paolo Bonzini <pbonzini@redhat.com>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "peter.maydell@linaro.org",
        "Subject": "[PATCH] hpet: lower HPET_MAX_TIMERS to 24",
        "Date": "Fri, 27 Mar 2026 21:47:04 +0100",
        "Message-ID": "<20260327204704.424158-1-pbonzini@redhat.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=170.10.129.124;\n envelope-from=pbonzini@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com",
        "X-Spam_score_int": "-20",
        "X-Spam_score": "-2.1",
        "X-Spam_bar": "--",
        "X-Spam_report": "(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001,\n RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,\n SPF_HELO_PASS=-0.001, 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": "Each timer block occupies 32 bytes, but they only start at\noffset 256 of the 1024-byte MMIO register space.  Therefore\nthe correct limit for HPET_MAX_TIMERS is 24, not 32.\n\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>\n---\n include/hw/timer/hpet.h          | 2 +-\n rust/hw/timer/hpet/src/device.rs | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/include/hw/timer/hpet.h b/include/hw/timer/hpet.h\nindex c2656f7f0be..84be4c3529a 100644\n--- a/include/hw/timer/hpet.h\n+++ b/include/hw/timer/hpet.h\n@@ -22,7 +22,7 @@\n \n #define FS_PER_NS 1000000       /* 1000000 femtoseconds == 1 ns */\n #define HPET_MIN_TIMERS         3\n-#define HPET_MAX_TIMERS         32\n+#define HPET_MAX_TIMERS         24\n \n #define HPET_NUM_IRQ_ROUTES     32\n \ndiff --git a/rust/hw/timer/hpet/src/device.rs b/rust/hw/timer/hpet/src/device.rs\nindex 0a5c131819b..ec0bca4496d 100644\n--- a/rust/hw/timer/hpet/src/device.rs\n+++ b/rust/hw/timer/hpet/src/device.rs\n@@ -32,7 +32,7 @@\n /// Minimum recommended hardware implementation.\n const HPET_MIN_TIMERS: usize = 3;\n /// Maximum timers in each timer block.\n-const HPET_MAX_TIMERS: usize = 32;\n+const HPET_MAX_TIMERS: usize = 24;\n \n /// Flags that HPETState.flags supports.\n const HPET_FLAG_MSI_SUPPORT_SHIFT: usize = 0;\n",
    "prefixes": []
}