get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2221492,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2221492/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260409142137.58349-3-philmd@linaro.org/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260409142137.58349-3-philmd@linaro.org>",
    "list_archive_url": null,
    "date": "2026-04-09T14:21:34",
    "name": "[PULL,2/4] hw/timer: ibex_timer: Update IRQs after writing CTRL",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "fee22d4ac0430a50679c58d1206e9daedc6ab9b0",
    "submitter": {
        "id": 85046,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/85046/?format=api",
        "name": "Philippe Mathieu-Daudé",
        "email": "philmd@linaro.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260409142137.58349-3-philmd@linaro.org/mbox/",
    "series": [
        {
            "id": 499309,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/499309/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=499309",
            "date": "2026-04-09T14:21:32",
            "name": "[PULL,1/4] ati-vga: Fix pitch and offset registers mask",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499309/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2221492/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2221492/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=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=N2OWpNNm;\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 (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 4fs2FS6hw1z1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Apr 2026 00:22:20 +1000 (AEST)",
            "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 1wAqGf-00033e-Al; Thu, 09 Apr 2026 10:22:01 -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 <philmd@linaro.org>) id 1wAqGa-0002vE-3N\n for qemu-devel@nongnu.org; Thu, 09 Apr 2026 10:21:56 -0400",
            "from mail-wr1-x431.google.com ([2a00:1450:4864:20::431])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1wAqGY-00037Q-IX\n for qemu-devel@nongnu.org; Thu, 09 Apr 2026 10:21:55 -0400",
            "by mail-wr1-x431.google.com with SMTP id\n ffacd0b85a97d-43cfce3a195so601559f8f.2\n for <qemu-devel@nongnu.org>; Thu, 09 Apr 2026 07:21:54 -0700 (PDT)",
            "from localhost.localdomain (88-187-86-199.subs.proxad.net.\n [88.187.86.199]) by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43d1e2c50a7sm67405047f8f.15.2026.04.09.07.21.51\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Thu, 09 Apr 2026 07:21:52 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1775744512; x=1776349312; 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=v/Jd4YaaBvTfPvDC0v9XltfRQcsbFxXjKJ96oBPPl9w=;\n b=N2OWpNNmiRROwGRB4JCiIDUdaOxbW8sOny3l7/HVaHplyUgKufQO2CuS7M45M3fsX7\n rmqi9NbX1SnRnVRGP+ucWwSgHCuyw/5DNqlMMqNkELfQh7h9dKTvyu0uhYy2IWMgbvJg\n WhfOadY/W2Hxrj5xvFP7duitp5X2IsuK74foWSTvwnACjxmxMHT6zuAcfLsOyfdUb/3Q\n ki1pdPG+7DaOYgcoL5gS+Oib8apiwAU+QhbHlKqsfMC18glpdbJCcYpSgU2BaPdSEuIG\n VHUx/Uu3ykFClqctWn8dtQSSFfLv6yy0d2g6JpOO8oucreG4rG7trDNMEMILIxdPFX+s\n g+mQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775744512; x=1776349312;\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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ptR7jR1QkImWDL//fsUNWA6TrdQIhr9qOMtWx0f0Q9eSA\n YS39BoPkog=",
        "X-Received": "by 2002:a05:6000:4305:b0:43b:50d6:4f04 with SMTP id\n ffacd0b85a97d-43d5a1a274bmr5276932f8f.38.1775744512535;\n Thu, 09 Apr 2026 07:21:52 -0700 (PDT)",
        "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "Peter Maydell <peter.maydell@linaro.org>",
        "Subject": "[PULL 2/4] hw/timer: ibex_timer: Update IRQs after writing CTRL",
        "Date": "Thu,  9 Apr 2026 16:21:34 +0200",
        "Message-ID": "<20260409142137.58349-3-philmd@linaro.org>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260409142137.58349-1-philmd@linaro.org>",
        "References": "<20260409142137.58349-1-philmd@linaro.org>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=2a00:1450:4864:20::431;\n envelope-from=philmd@linaro.org; helo=mail-wr1-x431.google.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, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, 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: Alistair Francis <alistair.francis@wdc.com>\n\nWhen writing to rv_timer.CTRL after setting the compare values the timer\ndoesn't fire as we don't update the interrupts. Ensure we update the\ninterrupts after a write to the rv_timer.CTRL register.\n\nResolves: https://gitlab.com/qemu-project/qemu/-/work_items/2796\nSigned-off-by: Alistair Francis <alistair.francis@wdc.com>\nReviewed-by: Chao Liu <chao.liu.zevorn@gmail.com>\nReviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>\nReviewed-by: Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>\nReviewed-by: Nutty Liu <nutty.liu@hotmail.com>\nMessage-ID: <20260407043614.372871-5-alistair.francis@wdc.com>\nSigned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\n---\n hw/timer/ibex_timer.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/hw/timer/ibex_timer.c b/hw/timer/ibex_timer.c\nindex 0f12531934d..571633803d0 100644\n--- a/hw/timer/ibex_timer.c\n+++ b/hw/timer/ibex_timer.c\n@@ -193,6 +193,7 @@ static void ibex_timer_write(void *opaque, hwaddr addr,\n         break;\n     case R_CTRL:\n         s->timer_ctrl = val;\n+        ibex_timer_update_irqs(s);\n         break;\n     case R_CFG0:\n         qemu_log_mask(LOG_UNIMP, \"Changing prescale or step not supported\");\n",
    "prefixes": [
        "PULL",
        "2/4"
    ]
}