get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1444212,
    "url": "http://patchwork.ozlabs.org/api/patches/1444212/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1614244979-48216-18-git-send-email-bmeng.cn@gmail.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": "<1614244979-48216-18-git-send-email-bmeng.cn@gmail.com>",
    "list_archive_url": null,
    "date": "2021-02-25T09:22:38",
    "name": "[v3,17/38] common: Move initr_addr_map() to a bit earlier",
    "commit_ref": "a43b598cc15ae101438a0412d0a8c134b428f71e",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "091ba0c357211b82ccbf212d99f2649c89bcd2d6",
    "submitter": {
        "id": 64981,
        "url": "http://patchwork.ozlabs.org/api/people/64981/?format=api",
        "name": "Bin Meng",
        "email": "bmeng.cn@gmail.com"
    },
    "delegate": {
        "id": 87636,
        "url": "http://patchwork.ozlabs.org/api/users/87636/?format=api",
        "username": "priyankajain",
        "first_name": "Priyanka",
        "last_name": "Jain",
        "email": "priyanka.jain@nxp.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1614244979-48216-18-git-send-email-bmeng.cn@gmail.com/mbox/",
    "series": [
        {
            "id": 230985,
            "url": "http://patchwork.ozlabs.org/api/series/230985/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=230985",
            "date": "2021-02-25T09:22:22",
            "name": "ppc: qemu: Convert qemu-ppce500 to driver model and enable additional driver support",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/230985/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1444212/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1444212/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 spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20161025 header.b=U7/81dyT;\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "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=gmail.com header.i=@gmail.com header.b=\"U7/81dyT\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=bmeng.cn@gmail.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de [85.214.62.61])\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 ozlabs.org (Postfix) with ESMTPS id 4DmS9P3NBlz9s1l\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 25 Feb 2021 20:27:05 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id EFA4D819F3;\n\tThu, 25 Feb 2021 10:26:44 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 6E21281FC1; Thu, 25 Feb 2021 10:24:53 +0100 (CET)",
            "from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com\n [IPv6:2a00:1450:4864:20::62d])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 0D92F819F3\n for <u-boot@lists.denx.de>; Thu, 25 Feb 2021 10:24:40 +0100 (CET)",
            "by mail-ej1-x62d.google.com with SMTP id a22so7636068ejv.9\n for <u-boot@lists.denx.de>; Thu, 25 Feb 2021 01:24:40 -0800 (PST)",
            "from pek-vx-bsp2.wrs.com\n (ec2-44-242-66-180.us-west-2.compute.amazonaws.com. [44.242.66.180])\n by smtp.gmail.com with ESMTPSA id k22sm2987368edv.33.2021.02.25.01.24.35\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Thu, 25 Feb 2021 01:24:39 -0800 (PST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=from:to:cc:subject:date:message-id:in-reply-to:references;\n bh=YB9PNrEiS59kEGSKHwJmldbbzxv7hNdMLwF6YmGlljc=;\n b=U7/81dyTfZX6aJBY2VolwzXdhH8T0+aZ6jEK75IC773jCaZ5alCnwlqOdofFT6hpup\n MC1bA7vsDLwKOh07wZ0W3tjRc+LOj4rve8e4D7NZwN/Jd9BeJ0Ltv1ZDxINFbRwBVYyn\n 07MvfbCV+KRw8g61S1L0YIfQsvy5sJNrGQmAVchymYU5eSebOPAxcj6wZMXcyRz6DMby\n ZijSHFj2mQyftji6fGDmShF2z9UyhAeVug9n4ZCRAICpvR/ky4KR7jOv7GZjQJK54j5G\n tgRof3qRFH6ZSd3Q3ZRuYNstJk40mUCK2efI0eXV0VRagxNHCo1e8yNlKEfAoLqv0yGz\n nuTA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references;\n bh=YB9PNrEiS59kEGSKHwJmldbbzxv7hNdMLwF6YmGlljc=;\n b=afLlau4ZtaiGcL6h2yyjEWZs88oX/IBzBTegZdIy4zI5tD2RyA0SOIm/V6X6DnQMSj\n Xy8/xXYvAnOSsyWPqiap8NPsa9LqptuBMmOJhYANcdzNP43xrTrQXy5WPGXSBSZ6cIfK\n 5B7wJgx2aG0PAdVOxQC5iqbiqcF5UnICb93yfoTh8NO5A+qu8TBcEI6ut/+6RCfCsb9y\n LkJ3drQnKCJa1IqKdB1UULj1uYqqb/tAeH6btfmZ+dZGbxyCiZs81VBo7KF5VN4sBEU8\n 8yknj3I3987AamcMtvssQRUmoctZvS472AZ3QgAvQwDSA5dXc6wKY7eJSSGw/sF3SsuR\n 1XRg==",
        "X-Gm-Message-State": "AOAM5312HVIxzEdF/YIbn9RyEXW5jGtacg+aQtF0UMLqHivV8wfwEKRL\n o8CXnnJxDnIGdAxAM+MSvR0=",
        "X-Google-Smtp-Source": "\n ABdhPJx0ahHRM/eml9bOe6POTbYy8DlAOVsS5kViEGhD8yqEcG59Ra55p0HdPiSw4k9hQLrD6gVdnQ==",
        "X-Received": "by 2002:a17:906:e0c7:: with SMTP id\n gl7mr194329ejb.216.1614245079792;\n Thu, 25 Feb 2021 01:24:39 -0800 (PST)",
        "From": "Bin Meng <bmeng.cn@gmail.com>",
        "To": "Simon Glass <sjg@chromium.org>, Alexander Graf <agraf@csgraf.de>,\n Priyanka Jain <priyanka.jain@nxp.com>",
        "Cc": "U-Boot Mailing List <u-boot@lists.denx.de>, Tom Rini <trini@konsulko.com>,\n Marek Szyprowski <m.szyprowski@samsung.com>,\n Matthias Brugger <mbrugger@suse.com>",
        "Subject": "[PATCH v3 17/38] common: Move initr_addr_map() to a bit earlier",
        "Date": "Thu, 25 Feb 2021 17:22:38 +0800",
        "Message-Id": "<1614244979-48216-18-git-send-email-bmeng.cn@gmail.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1614244979-48216-1-git-send-email-bmeng.cn@gmail.com>",
        "References": "<1614244979-48216-1-git-send-email-bmeng.cn@gmail.com>",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.34",
        "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.102.4 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "At present initr_addr_map() is put at a late stage in the\ninit_sequence_r[] calls. This won't work because lot of\ndevice driver initialization (e.g.: serial port) happens\nbefore it but is lack of the address translation support.\n\nThis moves the call to a bit earlier, right after the DM\ninitialization.\n\nSigned-off-by: Bin Meng <bmeng.cn@gmail.com>\nReviewed-by: Simon Glass <sjg@chromium.org>\nReviewed-by: Priyanka Jain <priyanka.jain@nxp.com>\n---\n\n(no changes since v1)\n\n common/board_r.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/common/board_r.c b/common/board_r.c\nindex 9793439..c835ff8 100644\n--- a/common/board_r.c\n+++ b/common/board_r.c\n@@ -626,6 +626,9 @@ static init_fnc_t init_sequence_r[] = {\n #ifdef CONFIG_DM\n \tinitr_dm,\n #endif\n+#ifdef CONFIG_ADDR_MAP\n+\tinitr_addr_map,\n+#endif\n #if defined(CONFIG_ARM) || defined(CONFIG_NDS32) || defined(CONFIG_RISCV) || \\\n \tdefined(CONFIG_SANDBOX)\n \tboard_init,\t/* Setup chipselects */\n@@ -661,9 +664,6 @@ static init_fnc_t init_sequence_r[] = {\n \tinitr_manual_reloc_cmdtable,\n #endif\n \tarch_initr_trap,\n-#ifdef CONFIG_ADDR_MAP\n-\tinitr_addr_map,\n-#endif\n #if defined(CONFIG_BOARD_EARLY_INIT_R)\n \tboard_early_init_r,\n #endif\n",
    "prefixes": [
        "v3",
        "17/38"
    ]
}