get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1032862,
    "url": "http://patchwork.ozlabs.org/api/patches/1032862/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20190129153841.23430-2-ykaukab@suse.de/",
    "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": "<20190129153841.23430-2-ykaukab@suse.de>",
    "list_archive_url": null,
    "date": "2019-01-29T15:38:30",
    "name": "[U-Boot,01/12] nxp: ls1088a: fix dppa exit when using efi boot",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ddd54d34bea5f38be107d788141c1b8de26ef9c5",
    "submitter": {
        "id": 74697,
        "url": "http://patchwork.ozlabs.org/api/people/74697/?format=api",
        "name": "Yousaf Kaukab",
        "email": "ykaukab@suse.de"
    },
    "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/20190129153841.23430-2-ykaukab@suse.de/mbox/",
    "series": [
        {
            "id": 88871,
            "url": "http://patchwork.ozlabs.org/api/series/88871/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=88871",
            "date": "2019-01-29T15:38:29",
            "name": "nxp: fix dhcp and efi boot support for various socs",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/88871/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1032862/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1032862/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=none (p=none dis=none) header.from=suse.de"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 43prKv2w9Yz9s9h\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Jan 2019 02:40:19 +1100 (AEDT)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid EA8E8C21DEC; Tue, 29 Jan 2019 15:39:53 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 4E800C21DB6;\n\tTue, 29 Jan 2019 15:39:31 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid DECD6C21C27; Tue, 29 Jan 2019 15:39:28 +0000 (UTC)",
            "from mx1.suse.de (mx2.suse.de [195.135.220.15])\n\tby lists.denx.de (Postfix) with ESMTPS id 99D16C21C2F\n\tfor <u-boot@lists.denx.de>; Tue, 29 Jan 2019 15:39:28 +0000 (UTC)",
            "from relay2.suse.de (unknown [195.135.220.254])\n\tby mx1.suse.de (Postfix) with ESMTP id 6A5D1B0E4;\n\tTue, 29 Jan 2019 15:39:28 +0000 (UTC)"
        ],
        "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",
        "X-Virus-Scanned": "by amavisd-new at test-mx.suse.de",
        "From": "Mian Yousaf Kaukab <ykaukab@suse.de>",
        "To": "u-boot@lists.denx.de",
        "Date": "Tue, 29 Jan 2019 16:38:30 +0100",
        "Message-Id": "<20190129153841.23430-2-ykaukab@suse.de>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20190129153841.23430-1-ykaukab@suse.de>",
        "References": "<20190129153841.23430-1-ykaukab@suse.de>",
        "Cc": "priyanka.jain@nxp.com",
        "Subject": "[U-Boot] [PATCH 01/12] nxp: ls1088a: fix dppa exit when using efi\n\tboot",
        "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": "Same issue for ls2080a was fixed by following patch:\nb7b8410a8f ls2080: Exit dpaa only right before exiting U-Boot\n\nSigned-off-by: Mian Yousaf Kaukab <ykaukab@suse.de>\n---\n board/freescale/ls1088a/ls1088a.c | 10 ++++++----\n 1 file changed, 6 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/board/freescale/ls1088a/ls1088a.c b/board/freescale/ls1088a/ls1088a.c\nindex 953aab6e88..6a33958207 100644\n--- a/board/freescale/ls1088a/ls1088a.c\n+++ b/board/freescale/ls1088a/ls1088a.c\n@@ -643,6 +643,11 @@ int arch_misc_init(void)\n #endif\n \n #ifdef CONFIG_FSL_MC_ENET\n+void board_quiesce_devices(void)\n+{\n+       fsl_mc_ldpaa_exit(gd->bd);\n+}\n+\n void fdt_fixup_board_enet(void *fdt)\n {\n \tint offset;\n@@ -732,7 +737,7 @@ void fsl_fdt_fixup_flash(void *fdt)\n \n int ft_board_setup(void *blob, bd_t *bd)\n {\n-\tint err, i;\n+\tint i;\n \tu64 base[CONFIG_NR_DRAM_BANKS];\n \tu64 size[CONFIG_NR_DRAM_BANKS];\n \n@@ -762,9 +767,6 @@ int ft_board_setup(void *blob, bd_t *bd)\n \n #ifdef CONFIG_FSL_MC_ENET\n \tfdt_fixup_board_enet(blob);\n-\terr = fsl_mc_ldpaa_exit(bd);\n-\tif (err)\n-\t\treturn err;\n #endif\n \tif (is_pb_board())\n \t\tfixup_ls1088ardb_pb_banner(blob);\n",
    "prefixes": [
        "U-Boot",
        "01/12"
    ]
}