get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1048241,
    "url": "http://patchwork.ozlabs.org/api/patches/1048241/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190226111834.26677-3-laurentiu.tudor@nxp.com/",
    "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": "<20190226111834.26677-3-laurentiu.tudor@nxp.com>",
    "list_archive_url": null,
    "date": "2019-02-26T11:18:34",
    "name": "[U-Boot,v2,3/3] armv8: fsl-layerscape: avoid DT fixup warning",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "a0dce6cc586d614e6c3ea7a1f20684da3a778f32",
    "submitter": {
        "id": 71003,
        "url": "http://patchwork.ozlabs.org/api/people/71003/?format=api",
        "name": "Laurentiu Tudor",
        "email": "laurentiu.tudor@nxp.com"
    },
    "delegate": {
        "id": 2467,
        "url": "http://patchwork.ozlabs.org/api/users/2467/?format=api",
        "username": "prabhu_kush",
        "first_name": "Prabhakar",
        "last_name": "Kushwaha",
        "email": "prabhakar@freescale.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20190226111834.26677-3-laurentiu.tudor@nxp.com/mbox/",
    "series": [
        {
            "id": 94219,
            "url": "http://patchwork.ozlabs.org/api/series/94219/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=94219",
            "date": "2019-02-26T11:18:32",
            "name": "[U-Boot,v2,1/3] fsl_sec: fix register layout on Layerscape architectures",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/94219/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1048241/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1048241/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": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=nxp.com"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 447xCt0WBKz9sBL\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 26 Feb 2019 22:19:21 +1100 (AEDT)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid B8B73C21C2F; Tue, 26 Feb 2019 11:19:06 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id BA2ADC21DE8;\n\tTue, 26 Feb 2019 11:18:39 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid E8DCFC21C38; Tue, 26 Feb 2019 11:18:37 +0000 (UTC)",
            "from inva021.nxp.com (inva021.nxp.com [92.121.34.21])\n\tby lists.denx.de (Postfix) with ESMTPS id 970F6C21C8B\n\tfor <u-boot@lists.denx.de>; Tue, 26 Feb 2019 11:18:37 +0000 (UTC)",
            "from inva021.nxp.com (localhost [127.0.0.1])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 5E87620030A;\n\tTue, 26 Feb 2019 12:18:37 +0100 (CET)",
            "from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com\n\t[134.27.226.22])\n\tby inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 5166A200309;\n\tTue, 26 Feb 2019 12:18:37 +0100 (CET)",
            "from fsr-ub1864-101.ea.freescale.net\n\t(fsr-ub1864-101.ea.freescale.net [10.171.82.46])\n\tby inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id F3BB3205EB;\n\tTue, 26 Feb 2019 12:18:36 +0100 (CET)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=0.0 required=5.0 tests=none autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "From": "laurentiu.tudor@nxp.com",
        "To": "u-boot@lists.denx.de,\n\tprabhakar.kushwaha@nxp.com",
        "Date": "Tue, 26 Feb 2019 13:18:34 +0200",
        "Message-Id": "<20190226111834.26677-3-laurentiu.tudor@nxp.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190226111834.26677-1-laurentiu.tudor@nxp.com>",
        "References": "<20190226111834.26677-1-laurentiu.tudor@nxp.com>",
        "X-Virus-Scanned": "ClamAV using ClamSMTP",
        "Subject": "[U-Boot] [PATCH v2 3/3] armv8: fsl-layerscape: avoid DT fixup\n\twarning",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.18",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<http://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\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>"
    },
    "content": "From: Laurentiu Tudor <laurentiu.tudor@nxp.com>\n\nsec_firmware reserves JR3 for it's own usage and deletes the JR3 node\nfrom the device tree. This causes this warning to be issued when doing\nthe device tree fixup:\n\nWARNING could not find node fsl,sec-v4.0-job-ring: FDT_ERR_NOTFOUND.\n\nFix it by excluding the device tree fixup for the JR reserved by\nsec_firmware.\n\nSigned-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>\nReviewed-by: Horia Geanta <horia.geanta@nxp.com>\nReviewed-by: Bharat Bhushan <bharat.bhushan@nxp.com>\n---\nv2:\n - added Reviewed-by tags\n\n arch/arm/include/asm/arch-fsl-layerscape/fsl_icid.h | 9 ++++++++-\n 1 file changed, 8 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/arch/arm/include/asm/arch-fsl-layerscape/fsl_icid.h b/arch/arm/include/asm/arch-fsl-layerscape/fsl_icid.h\nindex e7a8801262..f971af8d26 100644\n--- a/arch/arm/include/asm/arch-fsl-layerscape/fsl_icid.h\n+++ b/arch/arm/include/asm/arch-fsl-layerscape/fsl_icid.h\n@@ -9,6 +9,7 @@\n #include <asm/types.h>\n #include <fsl_qbman.h>\n #include <fsl_sec.h>\n+#include <asm/armv8/sec_firmware.h>\n \n struct icid_id_table {\n \tconst char *compat;\n@@ -98,7 +99,13 @@ void fdt_fixup_icid(void *blob);\n \t\tCONFIG_SYS_FSL_SEC_ADDR)\n \n #define SET_SEC_JR_ICID_ENTRY(jr_num, streamid) \\\n-\tSET_ICID_ENTRY(\"fsl,sec-v4.0-job-ring\", streamid, \\\n+\tSET_ICID_ENTRY( \\\n+\t\t(CONFIG_ARMV8_SEC_FIRMWARE_SUPPORT && \\\n+\t\t(FSL_SEC_JR##jr_num##_OFFSET ==  \\\n+\t\t\tSEC_JR3_OFFSET + CONFIG_SYS_FSL_SEC_OFFSET) \\\n+\t\t\t? NULL \\\n+\t\t\t: \"fsl,sec-v4.0-job-ring\"), \\\n+\t\tstreamid, \\\n \t\t(((streamid) << 16) | (streamid)), \\\n \t\toffsetof(ccsr_sec_t, jrliodnr[jr_num].ls) + \\\n \t\tCONFIG_SYS_FSL_SEC_ADDR, \\\n",
    "prefixes": [
        "U-Boot",
        "v2",
        "3/3"
    ]
}