get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2220219,
    "url": "http://patchwork.ozlabs.org/api/patches/2220219/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260406165120.166928-3-wenzhaoliao@ruc.edu.cn/",
    "project": {
        "id": 28,
        "url": "http://patchwork.ozlabs.org/api/projects/28/?format=api",
        "name": "Linux PCI development",
        "link_name": "linux-pci",
        "list_id": "linux-pci.vger.kernel.org",
        "list_email": "linux-pci@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260406165120.166928-3-wenzhaoliao@ruc.edu.cn>",
    "list_archive_url": null,
    "date": "2026-04-06T16:51:16",
    "name": "[RFC,v3,2/6] rust: bindings: expose goldfish address-space headers",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "f69b234eac714c69c53fb5e55aed204946a96689",
    "submitter": {
        "id": 93071,
        "url": "http://patchwork.ozlabs.org/api/people/93071/?format=api",
        "name": "Wenzhao Liao",
        "email": "wenzhaoliao@ruc.edu.cn"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260406165120.166928-3-wenzhaoliao@ruc.edu.cn/mbox/",
    "series": [
        {
            "id": 498880,
            "url": "http://patchwork.ozlabs.org/api/series/498880/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=498880",
            "date": "2026-04-06T16:51:15",
            "name": "Rust goldfish_address_space driver (ioctl-only subset)",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/498880/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2220219/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2220219/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-pci+bounces-51970-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-pci@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=ruc.edu.cn header.i=@ruc.edu.cn header.a=rsa-sha256\n header.s=default header.b=BdXgaili;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-pci+bounces-51970-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=ruc.edu.cn header.i=@ruc.edu.cn\n header.b=\"BdXgaili\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=156.224.83.129",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=ruc.edu.cn",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=ruc.edu.cn"
        ],
        "Received": [
            "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fqG2x0Mmqz1y2d\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 07 Apr 2026 03:07:04 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 9F752301187F\n\tfor <incoming@patchwork.ozlabs.org>; Mon,  6 Apr 2026 17:07:02 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 1935438D001;\n\tMon,  6 Apr 2026 17:07:02 +0000 (UTC)",
            "from mail-m83129.xmail.ntesmail.com (mail-m83129.xmail.ntesmail.com\n [156.224.83.129])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 0FB5E27702D;\n\tMon,  6 Apr 2026 17:06:58 +0000 (UTC)",
            "from lwz.tail698a0e.ts.net\n (gy-adaptive-ssl-proxy-1-entmail-virt204.gy.ntes [36.112.3.244])\n\tby smtp.qiye.163.com (Hmail) with ESMTP id 39aaefbdc;\n\tTue, 7 Apr 2026 00:51:30 +0800 (GMT+08:00)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775495222; cv=none;\n b=MqZOVIlYyG0xl5AgpCtmayfqGf45tLkCc47NDsoeysPWN7FcY3jTs+Km5187++TV5NAXwZILA5RyxHQdOVdudqU7UNIjwLn3ckVPBEnrdTTU6fqspU9QZ/7u+Fb7ZDAYqGRxufESo7GlVlkjILLdDJRim6qmEU/LgtZF+iilYoA=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775495222; c=relaxed/simple;\n\tbh=MyruzAKe4PZJ1OY6Kp5WYJMBUmMjeBtf1hWfM9tLod4=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=DJi5TdKxzW1OfLj8HvSX8wXl0MAEwEZ3IbbdRiFJnRKWFhtZtEsZXWHtQzI0m7jnNX7cEOscpBzbqAMxjRN24qJwcGXfoW6VJLCAJxG6vENTAEp5sdtZ8+mPMZkkuyaEc2BFps/Y5TrEA+WSeGKc/yE8xNAYV7C96fwL5msPPqk=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=ruc.edu.cn;\n spf=pass smtp.mailfrom=ruc.edu.cn;\n dkim=pass (1024-bit key) header.d=ruc.edu.cn header.i=@ruc.edu.cn\n header.b=BdXgaili; arc=none smtp.client-ip=156.224.83.129",
        "From": "Wenzhao Liao <wenzhaoliao@ruc.edu.cn>",
        "To": "rust-for-linux@vger.kernel.org,\n\tlinux-pci@vger.kernel.org",
        "Cc": "ojeda@kernel.org,\n\tdakr@kernel.org,\n\tbhelgaas@google.com,\n\tkwilczynski@kernel.org,\n\tarnd@arndb.de,\n\tgregkh@linuxfoundation.org,\n\tlinux-kernel@vger.kernel.org,\n\tlinux-api@vger.kernel.org",
        "Subject": "[RFC PATCH v3 2/6] rust: bindings: expose goldfish address-space\n headers",
        "Date": "Mon,  6 Apr 2026 12:51:16 -0400",
        "Message-Id": "<20260406165120.166928-3-wenzhaoliao@ruc.edu.cn>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20260406165120.166928-1-wenzhaoliao@ruc.edu.cn>",
        "References": "<cover.1775456181.git.wenzhaoliao@ruc.edu.cn>\n <20260406165120.166928-1-wenzhaoliao@ruc.edu.cn>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-pci@vger.kernel.org",
        "List-Id": "<linux-pci.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-pci+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-pci+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-HM-Tid": "0a9d63b4daed03a2kunm562d3b0d647e6e",
        "X-HM-MType": "10",
        "X-HM-Spam-Status": "e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly\n\ttZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkaShpDVh5KHkpMT0JDQkxLSVYeHw5VEwETFhoSFy\n\tQUDg9ZV1kYEgtZQVlITVVKSklVSFVJT09ZV1kWGg8SFR0UWUFZT0tIVUpLSEpOTE5VSktLVUpCS0\n\ttZBg++",
        "DKIM-Signature": "a=rsa-sha256;\n\tb=BdXgailiNrsn8yC/dq8FY+M6JpXPpASFyXieM45D3hWn/cPVgh/uT2aYXrDL2PHSKx40AcROqNuhlFH7gWL1XsKcz2Unl1hh93gnRVceR384iXFdFyPno6MhLwTtGadoCSjrrLlZtlYZ7WCFPMJf4eJ9FrlDRPiZL1gavm9Ncn4=;\n c=relaxed/relaxed; s=default; d=ruc.edu.cn; v=1;\n\tbh=X16YJLGp7nPhHrC8mDgnpZbzv+DRjBcKHLYYvHcfrz0=;\n\th=date:mime-version:subject:message-id:from;"
    },
    "content": "Expose the UAPI header and the Linux I/O declarations needed by the Rust goldfish address-space driver.\n\nThis keeps the driver-side code on typed Rust interfaces while still allowing the binding and helper layers to see the header and memremap support required by the abstraction patches that follow.\n\nSigned-off-by: Wenzhao Liao <wenzhaoliao@ruc.edu.cn>\n---\n rust/bindings/bindings_helper.h | 1 +\n rust/uapi/uapi_helper.h         | 1 +\n 2 files changed, 2 insertions(+)",
    "diff": "diff --git a/rust/bindings/bindings_helper.h b/rust/bindings/bindings_helper.h\nindex 083cc44aa952..b0baff4c6349 100644\n--- a/rust/bindings/bindings_helper.h\n+++ b/rust/bindings/bindings_helper.h\n@@ -59,6 +59,7 @@\n #include <linux/fs.h>\n #include <linux/i2c.h>\n #include <linux/interrupt.h>\n+#include <linux/io.h>\n #include <linux/io-pgtable.h>\n #include <linux/ioport.h>\n #include <linux/jiffies.h>\ndiff --git a/rust/uapi/uapi_helper.h b/rust/uapi/uapi_helper.h\nindex 06d7d1a2e8da..ff19edab81da 100644\n--- a/rust/uapi/uapi_helper.h\n+++ b/rust/uapi/uapi_helper.h\n@@ -11,6 +11,7 @@\n #include <uapi/drm/nova_drm.h>\n #include <uapi/drm/panthor_drm.h>\n #include <uapi/linux/android/binder.h>\n+#include <uapi/linux/goldfish_address_space.h>\n #include <uapi/linux/mdio.h>\n #include <uapi/linux/mii.h>\n #include <uapi/linux/ethtool.h>\n",
    "prefixes": [
        "RFC",
        "v3",
        "2/6"
    ]
}