get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1623055,
    "url": "http://patchwork.ozlabs.org/api/patches/1623055/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20220427140501.18381-1-pali@kernel.org/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20220427140501.18381-1-pali@kernel.org>",
    "list_archive_url": null,
    "date": "2022-04-27T14:04:58",
    "name": "[1/4] powerpc: dts: p2020: Define MPIC nodes",
    "commit_ref": "1cb0f98f910d10370e3ae11a9c37860a97ac0706",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "3dff53614b34b20e38aa792b233f96115dcab208",
    "submitter": {
        "id": 78810,
        "url": "http://patchwork.ozlabs.org/api/people/78810/?format=api",
        "name": "Pali Rohár",
        "email": "pali@kernel.org"
    },
    "delegate": {
        "id": 55230,
        "url": "http://patchwork.ozlabs.org/api/users/55230/?format=api",
        "username": "freenix",
        "first_name": "Peng",
        "last_name": "Fan",
        "email": "van.freenix@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20220427140501.18381-1-pali@kernel.org/mbox/",
    "series": [
        {
            "id": 297186,
            "url": "http://patchwork.ozlabs.org/api/series/297186/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=297186",
            "date": "2022-04-27T14:04:59",
            "name": "[1/4] powerpc: dts: p2020: Define MPIC nodes",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/297186/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1623055/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1623055/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "bilbo.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=JmJXyXSy;\n\tdkim-atps=neutral",
            "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>)",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=kernel.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.b=\"JmJXyXSy\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=kernel.org",
            "phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits))\n\t(No client certificate requested)\n\tby bilbo.ozlabs.org (Postfix) with ESMTPS id 4KpLBr5NBxz9sBy\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 28 Apr 2022 00:06:12 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 18CFE83EB0;\n\tWed, 27 Apr 2022 16:05:58 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 081DA83EC5; Wed, 27 Apr 2022 16:05:32 +0200 (CEST)",
            "from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n bits)) (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 4422583E49\n for <u-boot@lists.denx.de>; Wed, 27 Apr 2022 16:05:22 +0200 (CEST)",
            "from smtp.kernel.org (relay.kernel.org [52.25.139.140])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by dfw.source.kernel.org (Postfix) with ESMTPS id B8AEC61DBA;\n Wed, 27 Apr 2022 14:05:20 +0000 (UTC)",
            "by smtp.kernel.org (Postfix) with ESMTPSA id 39E75C385AD;\n Wed, 27 Apr 2022 14:05:20 +0000 (UTC)",
            "by pali.im (Postfix)\n id 58E5DA43; Wed, 27 Apr 2022 16:05:17 +0200 (CEST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,\n SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n s=k20201202; t=1651068320;\n bh=lw1wPw/AhzA/UcgjAf86vB/jMQxfFi4ff/voVETJS9I=;\n h=From:To:Cc:Subject:Date:From;\n b=JmJXyXSyqGlsdRrq5jP1fTJ/1BvBr+oxka3+mM316CjhatzlbC0FUWjTPI+MKHUTh\n cXgETqAca7p/1lCwOjNvvAoNYi84PStksuSwWR8xVXDaSkUXRggVFIG06tMF9WBnma\n G7HFD6kFgLysQDobwCaRI8N6wqW7vOzIUyfMhbJHPkAwKw/dNyvw9lu3APFGrMIF51\n SVa+wxqT1cUuA7G7cfT+0XEhVXimjvMoGjQ4H6mTbZJOHbyA8Wvr0HVere2WxtmNM7\n G580mhKeIU1JFOS5WICNSjx+1w5UbV6kDXX7/NoAytaP9+Lx03ncfQa5cEmKqaHmCZ\n 9F51o/TkJlnyA==",
        "From": "=?utf-8?q?Pali_Roh=C3=A1r?= <pali@kernel.org>",
        "To": "Priyanka Jain <priyanka.jain@nxp.com>, Wolfgang Denk <wd@denx.de>,\n Sinan Akman <sinan@writeme.com>",
        "Cc": "u-boot@lists.denx.de",
        "Subject": "[PATCH 1/4] powerpc: dts: p2020: Define MPIC nodes",
        "Date": "Wed, 27 Apr 2022 16:04:58 +0200",
        "Message-Id": "<20220427140501.18381-1-pali@kernel.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.5 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "Copy definition of MPIC nodes from upstream Linux kernel P2020 dts files.\n\nSigned-off-by: Pali Rohár <pali@kernel.org>\n---\n arch/powerpc/dts/p2020-post.dtsi       |  3 +\n arch/powerpc/dts/pq3-mpic-timer-B.dtsi | 42 ++++++++++++++\n arch/powerpc/dts/pq3-mpic.dtsi         | 79 ++++++++++++++++++++++++++\n 3 files changed, 124 insertions(+)\n create mode 100644 arch/powerpc/dts/pq3-mpic-timer-B.dtsi\n create mode 100644 arch/powerpc/dts/pq3-mpic.dtsi",
    "diff": "diff --git a/arch/powerpc/dts/p2020-post.dtsi b/arch/powerpc/dts/p2020-post.dtsi\nindex 1c3f78798eff..dd878bf555f4 100644\n--- a/arch/powerpc/dts/p2020-post.dtsi\n+++ b/arch/powerpc/dts/p2020-post.dtsi\n@@ -73,6 +73,9 @@\n \n /include/ \"pq3-etsec1-1.dtsi\"\n /include/ \"pq3-etsec1-2.dtsi\"\n+\n+/include/ \"pq3-mpic.dtsi\"\n+/include/ \"pq3-mpic-timer-B.dtsi\"\n };\n \n /* PCIe controller base address 0x8000 */\ndiff --git a/arch/powerpc/dts/pq3-mpic-timer-B.dtsi b/arch/powerpc/dts/pq3-mpic-timer-B.dtsi\nnew file mode 100644\nindex 000000000000..8734cffae1a1\n--- /dev/null\n+++ b/arch/powerpc/dts/pq3-mpic-timer-B.dtsi\n@@ -0,0 +1,42 @@\n+/*\n+ * PQ3 MPIC Timer (Group B) device tree stub [ controller @ offset 0x42100 ]\n+ *\n+ * Copyright 2011 Freescale Semiconductor Inc.\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions are met:\n+ *     * Redistributions of source code must retain the above copyright\n+ *       notice, this list of conditions and the following disclaimer.\n+ *     * Redistributions in binary form must reproduce the above copyright\n+ *       notice, this list of conditions and the following disclaimer in the\n+ *       documentation and/or other materials provided with the distribution.\n+ *     * Neither the name of Freescale Semiconductor nor the\n+ *       names of its contributors may be used to endorse or promote products\n+ *       derived from this software without specific prior written permission.\n+ *\n+ *\n+ * ALTERNATIVELY, this software may be distributed under the terms of the\n+ * GNU General Public License (\"GPL\") as published by the Free Software\n+ * Foundation, either version 2 of that License or (at your option) any\n+ * later version.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY\n+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY\n+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ */\n+\n+timer@42100 {\n+\tcompatible = \"fsl,mpic-global-timer\";\n+\treg = <0x42100 0x100 0x42300 4>;\n+\tinterrupts = <4 0 3 0\n+\t\t      5 0 3 0\n+\t\t      6 0 3 0\n+\t\t      7 0 3 0>;\n+};\ndiff --git a/arch/powerpc/dts/pq3-mpic.dtsi b/arch/powerpc/dts/pq3-mpic.dtsi\nnew file mode 100644\nindex 000000000000..71c30eb10056\n--- /dev/null\n+++ b/arch/powerpc/dts/pq3-mpic.dtsi\n@@ -0,0 +1,79 @@\n+/*\n+ * PQ3 MPIC device tree stub [ controller @ offset 0x40000 ]\n+ *\n+ * Copyright 2011 Freescale Semiconductor Inc.\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that the following conditions are met:\n+ *     * Redistributions of source code must retain the above copyright\n+ *       notice, this list of conditions and the following disclaimer.\n+ *     * Redistributions in binary form must reproduce the above copyright\n+ *       notice, this list of conditions and the following disclaimer in the\n+ *       documentation and/or other materials provided with the distribution.\n+ *     * Neither the name of Freescale Semiconductor nor the\n+ *       names of its contributors may be used to endorse or promote products\n+ *       derived from this software without specific prior written permission.\n+ *\n+ *\n+ * ALTERNATIVELY, this software may be distributed under the terms of the\n+ * GNU General Public License (\"GPL\") as published by the Free Software\n+ * Foundation, either version 2 of that License or (at your option) any\n+ * later version.\n+ *\n+ * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY\n+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n+ * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY\n+ * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n+ * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND\n+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+ */\n+\n+mpic: pic@40000 {\n+\tinterrupt-controller;\n+\t#address-cells = <0>;\n+\t#interrupt-cells = <4>;\n+\treg = <0x40000 0x40000>;\n+\tcompatible = \"fsl,mpic\";\n+\tdevice_type = \"open-pic\";\n+\tbig-endian;\n+\tsingle-cpu-affinity;\n+\tlast-interrupt-source = <255>;\n+};\n+\n+timer@41100 {\n+\tcompatible = \"fsl,mpic-global-timer\";\n+\treg = <0x41100 0x100 0x41300 4>;\n+\tinterrupts = <0 0 3 0\n+\t\t      1 0 3 0\n+\t\t      2 0 3 0\n+\t\t      3 0 3 0>;\n+};\n+\n+message@41400 {\n+\tcompatible = \"fsl,mpic-v3.1-msgr\";\n+\treg = <0x41400 0x200>;\n+\tinterrupts = <\n+\t\t0xb0 2 0 0\n+\t\t0xb1 2 0 0\n+\t\t0xb2 2 0 0\n+\t\t0xb3 2 0 0>;\n+};\n+\n+msi@41600 {\n+\tcompatible = \"fsl,mpic-msi\";\n+\treg = <0x41600 0x80>;\n+\tmsi-available-ranges = <0 0x100>;\n+\tinterrupts = <\n+\t\t0xe0 0 0 0\n+\t\t0xe1 0 0 0\n+\t\t0xe2 0 0 0\n+\t\t0xe3 0 0 0\n+\t\t0xe4 0 0 0\n+\t\t0xe5 0 0 0\n+\t\t0xe6 0 0 0\n+\t\t0xe7 0 0 0>;\n+};\n",
    "prefixes": [
        "1/4"
    ]
}