get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2194117,
    "url": "http://patchwork.ozlabs.org/api/patches/2194117/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260206214448.22008-9-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-9-philmd@linaro.org>",
    "list_archive_url": null,
    "date": "2026-02-06T21:44:26",
    "name": "[PULL,08/30] target/s390x: Build system units in common source set",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "72174a93d76e953d1524497f8274b3f8eccda93e",
    "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-9-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/2194117/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194117/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=AWdT/Kfc;\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 4f772w1DyCz1xvW\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 07 Feb 2026 08:46:48 +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 1voTeq-00061F-EN; Fri, 06 Feb 2026 16:46:36 -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 1voTe9-0005Pp-O5\n for qemu-devel@nongnu.org; Fri, 06 Feb 2026 16:45:58 -0500",
            "from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a])\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 1voTe6-0002cH-Gk\n for qemu-devel@nongnu.org; Fri, 06 Feb 2026 16:45:49 -0500",
            "by mail-wr1-x42a.google.com with SMTP id\n ffacd0b85a97d-4362c63531bso792978f8f.0\n for <qemu-devel@nongnu.org>; Fri, 06 Feb 2026 13:45:44 -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-436297460a5sm7785500f8f.32.2026.02.06.13.45.42\n (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256);\n Fri, 06 Feb 2026 13:45:42 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1770414343; x=1771019143; 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=1PCmrkPQJSJTgJNr3W7GtU1KB5rBLUpSrn0Qo7F3DZ4=;\n b=AWdT/Kfcogds4K2aLWc7a7y/ga7Q/WcYEWZu3T6hdtbgUjJWYplx6g7h631kMuUQ7Q\n rfYcxuET6j9GQ9XCg9LM8JvPeOFM/YJ3F2Ii9xl+ksiJ2IJZgSg2uk2IaxrnvAVydx+B\n dRvabJ5wp+E63dYbLD02a+QcNzN9TTekQJNf2jtAs1SxRftmymkHy6jfC9KsuD0cV2wR\n cehkiYjZ3owy7dv1Say8jl5vFl9Glwl81MiYk03kk00L9MqLkyMr73z0R+0ue86bAKo5\n pJbj7aqHti0rZMaKVC4HHza8Eky4wi4RmLsLhrQuYBph8ZiCen5HjWdkq7DRZ9uxQ6X7\n 4iFg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770414343; x=1771019143;\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=1PCmrkPQJSJTgJNr3W7GtU1KB5rBLUp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F0feFeHG2KolSX",
        "X-Received": "by 2002:a05:6000:402a:b0:431:8f8:7f24 with SMTP id\n ffacd0b85a97d-4362937844bmr6232869f8f.39.1770414342985;\n Fri, 06 Feb 2026 13:45:42 -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 08/30] target/s390x: Build system units in common source set",
        "Date": "Fri,  6 Feb 2026 22:44:26 +0100",
        "Message-ID": "<20260206214448.22008-9-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::42a;\n envelope-from=philmd@linaro.org; helo=mail-wr1-x42a.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": "Except the ioinst.c file which uses the TARGET_PAGE_SIZE\ndefinition in the ioinst_handle_chsc() method, all other\nfiles in meson's s390x_system_ss[] source set don't use\nany target-specific code. Moving them in the other\ns390x_common_system_ss[] set to build as common objects\nensures these files won't use any target-specific API\nsuch target_ulong / TARGET_PAGE_SIZE, thus forcing to use\nthe appropriate types instead (such vaddr, hwaddr, uint64_t,\n...).\n\nSigned-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>\nReviewed-by: Thomas Huth <thuth@redhat.com>\nMessage-Id: <20260206181953.18683-8-philmd@linaro.org>\n---\n target/s390x/meson.build     | 8 +++++++-\n target/s390x/tcg/meson.build | 2 +-\n 2 files changed, 8 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/target/s390x/meson.build b/target/s390x/meson.build\nindex 3b34ae034cb..096b7dcc42e 100644\n--- a/target/s390x/meson.build\n+++ b/target/s390x/meson.build\n@@ -20,10 +20,15 @@ s390x_ss.add(gen_features_h)\n \n s390x_system_ss = ss.source_set()\n s390x_system_ss.add(files(\n+  'ioinst.c',\n+))\n+\n+s390x_common_system_ss = ss.source_set()\n+s390x_common_system_ss.add(gen_features_h)\n+s390x_common_system_ss.add(files(\n   'helper.c',\n   'arch_dump.c',\n   'diag.c',\n-  'ioinst.c',\n   'machine.c',\n   'mmu_helper.c',\n   'sigp.c',\n@@ -41,4 +46,5 @@ subdir('kvm')\n \n target_arch += {'s390x': s390x_ss}\n target_system_arch += {'s390x': s390x_system_ss}\n+target_common_system_arch += {'s390x': s390x_common_system_ss}\n target_user_arch += {'s390x': s390x_user_ss}\ndiff --git a/target/s390x/tcg/meson.build b/target/s390x/tcg/meson.build\nindex 515cb8b473d..17c9374d09e 100644\n--- a/target/s390x/tcg/meson.build\n+++ b/target/s390x/tcg/meson.build\n@@ -12,6 +12,6 @@ s390x_ss.add(when: 'CONFIG_TCG', if_true: files(\n   'vec_int_helper.c',\n   'vec_string_helper.c',\n ))\n-s390x_system_ss.add(when: 'CONFIG_TCG', if_true: files(\n+s390x_common_system_ss.add(when: 'CONFIG_TCG', if_true: files(\n   'debug.c',\n ))\n",
    "prefixes": [
        "PULL",
        "08/30"
    ]
}