get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2228150,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2228150/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260425131721.932250-12-joel@jms.id.au/",
    "project": {
        "id": 14,
        "url": "http://patchwork.ozlabs.org/api/1.1/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": ""
    },
    "msgid": "<20260425131721.932250-12-joel@jms.id.au>",
    "date": "2026-04-25T13:17:17",
    "name": "[v4,11/13] tests/functional/riscv64: Add tt-atlantis tests",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "fe20e56fd73dd8d18fb2b957019094d3f48d1326",
    "submitter": {
        "id": 48628,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/48628/?format=api",
        "name": "Joel Stanley",
        "email": "joel@jms.id.au"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260425131721.932250-12-joel@jms.id.au/mbox/",
    "series": [
        {
            "id": 501439,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501439/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=501439",
            "date": "2026-04-25T13:17:08",
            "name": "hw/riscv: Add the Tenstorrent Atlantis machine",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/501439/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2228150/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2228150/checks/",
    "tags": {},
    "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=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=hDL5E6IG;\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 4g2r6q0lKdz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 25 Apr 2026 23:20:35 +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 1wGcuZ-0007VT-MT; Sat, 25 Apr 2026 09:19:07 -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 <joel.stan@gmail.com>)\n id 1wGcuY-0007Uo-8S\n for qemu-devel@nongnu.org; Sat, 25 Apr 2026 09:19:06 -0400",
            "from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <joel.stan@gmail.com>)\n id 1wGcuW-0000Iy-F3\n for qemu-devel@nongnu.org; Sat, 25 Apr 2026 09:19:06 -0400",
            "by mail-pf1-x42c.google.com with SMTP id\n d2e1a72fcca58-82f69a286dbso6647625b3a.2\n for <qemu-devel@nongnu.org>; Sat, 25 Apr 2026 06:19:04 -0700 (PDT)",
            "from donnager-debian.. ([45.124.203.19])\n by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82f8e9f7735sm26898866b3a.21.2026.04.25.06.18.57\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 25 Apr 2026 06:19:02 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777123143; x=1777727943; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date\n :message-id:reply-to;\n bh=L96ytGhBLABpw2IZylcy/zQEaxsFjn/Yuu5E+/yR5VY=;\n b=hDL5E6IGS6ZE4gsiaQ9Hc7+BZxaJEEJ6sU2E8tG/SIllpaSp6+H2W25VklzXvd7FTy\n J7fuweRGSMAWraqP2ZxHbtRX6ycFVijzKaQE8AAgDvO048kvtmFmP5VtFHFJ4v8H7jO1\n LyuvH1ADxPfqPbzf83cm7c5+zSAqTnlZng7bXGLKST81wEcLBnqh/8qH4qxT86B/Lkhy\n WkcTyxYirtkzt6TPtJZo90cZA24Im045emc+pi8Z/RRehRuABP4Eeeuh9BdLwIQLBfdR\n gc0eQB5AeM8f2KeeSl7dz3p98jGtOS6WLTDbN+aZG7jfTsEJs2k2hWUrNVXENPiiPvZI\n VsgQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777123143; x=1777727943;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:sender:x-gm-gg\n :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n bh=L96ytGhBLABpw2IZylcy/zQEaxsFjn/Yuu5E+/yR5VY=;\n b=AQGmPZOD9ljhdRe+Is/UluISEdUJk8xciekTCsBPvTTMreeVClq9Vzqa6huxo2LeQd\n zwkB+kaket0zUxEgFgQEm4F91IFMMa+rOFYXpg+kt0hWd+IE+4vv6tIcjjsY8UpwT8Sa\n VWNbEQHMok+rpihHLXa1AAbjx4KPYCNLnpxdP8Jpkxs6CwBPHlpXS+N6Y290DRv/xzIJ\n 3yNVRN5wtR2rnSBebqGTd17dIjtP27vjaKxDIkxfJafG4zkS1Zsdd67Meqg5xv8+KhLM\n uyxepu9whi6DPOLs7OPLysIUgV4qxnuyrKYXYlsJERQQ6pO4VyDeRfjNAQEmKKoaIxUC\n achg==",
        "X-Forwarded-Encrypted": "i=1;\n AFNElJ/EhP1O8gIJb/1tBTWXLUOQXqoghCJx8iGrMoFORFtvArnuoGG+l96LdpHPQm1UbcTCRBGwnsvJrzs2@nongnu.org",
        "X-Gm-Message-State": "AOJu0YwfhvHXGNSVmi35dGy74R9lVhEwOSyNOrOiadqtlsgPzHhYu34h\n 3YpJ3Gvvs8SNc6jQMcduOeALx6qMnC8InIwP7XFgeMbjvXf2nEyAzSPa",
        "X-Gm-Gg": "AeBDieuXX/TJsESUBoPgx4CRcKZYxDQglwpy0yl0JysgrOn89T7EYnJsMtftH/nkgiM\n UDsjYSzfv5gAhz6r2Z1FJorl0Z5BLtYERkgLTBbrZtpysd3cxr3e8s7abwBOEBLvJ3U7oCI821E\n WsL/MOXE3nrYiJ5npc14+fnBivRJ0AEoGJmjHiVKGod1kHsZMalq7hrhbvR7gJfEsNdWW/YUv1T\n mRIjdYA/R6Ffst1HW2d0gfjXiWaJyCCHauFXJ5Li5n0AOnQigNK9yDmlB90iTo+pymnxeDFHPZD\n uzSU/Gh8e4CrYN7AYLB5ZVvsqdUpYl072aJLL2spYzLyRBR9PqK+0IK/hvryof4vmHoiZTRHIrS\n bC5cKpIIvXX0IlP37rorLTswLk9tKhT2bqaJa3Z8lsZpTvBQUQsF9gfVaoT1w+IqN0slUiGDVct\n +i0wt3ItVFfeKi0MrVuFXmM3omQ0cJ6EvekCbrAN/SrN7lqI1jk2S2f/4rLT/bIXdbhuVaM3Sq1\n GogTTIffwtv/tlfoTBAvck04J1Dfaeo",
        "X-Received": "by 2002:a05:6a00:1995:b0:82a:6ef8:cb43 with SMTP id\n d2e1a72fcca58-82f8c84b34emr37955098b3a.19.1777123143028;\n Sat, 25 Apr 2026 06:19:03 -0700 (PDT)",
        "From": "Joel Stanley <joel@jms.id.au>",
        "To": "Alistair Francis <alistair.francis@wdc.com>,\n Daniel Henrique Barboza <daniel.barboza@oss.qualcomm.com>",
        "Cc": "Chao Liu <chao.liu.zevorn@gmail.com>, Nicholas Piggin <npiggin@gmail.com>,\n Michael Ellerman <mpe@kernel.org>, Joel Stanley <jms@oss.tenstorrent.com>,\n Anirudh Srinivasan <asrinivasan@oss.tenstorrent.com>,\n Portia Stephens <portias@oss.tenstorrent.com>, qemu-riscv@nongnu.org,\n qemu-devel@nongnu.org,\n =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>",
        "Subject": "[PATCH v4 11/13] tests/functional/riscv64: Add tt-atlantis tests",
        "Date": "Sat, 25 Apr 2026 23:17:17 +1000",
        "Message-ID": "<20260425131721.932250-12-joel@jms.id.au>",
        "X-Mailer": "git-send-email 2.47.3",
        "In-Reply-To": "<20260425131721.932250-1-joel@jms.id.au>",
        "References": "<20260425131721.932250-1-joel@jms.id.au>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=2607:f8b0:4864:20::42c;\n envelope-from=joel.stan@gmail.com; helo=mail-pf1-x42c.google.com",
        "X-Spam_score_int": "-16",
        "X-Spam_score": "-1.7",
        "X-Spam_bar": "-",
        "X-Spam_report": "(-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,\n FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n 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": "From: Nicholas Piggin <npiggin@gmail.com>\n\nAdd OpenSBI and Linux boot tests for the tt-atlantis machine. Based on\ntests/functional/riscv64/test_sifive_u.py.\n\nSigned-off-by: Nicholas Piggin <npiggin@gmail.com>\nReviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>\nSigned-off-by: Joel Stanley <joel@jms.id.au>\n---\nv4: Remove unnecessary  os.remove(rootfs_path)\nv3:\n - Fix path to test files\n - Dedupe command line root argument\n - Remove unused import\n---\n MAINTAINERS                                  |  1 +\n tests/functional/riscv64/meson.build         |  1 +\n tests/functional/riscv64/test_opensbi.py     |  4 ++\n tests/functional/riscv64/test_tt_atlantis.py | 59 ++++++++++++++++++++\n 4 files changed, 65 insertions(+)\n create mode 100755 tests/functional/riscv64/test_tt_atlantis.py",
    "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex 635a380945fd..9622ffc9edb2 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -1770,6 +1770,7 @@ F: docs/system/riscv/tt_*.rst\n F: hw/riscv/tt_*.c\n F: hw/riscv/aia.[ch]\n F: include/hw/riscv/tt_*.h\n+F: tests/functional/riscv64/test_tt_*.py\n \n AMD Microblaze-V Generic Board\n M: Sai Pavan Boddu <sai.pavan.boddu@amd.com>\ndiff --git a/tests/functional/riscv64/meson.build b/tests/functional/riscv64/meson.build\nindex b996c89d7df9..c4456fabd757 100644\n--- a/tests/functional/riscv64/meson.build\n+++ b/tests/functional/riscv64/meson.build\n@@ -13,5 +13,6 @@ tests_riscv64_system_quick = [\n tests_riscv64_system_thorough = [\n   'boston',\n   'sifive_u',\n+  'tt_atlantis',\n   'tuxrun',\n ]\ndiff --git a/tests/functional/riscv64/test_opensbi.py b/tests/functional/riscv64/test_opensbi.py\nindex d077e40f4278..0f8beb7e7a8c 100755\n--- a/tests/functional/riscv64/test_opensbi.py\n+++ b/tests/functional/riscv64/test_opensbi.py\n@@ -28,6 +28,10 @@ def test_riscv_sifive_u(self):\n         self.set_machine('sifive_u')\n         self.boot_opensbi()\n \n+    def test_riscv_tt_atlantis(self):\n+        self.set_machine('tt-atlantis')\n+        self.boot_opensbi()\n+\n     def test_riscv_virt(self):\n         self.set_machine('virt')\n         self.boot_opensbi()\ndiff --git a/tests/functional/riscv64/test_tt_atlantis.py b/tests/functional/riscv64/test_tt_atlantis.py\nnew file mode 100755\nindex 000000000000..ce6e7fc63e34\n--- /dev/null\n+++ b/tests/functional/riscv64/test_tt_atlantis.py\n@@ -0,0 +1,59 @@\n+#!/usr/bin/env python3\n+#\n+# Functional test that boots a Linux kernel on a Tenstorrent Atlantis machine\n+# and checks the console\n+#\n+# Copyright (c) Linaro Ltd.\n+# Copyright 2026 Tenstorrent\n+#\n+# SPDX-License-Identifier: GPL-2.0-or-later\n+\n+from qemu_test import Asset, LinuxKernelTest\n+\n+\n+class TTAtlantis(LinuxKernelTest):\n+\n+    ASSET_KERNEL = Asset(\n+        'https://storage.tuxboot.com/kernels/6.11.9/riscv64/Image',\n+        '174f8bb87f08961e54fa3fcd954a8e31f4645f6d6af4dd43983d5e9841490fb0')\n+    ASSET_ROOTFS = Asset(\n+        ('https://github.com/groeck/linux-build-test/raw/'\n+         '9819da19e6eef291686fdd7b029ea00e764dc62f/rootfs/riscv64/'\n+         'rootfs.ext2.gz'),\n+        'b6ed95610310b7956f9bf20c4c9c0c05fea647900df441da9dfe767d24e8b28b')\n+\n+    def do_test_riscv64_tt_atlantis(self, connect_disk):\n+        self.set_machine('tt-atlantis')\n+        kernel_path = self.ASSET_KERNEL.fetch()\n+        rootfs_path = self.uncompress(self.ASSET_ROOTFS)\n+\n+        self.vm.set_console()\n+        kernel_command_line = self.KERNEL_COMMON_COMMAND_LINE + 'earlycon=sbi '\n+\n+        if connect_disk:\n+            kernel_command_line += 'root=/dev/vda panic=-1 noreboot rootwait '\n+            self.vm.add_args('-device',\n+                             'virtio-blk,drive=drive0,serial=0x1234,bus=pcie.0')\n+            self.vm.add_args('-drive',\n+                             f'file={rootfs_path},if=none,id=drive0,format=raw')\n+            pattern = 'Boot successful.'\n+        else:\n+            kernel_command_line += 'panic=0 noreboot '\n+            pattern = 'Cannot open root device'\n+\n+        self.vm.add_args('-kernel', kernel_path,\n+                         '-append', kernel_command_line,\n+                         '-no-reboot')\n+\n+        self.vm.launch()\n+        self.wait_for_console_pattern(pattern)\n+\n+    def test_riscv64_tt_atlantis(self):\n+        self.do_test_riscv64_tt_atlantis(False)\n+\n+    def test_riscv64_tt_atlantis_disk(self):\n+        self.do_test_riscv64_tt_atlantis(True)\n+\n+\n+if __name__ == '__main__':\n+    LinuxKernelTest.main()\n",
    "prefixes": [
        "v4",
        "11/13"
    ]
}