get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217707,
    "url": "http://patchwork.ozlabs.org/api/patches/2217707/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260330115017.256211-9-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": "<20260330115017.256211-9-pbonzini@redhat.com>",
    "list_archive_url": null,
    "date": "2026-03-30T11:50:12",
    "name": "[PULL,08/12] lsi53c895a: do not do anything else if a reset is requested by writing ISTAT0",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "0cdb50d42da386e10b164e68b9cdd5c46a7cd73c",
    "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/20260330115017.256211-9-pbonzini@redhat.com/mbox/",
    "series": [
        {
            "id": 498008,
            "url": "http://patchwork.ozlabs.org/api/series/498008/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=498008",
            "date": "2026-03-30T11:50:04",
            "name": "[PULL,01/12] meson.build: remove i386-softmmu WHPX support",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498008/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217707/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217707/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=BeZokOkN;\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=qnnJPLfp;\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 4fkqP62nK8z1yG8\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 30 Mar 2026 22:52:26 +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 1w7BA4-0004mN-G0; Mon, 30 Mar 2026 07:52:06 -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 1w7B8u-0003bn-J8\n for qemu-devel@nongnu.org; Mon, 30 Mar 2026 07:50:59 -0400",
            "from us-smtp-delivery-124.mimecast.com ([170.10.133.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 1w7B8s-0005x7-56\n for qemu-devel@nongnu.org; Mon, 30 Mar 2026 07:50:52 -0400",
            "from mail-wr1-f71.google.com (mail-wr1-f71.google.com\n [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-378-4LS_5xVQPNSfAeTGx6issA-1; Mon, 30 Mar 2026 07:50:42 -0400",
            "by mail-wr1-f71.google.com with SMTP id\n ffacd0b85a97d-43cffbe261eso640398f8f.2\n for <qemu-devel@nongnu.org>; Mon, 30 Mar 2026 04:50:41 -0700 (PDT)",
            "from [192.168.10.48] ([151.49.85.67])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43cf2463dc2sm18578176f8f.23.2026.03.30.04.50.37\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 30 Mar 2026 04:50:37 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1774871443;\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 in-reply-to:in-reply-to:references:references;\n bh=+sJu2rHkLQmtf44os66TEn4JFKTj0rKBgEnPKUk/PT8=;\n b=BeZokOkNWkWHELZWLfVcpbi9JZsg2oCq8Ltyy9ZOOtq3+HPQMmff62Gzq5xzEzDryL6ZFM\n JI2NGgPZ1QlFatowOkfUYiqO7eZDj9MR0IaUDUJ4kXX0sznno6/yvGdU7XBBNfZ9Vnr250\n 6Rk+lYSFVS3GXUc+DqXH4rSqLX0Rymw=",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1774871440; x=1775476240; 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=+sJu2rHkLQmtf44os66TEn4JFKTj0rKBgEnPKUk/PT8=;\n b=qnnJPLfpJhjSD4LtO+ZEG+erqNEhqysv6HKKsvUwxzXjuQ3/2q9T09+SlgXG1h+bGp\n CUS4yPhT6N/sf0gm9yCs/PpW8Sf3KKLpOqukz15bUHDSeij8ZjmWLrF00pZ4nS8A0Xrt\n s06pr/xmr14IttVMFsXQohapBUZhD/Jm3a81dXnPtJ1i0wSnTNS9kh+yaw5YuBRgT1tR\n nszE4C7m9w2pLtDfPyAETIHqV0g44SYJz72jxL5ZgfgPQCCQIyFU8GzRFy1IgfxLcIta\n Ro1A1n6IuJ6ZiUaweV679KW+25jKfGXzPV23+4cbLgkRxCfdvh7DzOegubl/4eW854iW\n WnnQ=="
        ],
        "X-MC-Unique": "4LS_5xVQPNSfAeTGx6issA-1",
        "X-Mimecast-MFC-AGG-ID": "4LS_5xVQPNSfAeTGx6issA_1774871441",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774871440; x=1775476240;\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=+sJu2rHkLQmtf44os66TEn4JFKTj0rKBgEnPKUk/PT8=;\n b=cDoTgFcQIT29tdOO2ufJHI+vu3lNf0IzmmJ3t/zd9nOKkArP8LD4tRXthG/i8OrEya\n atMBbVtdL1XwKuCBibwEDgIM4rVxARBCjRKA6nDmsg9zn2M6Ixzp7vvhZRZL/eUmcJqu\n M5CskKGIeG24xE8YIQOyyEt9h2kOfCpwMG722QQAG7kS9zzuEMDWkQEp6d6O1beOaLW8\n cGS920Ms4RXh3RLDE8y0wJmPKga9fTa0h+xa6jm5Nwow9S5vPJXnxr/xwnsdYC4jZSEt\n XWcFTgcOpoKfRrAbmlhIeIjHDn94RX8uzqS7LioHl1PcqcGIx6Bdy5seVCN3r6fudfSc\n y4LQ==",
        "X-Gm-Message-State": "AOJu0Yw2c85UWll2s0dqyihTPTPAFBVbmgVWbsBiFbH6gRRVwTkYYAnf\n 5drEmnaQSb9UQsmbalbRuhq244iQ89bb8ML6tpDhgPtBLC0swOTFRSECIRPg3gmPi9PYYhtj1p+\n tWI6g1iSqV0OptIXaW2uxT9PuSb+y1+/8RDfYLWXbip1YJbVpfh4m0kp1+LIzoLRkMtoe+AN8Ty\n 0EsegGKKtxybYk31GcwS1CAU3iOM/600q4AO1eTAX+",
        "X-Gm-Gg": "ATEYQzyUPA3sxfp5KsL2QTYF8I2WhmeMEd/Qr3bGMV7x6AYyQ1p9XvjLtb+CB62GwOW\n slBTrXh1ouw+oR81/SCodgdBJg3kfueqq1d+mAvc4GuDeQ0hwmOq+j1Cdue45UJ/2AxghVd86+m\n kPRWezVOoCTwBWqQmJbnB1cs0n23SWt2HnZKzGpuUytQ4gigkEONnuJCilFqRQIv3ZvTSekOtwP\n 4gYfZ5Xrzfbf92uSAlB64Dtsphr73t3qzczg2S0N6NPnnSVD5coO02gZtzA6JRJMmh89pNxxmQ3\n 7uuJEevjnVj1DTb1ijmtR9M94EIgal2tSWKFlpqDRLrM5xd55I0mVSrBg4szw9c/FacMB3qObTg\n 8qFERxOsQ+PCnu25oFRKf7H7hct4CGJ1XUGm0gSHKI3w8FJIrM6Redndbfk4f/Q3QGO/S1aXLME\n q0qy2ZMARs0JprGw/4PCCeuXqP",
        "X-Received": [
            "by 2002:a05:6000:26c2:b0:43b:4989:869d with SMTP id\n ffacd0b85a97d-43b9ea4a46dmr19121633f8f.33.1774871439824;\n Mon, 30 Mar 2026 04:50:39 -0700 (PDT)",
            "by 2002:a05:6000:26c2:b0:43b:4989:869d with SMTP id\n ffacd0b85a97d-43b9ea4a46dmr19121592f8f.33.1774871439364;\n Mon, 30 Mar 2026 04:50:39 -0700 (PDT)"
        ],
        "From": "Paolo Bonzini <pbonzini@redhat.com>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "qemu-stable@nongnu.org",
        "Subject": "[PULL 08/12] lsi53c895a: do not do anything else if a reset is\n requested by writing ISTAT0",
        "Date": "Mon, 30 Mar 2026 13:50:12 +0200",
        "Message-ID": "<20260330115017.256211-9-pbonzini@redhat.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260330115017.256211-1-pbonzini@redhat.com>",
        "References": "<20260330115017.256211-1-pbonzini@redhat.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=170.10.133.124;\n envelope-from=pbonzini@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com",
        "X-Spam_score_int": "-6",
        "X-Spam_score": "-0.7",
        "X-Spam_bar": "/",
        "X-Spam_report": "(-0.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.54,\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.01,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=1, RCVD_IN_VALIDITY_RPBL_BLOCKED=1,\n SPF_HELO_PASS=-0.001, 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": "If the device is reset, anything that is done before will not really\nbe visible.  So do the reset and exit immediately if that is one\nof the requests in the value written to ISTAT0.\n\nCc: qemu-stable@nongnu.org\nSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>\n---\n hw/scsi/lsi53c895a.c | 7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c\nindex 90643b26ab8..81b4f93f4d3 100644\n--- a/hw/scsi/lsi53c895a.c\n+++ b/hw/scsi/lsi53c895a.c\n@@ -1949,6 +1949,10 @@ static void lsi_reg_writeb(LSIState *s, int offset, uint8_t val)\n     CASE_SET_REG32(dsa, 0x10)\n     case 0x14: /* ISTAT0 */\n         s->istat0 = (s->istat0 & 0x0f) | (val & 0xf0);\n+        if (val & LSI_ISTAT0_SRST) {\n+            device_cold_reset(DEVICE(s));\n+            return;\n+        }\n         if (val & LSI_ISTAT0_ABRT) {\n             lsi_script_dma_interrupt(s, LSI_DSTAT_ABRT);\n         }\n@@ -1962,9 +1966,6 @@ static void lsi_reg_writeb(LSIState *s, int offset, uint8_t val)\n             s->dsp = s->dnad;\n             lsi_execute_script(s);\n         }\n-        if (val & LSI_ISTAT0_SRST) {\n-            device_cold_reset(DEVICE(s));\n-        }\n         break;\n     case 0x16: /* MBOX0 */\n         s->mbox0 = val;\n",
    "prefixes": [
        "PULL",
        "08/12"
    ]
}