get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 291439,
    "url": "http://patchwork.ozlabs.org/api/patches/291439/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1384487159-43032-9-git-send-email-fenghua@phytium.com.cn/",
    "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": "<1384487159-43032-9-git-send-email-fenghua@phytium.com.cn>",
    "list_archive_url": null,
    "date": "2013-11-15T03:45:57",
    "name": "[U-Boot,v15,08/10] arm64: generic board support",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "bf073c5bc537b4596b64d66c2f29c0c683e6fe3d",
    "submitter": {
        "id": 34808,
        "url": "http://patchwork.ozlabs.org/api/people/34808/?format=api",
        "name": null,
        "email": "fenghua@phytium.com.cn"
    },
    "delegate": {
        "id": 1694,
        "url": "http://patchwork.ozlabs.org/api/users/1694/?format=api",
        "username": "aaribaud",
        "first_name": "Albert",
        "last_name": "ARIBAUD",
        "email": "albert.aribaud@free.fr"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1384487159-43032-9-git-send-email-fenghua@phytium.com.cn/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/291439/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/291439/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",
        "Received": [
            "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 0D2DA2C00BA\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 15 Nov 2013 14:48:34 +1100 (EST)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id A359D4ADC6;\n\tFri, 15 Nov 2013 04:48:14 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id JM+vbE+nENJT; Fri, 15 Nov 2013 04:48:14 +0100 (CET)",
            "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 9771F4AE03;\n\tFri, 15 Nov 2013 04:47:58 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id E722F4ADB5\n\tfor <u-boot@lists.denx.de>; Fri, 15 Nov 2013 04:47:56 +0100 (CET)",
            "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id GyYcs7BeOU06 for <u-boot@lists.denx.de>;\n\tFri, 15 Nov 2013 04:47:56 +0100 (CET)",
            "from mail.corpease.net (mail10.corpease.net [61.145.121.76])\n\tby theia.denx.de (Postfix) with ESMTP id 6588D4ADA1\n\tfor <u-boot@lists.denx.de>; Fri, 15 Nov 2013 04:47:40 +0100 (CET)",
            "from localhost (unknown [220.202.153.92])\n\tby mail10.corpease.net (Coremail) with SMTP id\n\tTAGowJDbP65PmYVSfR02AA--.17684S3; \n\tFri, 15 Nov 2013 11:47:28 +0800 (CST)"
        ],
        "X-Virus-Scanned": [
            "Debian amavisd-new at theia.denx.de",
            "Debian amavisd-new at theia.denx.de"
        ],
        "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)",
        "From": "fenghua@phytium.com.cn",
        "To": "u-boot@lists.denx.de",
        "Date": "Fri, 15 Nov 2013 11:45:57 +0800",
        "Message-Id": "<1384487159-43032-9-git-send-email-fenghua@phytium.com.cn>",
        "X-Mailer": "git-send-email 1.7.9.5",
        "In-Reply-To": "<1384487159-43032-8-git-send-email-fenghua@phytium.com.cn>",
        "References": "<1384487159-43032-1-git-send-email-fenghua@phytium.com.cn>\n\t<1384487159-43032-2-git-send-email-fenghua@phytium.com.cn>\n\t<1384487159-43032-3-git-send-email-fenghua@phytium.com.cn>\n\t<1384487159-43032-4-git-send-email-fenghua@phytium.com.cn>\n\t<1384487159-43032-5-git-send-email-fenghua@phytium.com.cn>\n\t<1384487159-43032-6-git-send-email-fenghua@phytium.com.cn>\n\t<1384487159-43032-7-git-send-email-fenghua@phytium.com.cn>\n\t<1384487159-43032-8-git-send-email-fenghua@phytium.com.cn>",
        "X-CM-TRANSID": "TAGowJDbP65PmYVSfR02AA--.17684S3",
        "X-Coremail-Antispam": "1UD129KBjvJXoW7ArW8Kr17uF4kuFy3AF1DZFb_yoW8Cw43pr\n\t1xAa15GryrK3y7X3ykZwnI9FZayrn5tryjqryUGr4UC348Aw4fJrn7Kw43WrZIgrZ7ZF4k\n\tJF1ktwnxuw4Y9w7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2\n\t9KBjDU0xBIdaVrnRJUUUHYb7IF0VCYb41lb7IF0VCFI7km07C26c804VAKzcIF0wAYjxAI\n\t6xZILanIXVAFwwAYjxAI6IIYrVAFwwAYjsxI4VWUJwAYFVCjjxCrM7AC8VAFwI0_Gr0_Xr\n\t1l1xkIjI8I6I8E6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK\n\t0II2c7xJM28CjxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWUCVW8JwA2z4\n\tx0Y4vE2Ix0cI8IcVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4j6F4UM28E\n\tF7xvwVC2z280aVCY1x0267AKxVW8JVW8Jr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjx\n\tCE34x0Y48IcwAqx4xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jw0_Wryl\n\tYx0Ex4A2jsIE14v26r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrw\n\tACjI8F5VA0II8E6IAqYI8I648v4I1lw4CEc2x0rVAKj4xxMxkIecxEwVAFwVW8GwCF04k2\n\t0xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7vE0wC20s026c02F40E14v26r\n\t1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_JF0_Jw1lIxkGc2Ij\n\t64vIr41lIxAIcVC0I7IYx2IY67AKxVWUCVW8JwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr\n\t0_Cr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF\n\t0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x0b01Uo7UUUUU=",
        "X-Originating-IP": "[220.202.153.92]",
        "X-CM-SenderInfo": "pihqwxdxd61x51wl3zoofrzhdfq/",
        "Cc": "trini@ti.com, scottwood@freescale.com",
        "Subject": "[U-Boot] [PATCH v15 08/10] arm64: generic board support",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.11",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<http://lists.denx.de/mailman/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": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "u-boot-bounces@lists.denx.de",
        "Errors-To": "u-boot-bounces@lists.denx.de"
    },
    "content": "From: David Feng <fenghua@phytium.com.cn>\n\nSigned-off-by: David Feng <fenghua@phytium.com.cn>\n---\n common/board_f.c |   20 +++++++++++++-------\n 1 file changed, 13 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/common/board_f.c b/common/board_f.c\nindex f0664bc..d918e4b 100644\n--- a/common/board_f.c\n+++ b/common/board_f.c\n@@ -462,7 +462,7 @@ static int reserve_round_4k(void)\n static int reserve_mmu(void)\n {\n \t/* reserve TLB table */\n-\tgd->arch.tlb_size = 4096 * 4;\n+\tgd->arch.tlb_size = PGTABLE_SIZE;\n \tgd->relocaddr -= gd->arch.tlb_size;\n \n \t/* round down to next 64 kB limit */\n@@ -614,7 +614,7 @@ static int reserve_stacks(void)\n \t * TODO(sjg@chromium.org): Perhaps create arch_reserve_stack()\n \t * to handle this and put in arch/xxx/lib/stack.c\n \t */\n-# ifdef CONFIG_ARM\n+# if defined(CONFIG_ARM) && !defined(CONFIG_ARM64)\n #  ifdef CONFIG_USE_IRQ\n \tgd->start_addr_sp -= (CONFIG_STACKSIZE_IRQ + CONFIG_STACKSIZE_FIQ);\n \tdebug(\"Reserving %zu Bytes for IRQ stack at: %08lx\\n\",\n@@ -811,11 +811,6 @@ static int mark_bootstage(void)\n }\n \n static init_fnc_t init_sequence_f[] = {\n-#if !defined(CONFIG_CPM2) && !defined(CONFIG_MPC512X) && \\\n-\t\t!defined(CONFIG_MPC83xx) && !defined(CONFIG_MPC85xx) && \\\n-\t\t!defined(CONFIG_MPC86xx) && !defined(CONFIG_X86)\n-\tzero_global_data,\n-#endif\n #ifdef CONFIG_SANDBOX\n \tsetup_ram_buf,\n #endif\n@@ -1009,6 +1004,17 @@ void board_init_f(ulong boot_flags)\n \tgd = &data;\n #endif\n \n+\t/*\n+\t * Clear global data before it is accessed at debug print\n+\t * in initcall_run_list. Otherwise the debug print probably\n+\t * get the wrong vaule of gd->have_console.\n+\t */\n+#if !defined(CONFIG_CPM2) && !defined(CONFIG_MPC512X) && \\\n+\t\t!defined(CONFIG_MPC83xx) && !defined(CONFIG_MPC85xx) && \\\n+\t\t!defined(CONFIG_MPC86xx) && !defined(CONFIG_X86)\n+\tzero_global_data();\n+#endif\n+\n \tgd->flags = boot_flags;\n \n \tif (initcall_run_list(init_sequence_f))\n",
    "prefixes": [
        "U-Boot",
        "v15",
        "08/10"
    ]
}