get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217898,
    "url": "http://patchwork.ozlabs.org/api/patches/2217898/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260330211859.19317-3-deller@kernel.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": "<20260330211859.19317-3-deller@kernel.org>",
    "list_archive_url": null,
    "date": "2026-03-30T21:18:49",
    "name": "[02/11] hw/hppa: Disable Artist graphics card on 64-bit machines",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "7bda76c5c2fb276f896f086693a291dc4c2d04d0",
    "submitter": {
        "id": 87076,
        "url": "http://patchwork.ozlabs.org/api/people/87076/?format=api",
        "name": "Helge Deller",
        "email": "deller@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260330211859.19317-3-deller@kernel.org/mbox/",
    "series": [
        {
            "id": 498097,
            "url": "http://patchwork.ozlabs.org/api/series/498097/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=498097",
            "date": "2026-03-30T21:18:54",
            "name": "HPPA Patches for qemu-v11",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498097/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217898/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217898/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=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=RNntecLi;\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 4fl41J2ctBz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 31 Mar 2026 08:21:08 +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 1w7K0r-0000mh-Hz; Mon, 30 Mar 2026 17:19:09 -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 <deller@kernel.org>) id 1w7K0q-0000mC-DK\n for qemu-devel@nongnu.org; Mon, 30 Mar 2026 17:19:08 -0400",
            "from tor.source.kernel.org ([172.105.4.254])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <deller@kernel.org>) id 1w7K0n-0003i5-IH\n for qemu-devel@nongnu.org; Mon, 30 Mar 2026 17:19:08 -0400",
            "from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58])\n by tor.source.kernel.org (Postfix) with ESMTP id C2C1A6013C;\n Mon, 30 Mar 2026 21:19:04 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 9BEC4C4CEF7;\n Mon, 30 Mar 2026 21:19:03 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n s=k20201202; t=1774905544;\n bh=vnvUz445Ezf/ayCp3s3+xZTULkEUm1mH6fmU65wFVRs=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=RNntecLiKJLF6r3C/Gr+ObyNGpJLj0rdxC4+ZIMxIIiqJuzLwbxxso9GEHSGDOwlA\n eazmYjVjYsA269nQPbe9dPoK6Q+Lfc2KyZABFe7d/PKVs0xdb9eeckaaocQ/PYyCPw\n v7JIVgZMQo+WBQCAEUYpZG0WwaLrg5LY9366Ktmt4BgQKBuAr6ZC/qZoofg8wEu7kD\n 9C565EfZz9OBSklWo5IPpRxNWJnf6KKDNj/dGtsJmjodfJ4+hroLax7ux2PKSsEmAq\n obXOWlkt+02g6WtteuoH+B4aJk4Bqfw/1EomhEyfW04LgoZeV7vNogiQl6V/5g4vac\n OOUa1QiyS77+g==",
        "From": "Helge Deller <deller@kernel.org>",
        "To": "qemu-devel@nongnu.org",
        "Cc": "deller@gmx.de,\n\tRichard Henderson <richard.henderson@linaro.org>",
        "Subject": "[PATCH 02/11] hw/hppa: Disable Artist graphics card on 64-bit\n machines",
        "Date": "Mon, 30 Mar 2026 23:18:49 +0200",
        "Message-ID": "<20260330211859.19317-3-deller@kernel.org>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260330211859.19317-1-deller@kernel.org>",
        "References": "<20260330211859.19317-1-deller@kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Received-SPF": "pass client-ip=172.105.4.254; envelope-from=deller@kernel.org;\n helo=tor.source.kernel.org",
        "X-Spam_score_int": "-5",
        "X-Spam_score": "-0.6",
        "X-Spam_bar": "/",
        "X-Spam_report": "(-0.6 / 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_VALIDITY_CERTIFIED_BLOCKED=1, RCVD_IN_VALIDITY_RPBL_BLOCKED=1,\n SPF_HELO_NONE=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": "From: Helge Deller <deller@gmx.de>\n\nThe original Artist graphics used the GSC bus, was often installed in old\n32-bit machines (e.g. 715) and can not be used on 64-bit machines.\nThis is why this patch makes the artist driver dependend on the Lasi chip,\nwhich was never used in a 64-bit machine.\n\nNote that there exists a variant of Artist for the PCI-bus (Visualize-EG PCI).\nIt has quite some differences in the registers, and would require that we write\na PCI ROM for it, so that Linux and HP-UX would be able to use it.\n\nInstead, for now, users can simply use a standard VGA or ATI PCI graphics card\non Linux.  This can be enabled on the command line with \"-device ati-vga\" or\n\"-device VGA\".  If the \"-nographic\" option is omitted, a PCI OCHI controller\nwith USB keyboard and USB mouse will be added automatically.\n\nThis fixes graphics support on 64-bit hppa machines and allows us to boot up a\n64-bit Linux installation with VGA graphics.\n\nSigned-off-by: Helge Deller <deller@gmx.de>\n---\n hw/hppa/machine.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c\nindex 3663bac53b..58e76bee2e 100644\n--- a/hw/hppa/machine.c\n+++ b/hw/hppa/machine.c\n@@ -384,7 +384,8 @@ static void machine_HP_common_init_tail(MachineState *machine, PCIBus *pci_bus,\n     SysBusDevice *s;\n \n     /* Graphics setup. */\n-    if (machine->enable_graphics && vga_interface_type != VGA_NONE) {\n+    if (lasi_dev && machine->enable_graphics &&\n+        vga_interface_type != VGA_NONE) {\n         dev = qdev_new(\"artist\");\n         s = SYS_BUS_DEVICE(dev);\n         bool disabled = object_property_get_bool(OBJECT(dev), \"disable\", NULL);\n",
    "prefixes": [
        "02/11"
    ]
}