get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2226032,
    "url": "http://patchwork.ozlabs.org/api/patches/2226032/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260422023239.1171963-2-mrathor@linux.microsoft.com/",
    "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": "<20260422023239.1171963-2-mrathor@linux.microsoft.com>",
    "list_archive_url": null,
    "date": "2026-04-22T02:32:27",
    "name": "[V1,01/13] iommu/hyperv: rename hyperv-iommu.c to hyperv-irq.c",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "4b8b4daafe1785a769084ae4dbd1fc048e92fea2",
    "submitter": {
        "id": 91512,
        "url": "http://patchwork.ozlabs.org/api/people/91512/?format=api",
        "name": "Mukesh R",
        "email": "mrathor@linux.microsoft.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260422023239.1171963-2-mrathor@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 500915,
            "url": "http://patchwork.ozlabs.org/api/series/500915/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=500915",
            "date": "2026-04-22T02:32:26",
            "name": "PCI passthru on Hyper-V (Part I)",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500915/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2226032/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2226032/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-pci+bounces-52897-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=linux.microsoft.com header.i=@linux.microsoft.com\n header.a=rsa-sha256 header.s=default header.b=PNjDCwQb;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c15:e001:75::12fc:5321; helo=sin.lore.kernel.org;\n envelope-from=linux-pci+bounces-52897-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=linux.microsoft.com\n header.i=@linux.microsoft.com header.b=\"PNjDCwQb\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=13.77.154.182",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linux.microsoft.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=linux.microsoft.com"
        ],
        "Received": [
            "from sin.lore.kernel.org (sin.lore.kernel.org\n [IPv6:2600:3c15:e001:75::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0k280F19z1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 12:39:12 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sin.lore.kernel.org (Postfix) with ESMTP id 52EDF3021FCC\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 02:33:54 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 54DE338422A;\n\tWed, 22 Apr 2026 02:33:52 +0000 (UTC)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 3FCA3382384;\n\tWed, 22 Apr 2026 02:33:43 +0000 (UTC)",
            "from mrdev.corp.microsoft.com\n (192-184-212-33.fiber.dynamic.sonic.net [192.184.212.33])\n\tby linux.microsoft.com (Postfix) with ESMTPSA id A8D0A20B6F08;\n\tTue, 21 Apr 2026 19:33:37 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776825231; cv=none;\n b=Y4crd1MhzewoYMaHG/Ac28F1Mysv97yH4LOFPuk9BIM8jrw+X08+YIQwEBD82Rj+IE4AZlBtoQRirR7TOOkYsOar/ArhKSySkLiTxog/ssljLm4eO6SX3F87mIXADkLvlSnWsLR+BSV5xEcZiW6dSMhycFUqTzs+q0CRV7oOpbM=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776825231; c=relaxed/simple;\n\tbh=Yvgldd4nQGSF/LYqRa98GkHpoMtDyLqBf3EpIQNEdz4=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=Mk7FcC9BArgBX5pNI5UXlsrjtnuv3nowrkOJL09TVzyNr05sgThDeuDuVYyn2NOaOEps9qMSS8Ksf5F+CmUMkJtIm2xQhLHTZKCO+sjh9MaCITnpYCZ235akZkbOUpB88nUavj3OEVJgPk/T3wYDJ2FYDR490jtGMHq3oyk665Q=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linux.microsoft.com;\n spf=pass smtp.mailfrom=linux.microsoft.com;\n dkim=pass (1024-bit key) header.d=linux.microsoft.com\n header.i=@linux.microsoft.com header.b=PNjDCwQb;\n arc=none smtp.client-ip=13.77.154.182",
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com A8D0A20B6F08",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n\ts=default; t=1776825218;\n\tbh=DGshgrqxUKkRySd8JcGwdzb2ggF+IE9bbLNEuDjQN+E=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=PNjDCwQbtWZ1gGTne9Wx6233h1/7r/9UKDsA/e2YJdwxrF1V67ohC96DZiM6P8TF3\n\t Qwu8cP6MvQBodgNNu6f3V7L6cX2liQWK2Vz0bCrj6y1d+4fCBUdC+E9/y8pXojK9k0\n\t pIZQwzMMXCtp4s6VRy2+vFe3vLDuXk1pjGRRrAcw=",
        "From": "Mukesh R <mrathor@linux.microsoft.com>",
        "To": "hpa@zytor.com,\n\trobin.murphy@arm.com,\n\trobh@kernel.org,\n\twei.liu@kernel.org,\n\tmrathor@linux.microsoft.com,\n\tmhklinux@outlook.com,\n\tmuislam@microsoft.com,\n\tnamjain@linux.microsoft.com,\n\tmagnuskulke@linux.microsoft.com,\n\tanbelski@linux.microsoft.com,\n\tlinux-kernel@vger.kernel.org,\n\tlinux-hyperv@vger.kernel.org,\n\tiommu@lists.linux.dev,\n\tlinux-pci@vger.kernel.org,\n\tlinux-arch@vger.kernel.org",
        "Cc": "kys@microsoft.com,\n\thaiyangz@microsoft.com,\n\tdecui@microsoft.com,\n\tlongli@microsoft.com,\n\ttglx@kernel.org,\n\tmingo@redhat.com,\n\tbp@alien8.de,\n\tdave.hansen@linux.intel.com,\n\tx86@kernel.org,\n\tjoro@8bytes.org,\n\twill@kernel.org,\n\tlpieralisi@kernel.org,\n\tkwilczynski@kernel.org,\n\tbhelgaas@google.com,\n\tarnd@arndb.de",
        "Subject": "[PATCH V1 01/13] iommu/hyperv: rename hyperv-iommu.c to hyperv-irq.c",
        "Date": "Tue, 21 Apr 2026 19:32:27 -0700",
        "Message-ID": "<20260422023239.1171963-2-mrathor@linux.microsoft.com>",
        "X-Mailer": "git-send-email 2.51.2.vfs.0.1",
        "In-Reply-To": "<20260422023239.1171963-1-mrathor@linux.microsoft.com>",
        "References": "<20260422023239.1171963-1-mrathor@linux.microsoft.com>",
        "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"
    },
    "content": "This file actually implements irq remapping, so rename to more appropriate\nhyperv-irq.c. A new file to implement hyperv iommu will be introduced\nlater.  Also, it should not be tied to HYPERV_IOMMU, but to CONFIG_HYPERV\nand IRQ_REMAP. The file already has #ifdef CONFIG_IRQ_REMAP.\n\nSigned-off-by: Mukesh R <mrathor@linux.microsoft.com>\n---\n MAINTAINERS                                    | 2 +-\n drivers/iommu/Makefile                         | 2 +-\n drivers/iommu/{hyperv-iommu.c => hyperv-irq.c} | 2 +-\n drivers/iommu/irq_remapping.c                  | 2 +-\n 4 files changed, 4 insertions(+), 4 deletions(-)\n rename drivers/iommu/{hyperv-iommu.c => hyperv-irq.c} (99%)",
    "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex d1cc0e12fe1f..f803a6a38fee 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -11914,7 +11914,7 @@ F:\tdrivers/clocksource/hyperv_timer.c\n F:\tdrivers/hid/hid-hyperv.c\n F:\tdrivers/hv/\n F:\tdrivers/input/serio/hyperv-keyboard.c\n-F:\tdrivers/iommu/hyperv-iommu.c\n+F:\tdrivers/iommu/hyperv-irq.c\n F:\tdrivers/net/ethernet/microsoft/\n F:\tdrivers/net/hyperv/\n F:\tdrivers/pci/controller/pci-hyperv-intf.c\ndiff --git a/drivers/iommu/Makefile b/drivers/iommu/Makefile\nindex 0275821f4ef9..335ea77cced6 100644\n--- a/drivers/iommu/Makefile\n+++ b/drivers/iommu/Makefile\n@@ -30,7 +30,7 @@ obj-$(CONFIG_TEGRA_IOMMU_SMMU) += tegra-smmu.o\n obj-$(CONFIG_EXYNOS_IOMMU) += exynos-iommu.o\n obj-$(CONFIG_FSL_PAMU) += fsl_pamu.o fsl_pamu_domain.o\n obj-$(CONFIG_S390_IOMMU) += s390-iommu.o\n-obj-$(CONFIG_HYPERV_IOMMU) += hyperv-iommu.o\n+obj-$(CONFIG_HYPERV) += hyperv-irq.o\n obj-$(CONFIG_VIRTIO_IOMMU) += virtio-iommu.o\n obj-$(CONFIG_IOMMU_SVA) += iommu-sva.o\n obj-$(CONFIG_IOMMU_IOPF) += io-pgfault.o\ndiff --git a/drivers/iommu/hyperv-iommu.c b/drivers/iommu/hyperv-irq.c\nsimilarity index 99%\nrename from drivers/iommu/hyperv-iommu.c\nrename to drivers/iommu/hyperv-irq.c\nindex 479103261ae6..cc49c7cbc434 100644\n--- a/drivers/iommu/hyperv-iommu.c\n+++ b/drivers/iommu/hyperv-irq.c\n@@ -331,4 +331,4 @@ static const struct irq_domain_ops hyperv_root_ir_domain_ops = {\n \t.free = hyperv_root_irq_remapping_free,\n };\n \n-#endif\n+#endif  /* CONFIG_IRQ_REMAP */\ndiff --git a/drivers/iommu/irq_remapping.c b/drivers/iommu/irq_remapping.c\nindex c2443659812a..41bf65e4ea88 100644\n--- a/drivers/iommu/irq_remapping.c\n+++ b/drivers/iommu/irq_remapping.c\n@@ -108,7 +108,7 @@ int __init irq_remapping_prepare(void)\n \telse if (IS_ENABLED(CONFIG_AMD_IOMMU) &&\n \t\t amd_iommu_irq_ops.prepare() == 0)\n \t\tremap_ops = &amd_iommu_irq_ops;\n-\telse if (IS_ENABLED(CONFIG_HYPERV_IOMMU) &&\n+\telse if (IS_ENABLED(CONFIG_HYPERV) &&\n \t\t hyperv_irq_remap_ops.prepare() == 0)\n \t\tremap_ops = &hyperv_irq_remap_ops;\n \telse\n",
    "prefixes": [
        "V1",
        "01/13"
    ]
}