get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2231623,
    "url": "http://patchwork.ozlabs.org/api/patches/2231623/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260501004157.3108202-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": "<20260501004157.3108202-2-mrathor@linux.microsoft.com>",
    "list_archive_url": null,
    "date": "2026-05-01T00:41:47",
    "name": "[V2,01/11] iommu/hyperv: rename hyperv-iommu.c to hyperv-irq.c",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "6ac22eb5c494e3f4ec616335872a8f3f65a4df96",
    "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/20260501004157.3108202-2-mrathor@linux.microsoft.com/mbox/",
    "series": [
        {
            "id": 502410,
            "url": "http://patchwork.ozlabs.org/api/series/502410/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=502410",
            "date": "2026-05-01T00:41:46",
            "name": "PCI passthru on Hyper-V (Part I)",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/502410/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231623/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231623/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-pci+bounces-53559-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=iBPESL9j;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-pci+bounces-53559-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=\"iBPESL9j\"",
            "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 sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::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 4g6C1J33zlz1y1d\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 10:42:28 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id C632B3014A03\n\tfor <incoming@patchwork.ozlabs.org>; Fri,  1 May 2026 00:42:19 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 32E42282F02;\n\tFri,  1 May 2026 00:42:12 +0000 (UTC)",
            "from linux.microsoft.com (linux.microsoft.com [13.77.154.182])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 43E7D23F417;\n\tFri,  1 May 2026 00:42:10 +0000 (UTC)",
            "from mrdev.corp.microsoft.com (unknown [40.86.183.173])\n\tby linux.microsoft.com (Postfix) with ESMTPSA id 5E76720B7167;\n\tThu, 30 Apr 2026 17:42:08 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777596131; cv=none;\n b=dF9rgTO3CDly+w0L1O9iIL6Czj1nKOEJ39QsfgM96vALKQIUXg/we/Cws9tSuH2d4fRGB2Cfnt8C2/UuGrCJizUtnbhQP9qXCFQcSA0P7RXYcBy9czh7eXuasM476valQmEVB6GWHy9yTQEeVDGtAo6ml7TDDcxQGueNb+TpT+I=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777596131; c=relaxed/simple;\n\tbh=iNCq/6LJynBsDvVqOUXofG0jeHT8WBHDLN51gLy0Qh8=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=PNJKf8urxCEXTkbk4yEh/01uv6AeHXYV8afToNRHCY+4m1P/iBkCThpJhoZ25obXyHbYM0wSJUSJU6QPV9dxh4g/BiWI2gsjASflQ+fZJbJ5/e+zuo7MJzJ6LOOG6oJbZdBgTHRJLKkGYQBzxfu+117s1XoqWQBbwm45aYbcwV4=",
        "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=iBPESL9j;\n arc=none smtp.client-ip=13.77.154.182",
        "DKIM-Filter": "OpenDKIM Filter v2.11.0 linux.microsoft.com 5E76720B7167",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com;\n\ts=default; t=1777596129;\n\tbh=ynRA88Z5bV4VTptbAf0c2VvjcKoPPD/m6Qh24ri9A0Q=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=iBPESL9jKKWmNDTt4bCQrEOMEaylhc+I5k3jMfbEhgOdeL/Vr5w031kS9KRSu+KMy\n\t 3q5FPmZGV6l8nBTwUmbITkC69Qr/sUA1e8UV6AvdD6WEU2EkMIJ+KsA9GafQGOBhfh\n\t mV6t6eABKgSYzQoTd/FFWo0AbXRUX4uYvVMtyIhU=",
        "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 V2 01/11] iommu/hyperv: rename hyperv-iommu.c to hyperv-irq.c",
        "Date": "Thu, 30 Apr 2026 17:41:47 -0700",
        "Message-ID": "<20260501004157.3108202-2-mrathor@linux.microsoft.com>",
        "X-Mailer": "git-send-email 2.51.2.vfs.0.1",
        "In-Reply-To": "<20260501004157.3108202-1-mrathor@linux.microsoft.com>",
        "References": "<20260501004157.3108202-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\nReviewed-by: Anirudh Rayabharam (Microsoft) <anirudh@anirudhrb.com>\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} | 6 +++---\n drivers/iommu/irq_remapping.c                  | 2 +-\n 4 files changed, 6 insertions(+), 6 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..d11076f906fb 100644\n--- a/drivers/iommu/hyperv-iommu.c\n+++ b/drivers/iommu/hyperv-irq.c\n@@ -8,6 +8,8 @@\n  * Author : Lan Tianyu <Tianyu.Lan@microsoft.com>\n  */\n \n+#ifdef CONFIG_IRQ_REMAP\n+\n #include <linux/types.h>\n #include <linux/interrupt.h>\n #include <linux/irq.h>\n@@ -24,8 +26,6 @@\n \n #include \"irq_remapping.h\"\n \n-#ifdef CONFIG_IRQ_REMAP\n-\n /*\n  * According 82093AA IO-APIC spec , IO APIC has a 24-entry Interrupt\n  * Redirection Table. Hyper-V exposes one single IO-APIC and so define\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": [
        "V2",
        "01/11"
    ]
}