get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2234260,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2234260/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260507134709.70507-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": "<20260507134709.70507-3-philmd@linaro.org>",
    "list_archive_url": null,
    "date": "2026-05-07T13:47:09",
    "name": "[2/2] target/arm: Extract IDAU interface to its own unit",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "fad8732c2956fa4eabce7c75fd51dde75a72e0d3",
    "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/20260507134709.70507-3-philmd@linaro.org/mbox/",
    "series": [
        {
            "id": 503185,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/503185/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=503185",
            "date": "2026-05-07T13:47:07",
            "name": "target/arm: Extract IDAU interface to its own unit",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/503185/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2234260/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2234260/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=Xyl6YXSz;\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=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from lists1p.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 4gBD8p379Dz1yM5\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 07 May 2026 23:47:54 +1000 (AEST)",
            "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wKz4m-0007to-1Q; Thu, 07 May 2026 09:47:40 -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 1wKz4b-0007rR-9b\n for qemu-devel@nongnu.org; Thu, 07 May 2026 09:47:31 -0400",
            "from mail-wm1-x334.google.com ([2a00:1450:4864:20::334])\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 1wKz4Z-0004T6-9K\n for qemu-devel@nongnu.org; Thu, 07 May 2026 09:47:28 -0400",
            "by mail-wm1-x334.google.com with SMTP id\n 5b1f17b1804b1-488a8ca4aadso8390295e9.3\n for <qemu-devel@nongnu.org>; Thu, 07 May 2026 06:47:26 -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 5b1f17b1804b1-48e53891d62sm200348655e9.1.2026.05.07.06.47.24\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Thu, 07 May 2026 06:47:24 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1778161645; x=1778766445; 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=q9chL/SLwUMeu/2j+R75W2A1pHuRpO6RtXQfsY6XREY=;\n b=Xyl6YXSz1Q+5iVz9eLoTbjSrRzZ2qayN7VAq10jx5pFh7gYiEpxj5iWt9oGETJSFrK\n qiCardtFl+dV8GrkNCdsLe08N4Bjr17cQmJxE2JJEBBvVusJkUFjk+/paOacr65MbhHa\n vy7HF5nGFY7LgPPB4CKgbuAMY5CbKbNswBh5wLNPvwOWdq9TjVqjyBSycXOFudu7qjb6\n 7NmzxIdbTIq8iXwOraP+55zDIAqpZ5vlQehgzthjWPNpp5DcwsXdEu8MKpO8yIYAbA7z\n vO89JuCSMI/X1hN6uQTJUXNwPXQ7BAdK5b7mvBFDyQVQB3wynHcaTtOxvPrNk28WlWhQ\n ulQg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778161645; x=1778766445;\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=q9chL/SLwUMeu/2j+R75W2A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rVy13sDbo3\n S7V86ew34w=",
        "X-Received": "by 2002:a05:600c:354b:b0:488:ab26:8fe0 with SMTP id\n 5b1f17b1804b1-48e51f32bdemr132794885e9.15.1778161645105;\n Thu, 07 May 2026 06:47:25 -0700 (PDT)",
        "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>, qemu-arm@nongnu.org,\n Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Philippe_Mathieu-Daud?=\n\t=?utf-8?q?=C3=A9?= <philmd@linaro.org>",
        "Subject": "[PATCH 2/2] target/arm: Extract IDAU interface to its own unit",
        "Date": "Thu,  7 May 2026 15:47:09 +0200",
        "Message-ID": "<20260507134709.70507-3-philmd@linaro.org>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260507134709.70507-1-philmd@linaro.org>",
        "References": "<20260507134709.70507-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::334;\n envelope-from=philmd@linaro.org; helo=mail-wm1-x334.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": "Move IDAU TypeInfo structure to its own source file and\nbuild it once as common ARM object.\n\nSigned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\n---\n include/hw/arm/armv7m.h     |  2 +-\n include/hw/misc/tz-msc.h    |  2 +-\n target/arm/{ => tcg}/idau.h |  0\n hw/arm/armv7m.c             |  2 +-\n target/arm/cpu.c            |  2 +-\n target/arm/ptw.c            |  2 +-\n target/arm/tcg/cpu32.c      |  8 --------\n target/arm/tcg/idau.c       | 20 ++++++++++++++++++++\n target/arm/tcg/meson.build  |  1 +\n 9 files changed, 26 insertions(+), 13 deletions(-)\n rename target/arm/{ => tcg}/idau.h (100%)\n create mode 100644 target/arm/tcg/idau.c",
    "diff": "diff --git a/include/hw/arm/armv7m.h b/include/hw/arm/armv7m.h\nindex 98ad08db036..70555962bb9 100644\n--- a/include/hw/arm/armv7m.h\n+++ b/include/hw/arm/armv7m.h\n@@ -13,7 +13,7 @@\n #include \"hw/core/sysbus.h\"\n #include \"hw/intc/armv7m_nvic.h\"\n #include \"hw/misc/armv7m_ras.h\"\n-#include \"target/arm/idau.h\"\n+#include \"target/arm/tcg/idau.h\"\n #include \"qom/object.h\"\n #include \"hw/core/clock.h\"\n \ndiff --git a/include/hw/misc/tz-msc.h b/include/hw/misc/tz-msc.h\nindex 07112d8caa3..6cf4c6b09eb 100644\n--- a/include/hw/misc/tz-msc.h\n+++ b/include/hw/misc/tz-msc.h\n@@ -51,7 +51,7 @@\n #define TZ_MSC_H\n \n #include \"hw/core/sysbus.h\"\n-#include \"target/arm/idau.h\"\n+#include \"target/arm/tcg/idau.h\"\n #include \"qom/object.h\"\n \n #define TYPE_TZ_MSC \"tz-msc\"\ndiff --git a/target/arm/idau.h b/target/arm/tcg/idau.h\nsimilarity index 100%\nrename from target/arm/idau.h\nrename to target/arm/tcg/idau.h\ndiff --git a/hw/arm/armv7m.c b/hw/arm/armv7m.c\nindex a29eab6c915..68a1cbd6316 100644\n--- a/hw/arm/armv7m.c\n+++ b/hw/arm/armv7m.c\n@@ -20,7 +20,7 @@\n #include \"qemu/error-report.h\"\n #include \"qemu/module.h\"\n #include \"qemu/log.h\"\n-#include \"target/arm/idau.h\"\n+#include \"target/arm/tcg/idau.h\"\n #include \"target/arm/cpu.h\"\n #include \"target/arm/cpu-features.h\"\n #include \"target/arm/cpu-qom.h\"\ndiff --git a/target/arm/cpu.c b/target/arm/cpu.c\nindex d670ffe4de0..7b29532e6ee 100644\n--- a/target/arm/cpu.c\n+++ b/target/arm/cpu.c\n@@ -24,7 +24,7 @@\n #include \"qemu/log.h\"\n #include \"exec/page-vary.h\"\n #include \"system/whpx.h\"\n-#include \"target/arm/idau.h\"\n+#include \"target/arm/tcg/idau.h\"\n #include \"qemu/module.h\"\n #include \"qapi/error.h\"\n #include \"cpu.h\"\ndiff --git a/target/arm/ptw.c b/target/arm/ptw.c\nindex 316e201cfe0..ff7b7a4d0c8 100644\n--- a/target/arm/ptw.c\n+++ b/target/arm/ptw.c\n@@ -17,7 +17,7 @@\n #include \"cpu.h\"\n #include \"internals.h\"\n #include \"cpu-features.h\"\n-#include \"idau.h\"\n+#include \"target/arm/tcg/idau.h\"\n \n typedef struct S1Translate {\n     /*\ndiff --git a/target/arm/tcg/cpu32.c b/target/arm/tcg/cpu32.c\nindex 2127d456ad6..73d21c6cf7d 100644\n--- a/target/arm/tcg/cpu32.c\n+++ b/target/arm/tcg/cpu32.c\n@@ -12,7 +12,6 @@\n #include \"cpu.h\"\n #include \"accel/tcg/cpu-ops.h\"\n #include \"internals.h\"\n-#include \"target/arm/idau.h\"\n #if !defined(CONFIG_USER_ONLY)\n #include \"hw/core/boards.h\"\n #endif\n@@ -899,17 +898,10 @@ static const ARMCPUInfo arm_tcg_cpus[] = {\n #endif\n };\n \n-static const TypeInfo idau_interface_type_info = {\n-    .name = TYPE_IDAU_INTERFACE,\n-    .parent = TYPE_INTERFACE,\n-    .class_size = sizeof(IDAUInterfaceClass),\n-};\n-\n static void arm_tcg_cpu_register_types(void)\n {\n     size_t i;\n \n-    type_register_static(&idau_interface_type_info);\n     for (i = 0; i < ARRAY_SIZE(arm_tcg_cpus); ++i) {\n         arm_cpu_register(&arm_tcg_cpus[i]);\n     }\ndiff --git a/target/arm/tcg/idau.c b/target/arm/tcg/idau.c\nnew file mode 100644\nindex 00000000000..57e5c658e9d\n--- /dev/null\n+++ b/target/arm/tcg/idau.c\n@@ -0,0 +1,20 @@\n+/*\n+ * QEMU ARM CPU -- interface for the Arm v8M IDAU\n+ *\n+ * Copyright (c) 2018 Linaro Ltd\n+ *\n+ * SPDX-License-Identifier: GPL-2.0-or-later\n+ */\n+\n+#include \"qemu/osdep.h\"\n+#include \"target/arm/tcg/idau.h\"\n+\n+static const TypeInfo idau_types[] = {\n+    {\n+        .name       = TYPE_IDAU_INTERFACE,\n+        .parent     = TYPE_INTERFACE,\n+        .class_size = sizeof(IDAUInterfaceClass),\n+    }\n+};\n+\n+DEFINE_TYPES(idau_types)\ndiff --git a/target/arm/tcg/meson.build b/target/arm/tcg/meson.build\nindex d2364aa39c4..fa1e3d6640c 100644\n--- a/target/arm/tcg/meson.build\n+++ b/target/arm/tcg/meson.build\n@@ -56,6 +56,7 @@ arm_common_ss.add(zlib)\n arm_common_ss.add(files(\n   'arith_helper.c',\n   'crypto_helper.c',\n+  'idau.c',\n ))\n \n arm_common_system_ss.add(\n",
    "prefixes": [
        "2/2"
    ]
}