get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2194137,
    "url": "http://patchwork.ozlabs.org/api/patches/2194137/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260206214448.22008-21-philmd@linaro.org/",
    "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": "<20260206214448.22008-21-philmd@linaro.org>",
    "list_archive_url": null,
    "date": "2026-02-06T21:44:38",
    "name": "[PULL,20/30] hw/intc/ioapic: Replace legacy st_phys() -> address_space_st()",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "59ea29702092bd43a4655b6d4cff4b947101be47",
    "submitter": {
        "id": 85046,
        "url": "http://patchwork.ozlabs.org/api/people/85046/?format=api",
        "name": "Philippe Mathieu-Daudé",
        "email": "philmd@linaro.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260206214448.22008-21-philmd@linaro.org/mbox/",
    "series": [
        {
            "id": 491339,
            "url": "http://patchwork.ozlabs.org/api/series/491339/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=491339",
            "date": "2026-02-06T21:44:19",
            "name": "[PULL,01/30] riscv64/test_boston.py: fix intermitent test timeout",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491339/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194137/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194137/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=S2zdi/54;\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 4f776C2rs5z1xvW\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 07 Feb 2026 08:49:39 +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 1voTh1-0001Mi-5D; Fri, 06 Feb 2026 16:48:47 -0500",
            "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 <philmd@linaro.org>) id 1voTfP-0007CO-IB\n for qemu-devel@nongnu.org; Fri, 06 Feb 2026 16:47:07 -0500",
            "from mail-wr1-x433.google.com ([2a00:1450:4864:20::433])\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 1voTfN-0002kH-QU\n for qemu-devel@nongnu.org; Fri, 06 Feb 2026 16:47:07 -0500",
            "by mail-wr1-x433.google.com with SMTP id\n ffacd0b85a97d-4362cdf1d5aso905570f8f.0\n for <qemu-devel@nongnu.org>; Fri, 06 Feb 2026 13:47:05 -0800 (PST)",
            "from localhost.localdomain (88-187-86-199.subs.proxad.net.\n [88.187.86.199]) by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-4362974b176sm7902373f8f.37.2026.02.06.13.47.03\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Fri, 06 Feb 2026 13:47:03 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1770414424; x=1771019224; 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=uOxfqhX5weYKm/5VH7kGCYrhfAXwgGoppwfJHJGwlCA=;\n b=S2zdi/54fl9vtchGbHPXh3uqoZcEFDlaXJYHShsGbRaFf3VgJ9py53/MdS8OffeahW\n EBAfXxqr/nGiMTvblPgINaUnJaUmPinyDzF6OJWJukFSXA7QoMxSadIoPa3G4y23Cpnz\n FAXtXUAtUdbnRiX0W02Jz2IuvVYjOnQoQ0ejP1OfGhpgYZpfEtprC4lVSEXKUpHGEOQ3\n mscH2yW/LfoHJRabKFDDGoWu933VYrcKIPnRBzn9FQeODnDxpZALN+FT//ji2rzcQTgD\n pTRIyFwyg/3/lxOti4FEvN0+KcDWLSMUd8roFl7RCVwySGgf0gjtBo6wFaK+cH2/aG0T\n nEAA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770414424; x=1771019224;\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=uOxfqhX5weYKm/5VH7kGCYrhfAXwgGoppwfJHJGwlCA=;\n b=J5IczPVEtcwHPD4EXIofsE/Cb8vGNHjloP7X08dC+jS+l2WlPjYmX06W8nmH3sQnb6\n 5JjqVadHfeE3QwYydytteMV2CkkjYEpYyqVhPRhH8DCsQJuh5Yks2a1j/TkXEAOTUpGD\n Mv21B1apbHMN7X7oS3kSTbA5OP88OdMU1AnGMk41eKziX1QlfTpkFgo+FDkC4CGVrlg6\n blRnnNPMrFbvS9cYfK7a0I1Z1xyZlYPrCfQb4U9qyldpPhuIKCny/rUi5+PwRxuIgxiR\n ffEDdBgTCDCXx+xc9cndwCowgiKeKjV9XL6SMtTzoe9q36xyr1vZ7DCBoBSDipOXkMxl\n pztg==",
        "X-Gm-Message-State": "AOJu0YwWe+5i85DAEFOoCCJs+6267+6mzfzZu4jU/uAJ/nlf6+3KYMoR\n MT52Yf91k8+d98i7ot1Ap3IvdfBLLu5ZZdHOus1mxveTNFM/76pYhE34cUGF2GZRoZ18VGeEQS/\n 6jRhhOnI=",
        "X-Gm-Gg": "AZuq6aLTp/Y6s/zR2z5zOQdcUk5yp6y7r2jcP6p+AzDIkH3c+xSj+0PccIr32uoXsiJ\n I8YOiderQNarSg6pY9WfPU/74juNaByY2k/jYwaUpb2f1U6052zsQrC+pApB1UUncNOUCks28W9\n MpYmDk6du6oqbHIEslrC81Yi/jhXTICbIY0H/cF+GPj49FoRpyjcU1KRrT1v6cVoNmX5PU8Akx9\n VPncJe77O6EMjTTpBBRKY17YPMT5R0lt3PiOR6sTv7JFY2zycYaaj+Ojej6ZXj+QzMj19Zl+hvw\n t1Q2If6G7YYr+WGr3d1ks3FQiPL7/dZyshmYakNfmDErAig0WIr3Bg+IRdm33Zf9cgwuH0Fl9FG\n 9r1e1JDXrtmYBdQDVSdDLxAhwfCYi2bOGMUn0obHZIbiqMzsqUeud5AAklYmO3jBZSAVvAF28hT\n X2/pF7Zs+yvqb3JELsB3ow7miuLm2/n8s7IIrr7N+EGQNT45AZIwlRFpS+T+VZ",
        "X-Received": "by 2002:a05:6000:2307:b0:436:1989:a1ba with SMTP id\n ffacd0b85a97d-4362933be47mr6161161f8f.10.1770414423859;\n Fri, 06 Feb 2026 13:47:03 -0800 (PST)",
        "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "qemu-s390x@nongnu.org",
        "Subject": "[PULL 20/30] hw/intc/ioapic: Replace legacy st_phys() ->\n address_space_st()",
        "Date": "Fri,  6 Feb 2026 22:44:38 +0100",
        "Message-ID": "<20260206214448.22008-21-philmd@linaro.org>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260206214448.22008-1-philmd@linaro.org>",
        "References": "<20260206214448.22008-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::433;\n envelope-from=philmd@linaro.org; helo=mail-wr1-x433.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": "Prefer the address_space_ld/st API over the legacy ld_phys()\nbecause it allow checking for bus access fault. However the\nIOAPIC datasheet (82093AA Order Number: 290566-001) doesn't\nmention any fault occuring when the system bus (ISA bus) is\naccessed. The ISA bus neither offer a way to signal recoverable\naccess faults. Therefore just inline the stl_le_phys() call,\nnot specifying any memory transaction attribute nor expecting\ntransation result, per the definition in\n\"system/memory_ldst_phys_endian.h.inc\":\n\n  42 static inline void ST_PHYS(l)(ARG1_DECL, hwaddr addr, uint32_t val)\n  43 {\n  44     ADDRESS_SPACE_ST(l)(ARG1, addr, val, MEMTXATTRS_UNSPECIFIED, NULL);\n  45 }\n\nNo logical change intended.\n\nSigned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\nReviewed-by: Richard Henderson <richard.henderson@linaro.org>\nMessage-Id: <20260204204103.46343-4-philmd@linaro.org>\n---\n hw/intc/ioapic.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/hw/intc/ioapic.c b/hw/intc/ioapic.c\nindex 87ca1af5421..1b3f1e824ac 100644\n--- a/hw/intc/ioapic.c\n+++ b/hw/intc/ioapic.c\n@@ -141,7 +141,8 @@ static void ioapic_service(IOAPICCommonState *s)\n                  * the IOAPIC message into a MSI one, and its\n                  * address space will decide whether we need a\n                  * translation. */\n-                stl_le_phys(ioapic_as, info.addr, info.data);\n+                address_space_stl_le(ioapic_as, info.addr, info.data,\n+                                     MEMTXATTRS_UNSPECIFIED, NULL);\n             }\n         }\n     }\n",
    "prefixes": [
        "PULL",
        "20/30"
    ]
}