get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2197779,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2197779/?format=api",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/1.0/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/"
    },
    "msgid": "<20260218135203.2267907-4-maz@kernel.org>",
    "date": "2026-02-18T13:52:00",
    "name": "[3/6] irqchip/gic-v3-its: Add fsl_mc device plumbing to the msi-parent handling",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "bf1762f3d96699687b62e75e7d08971bcc8827b1",
    "submitter": {
        "id": 77095,
        "url": "http://patchwork.ozlabs.org/api/1.0/people/77095/?format=api",
        "name": "Marc Zyngier",
        "email": "maz@kernel.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260218135203.2267907-4-maz@kernel.org/mbox/",
    "series": [
        {
            "id": 492556,
            "url": "http://patchwork.ozlabs.org/api/1.0/series/492556/?format=api",
            "date": "2026-02-18T13:51:58",
            "name": "fsl-mc: Move fsl_over to device MSI",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/492556/mbox/"
        }
    ],
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2197779/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linuxppc-dev+bounces-16930-incoming=patchwork.ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linuxppc-dev@lists.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=sVJIlpnI;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-16930-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "lists.ozlabs.org;\n arc=none smtp.remote-ip=\"2600:3c04:e001:324:0:1991:8:25\"",
            "lists.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org",
            "lists.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=sVJIlpnI;\n\tdkim-atps=neutral",
            "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org\n (client-ip=2600:3c04:e001:324:0:1991:8:25; helo=tor.source.kernel.org;\n envelope-from=maz@kernel.org; receiver=lists.ozlabs.org)"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\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 4fGHy5268Rz1xpY\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 19 Feb 2026 00:52:29 +1100 (AEDT)",
            "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4fGHxq1fR2z3br2;\n\tThu, 19 Feb 2026 00:52:15 +1100 (AEDT)",
            "from tor.source.kernel.org (tor.source.kernel.org\n [IPv6:2600:3c04:e001:324:0:1991:8:25])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4fGHxm12ywz3bnm\n\tfor <linuxppc-dev@lists.ozlabs.org>; Thu, 19 Feb 2026 00:52:11 +1100 (AEDT)",
            "from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58])\n\tby tor.source.kernel.org (Postfix) with ESMTP id 7E75F6185D;\n\tWed, 18 Feb 2026 13:52:09 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 4D15CC19425;\n\tWed, 18 Feb 2026 13:52:09 +0000 (UTC)",
            "from sofa.misterjones.org ([185.219.108.64] helo=valley-girl.lan)\n\tby disco-boy.misterjones.org with esmtpsa  (TLS1.3) tls\n TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\n\t(Exim 4.98.2)\n\t(envelope-from <maz@kernel.org>)\n\tid 1vshyJ-0000000Bu02-189b;\n\tWed, 18 Feb 2026 13:52:07 +0000"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1771422734;\n\tcv=none;\n b=CibiunLZYZlGteycu5woANMGpGbR9IGIwj/ErxM3kgLMaW4jjsdFCbkyBhZuBoDiyO8P+9IsO7j6DI3Hwuhl9Yy3rWOPIXkHG3Lh5H1w776VVaNO22B9Hk7L2qdVTB+FaRpCSkey4BWnhYRrdGXT43BYLrj5Dj84qNRdZXNPJ0OjgniCR9mLjgBybq0PpajTWsGllY7yYZvrPhnSpfYu0RhCIu+/EweeY1guxCtd9bwotlPMWgj+s2PHKDmXdv9s07RcTh+aROPNOe1FaZGWeEE54DiT37hUJldzK2a8wDKt1abosu8f1t957s1dmlSzNO/lBRTR6zWBTypvtTyeBQ==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1771422734; c=relaxed/relaxed;\n\tbh=lwHvV3fUxmyryw/PpEJ1NHzmL5L4khyPBe01k0wMyW0=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=brrfhpT2nAHZi7e/6Z+uafPOmnnlPs1e5vpKQknBzsHVGUuzJwVG4F+908fvKs6xNEUYbr77DO83Y9dyMIVPiQgq5p3IBXcdI/c6zeH758YUzZUix5rvrycW2+jfN8Z/duFDIn64HnH4dKHOApf/rCVdmGOfugf20DMVD8PrGHr+CH3vjtTK65L6EehjjYzNntAOzkVNHbaNVC3Hu6ad84Z4MsRoQ+vyvhz/lmSWpesk2ECdH+zLeO9IknUbkCwP46jTunneFCZWhewsEb4h/yNPu+OElQZNyNEs2b/9Jt4kdGTPmF0UfuDRGiWENmytqQtjnEzbTB/NUFH6OWJZ3Q==",
        "ARC-Authentication-Results": "i=1; lists.ozlabs.org;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org;\n dkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=sVJIlpnI; dkim-atps=neutral;\n spf=pass (client-ip=2600:3c04:e001:324:0:1991:8:25;\n helo=tor.source.kernel.org; envelope-from=maz@kernel.org;\n receiver=lists.ozlabs.org) smtp.mailfrom=kernel.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1771422729;\n\tbh=jNsv6Mzm6JnU1v2Z2XpH/L+IpXDhwResrBm3y8osrzA=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=sVJIlpnICiU7Ad7qofR6f5XPQE+PpaTiEs0XIw8Jn2T9r2arLJ2J/UeN5PyTiouJj\n\t AQbpDgzS9YxXUP8zK8r7Yb/YXy6Ee2BeXiSReNWfI9NJgpkjzBXKxCBLAnI66Jby+W\n\t 6ehM8P7L2Q0tav/l0x4XZ4wIfdLswIiMgLKKZK0ti0BAdEESxl2CHzXm0ZAYb7VI15\n\t J4xbIgxyGwEGbiFurdq+eOgRK8p/xOJmz7V5r3+uBVqL6a1lXN06eWB6zTAVO5/CWM\n\t UmbCXRsD1o3lNdXfip80bs086uNcdUe+FWjxpIlmpnm78xOT6NPeuC273RK76w0875\n\t g0LvWTvuRQQXw==",
        "From": "Marc Zyngier <maz@kernel.org>",
        "To": "Ioana Ciornei <ioana.ciornei@nxp.com>,\n\tThomas Gleixner <tglx@kernel.org>,\n\t\"Christophe Leroy (CS GROUP)\" <chleroy@kernel.org>",
        "Cc": "linux-kernel@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org,\n\tlinuxppc-dev@lists.ozlabs.org",
        "Subject": "[PATCH 3/6] irqchip/gic-v3-its: Add fsl_mc device plumbing to the\n msi-parent handling",
        "Date": "Wed, 18 Feb 2026 13:52:00 +0000",
        "Message-ID": "<20260218135203.2267907-4-maz@kernel.org>",
        "X-Mailer": "git-send-email 2.47.3",
        "In-Reply-To": "<20260218135203.2267907-1-maz@kernel.org>",
        "References": "<20260218135203.2267907-1-maz@kernel.org>",
        "X-Mailing-List": "linuxppc-dev@lists.ozlabs.org",
        "List-Id": "<linuxppc-dev.lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev+help@lists.ozlabs.org>",
        "List-Owner": "<mailto:linuxppc-dev+owner@lists.ozlabs.org>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Archive": "<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Subscribe": "<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>",
        "List-Unsubscribe": "<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>",
        "Precedence": "list",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-SA-Exim-Connect-IP": "185.219.108.64",
        "X-SA-Exim-Rcpt-To": "ioana.ciornei@nxp.com, tglx@kernel.org, chleroy@kernel.org,\n linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org,\n linuxppc-dev@lists.ozlabs.org",
        "X-SA-Exim-Mail-From": "maz@kernel.org",
        "X-SA-Exim-Scanned": "No (on disco-boy.misterjones.org);\n SAEximRunCond expanded to false",
        "X-Spam-Status": "No, score=-0.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED,\n\tDKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS\n\tautolearn=disabled version=4.0.1 OzLabs 8",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"
    },
    "content": "Make the ITS code aware of fsl_mc devices by plumbing the devid\nretrieval primitive.\n\nSigned-off-by: Marc Zyngier <maz@kernel.org>\n---\n drivers/irqchip/irq-gic-its-msi-parent.c | 7 +++++--\n 1 file changed, 5 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/irqchip/irq-gic-its-msi-parent.c b/drivers/irqchip/irq-gic-its-msi-parent.c\nindex 12f45228c8674..532c0d626ca04 100644\n--- a/drivers/irqchip/irq-gic-its-msi-parent.c\n+++ b/drivers/irqchip/irq-gic-its-msi-parent.c\n@@ -7,6 +7,7 @@\n #include <linux/acpi_iort.h>\n #include <linux/of_address.h>\n #include <linux/pci.h>\n+#include <linux/fsl/mc.h>\n \n #include \"irq-gic-its-msi-parent.h\"\n #include <linux/irqchip/irq-msi-lib.h>\n@@ -186,9 +187,11 @@ static int its_pmsi_prepare(struct irq_domain *domain, struct device *dev,\n {\n \tstruct msi_domain_info *msi_info;\n \tu32 dev_id;\n-\tint ret;\n+\tint ret = 0;\n \n-\tif (dev->of_node)\n+\tif (dev_is_fsl_mc(dev))\n+\t\tdev_id = fsl_mc_get_msi_id(dev);\n+\telse if (dev->of_node)\n \t\tret = of_pmsi_get_msi_info(domain->parent, dev, &dev_id, NULL);\n \telse\n \t\tret = iort_pmsi_get_dev_id(dev, &dev_id);\n",
    "prefixes": [
        "3/6"
    ]
}