get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 806950,
    "url": "http://patchwork.ozlabs.org/api/patches/806950/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1503983351-27984-1-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": "<1503983351-27984-1-git-send-email-bmeng.cn@gmail.com>",
    "list_archive_url": null,
    "date": "2017-08-29T05:09:11",
    "name": "[U-Boot] x86: baytrail: acpi: Add full reset bit to the reset register value in FADT",
    "commit_ref": "3fe6e6e2aa084d857af8a7e4663baf0451c33b30",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "0b0feef67bd131cd568cb074d41d9efeca09de61",
    "submitter": {
        "id": 64981,
        "url": "http://patchwork.ozlabs.org/api/people/64981/?format=api",
        "name": "Bin Meng",
        "email": "bmeng.cn@gmail.com"
    },
    "delegate": {
        "id": 56520,
        "url": "http://patchwork.ozlabs.org/api/users/56520/?format=api",
        "username": "bmeng",
        "first_name": "Bin",
        "last_name": "Meng",
        "email": "bmeng.cn@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1503983351-27984-1-git-send-email-bmeng.cn@gmail.com/mbox/",
    "series": [
        {
            "id": 308,
            "url": "http://patchwork.ozlabs.org/api/series/308/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=308",
            "date": "2017-08-29T05:09:11",
            "name": "[U-Boot] x86: baytrail: acpi: Add full reset bit to the reset register value in FADT",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/308/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/806950/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/806950/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\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"S8bui09r\"; dkim-atps=neutral"
        ],
        "Received": [
            "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhJCL31SXz9s0g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 29 Aug 2017 16:10:22 +1000 (AEST)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid C3EF1C21E27; Tue, 29 Aug 2017 05:43:26 +0000 (UTC)",
            "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 67316C221D8;\n\tTue, 29 Aug 2017 05:43:17 +0000 (UTC)",
            "by lists.denx.de (Postfix, from userid 105)\n\tid DD410C2211D; Tue, 29 Aug 2017 05:07:19 +0000 (UTC)",
            "from mail-io0-f195.google.com (mail-io0-f195.google.com\n\t[209.85.223.195])\n\tby lists.denx.de (Postfix) with ESMTPS id F0D7BC21EFC\n\tfor <u-boot@lists.denx.de>; Tue, 29 Aug 2017 05:04:49 +0000 (UTC)",
            "by mail-io0-f195.google.com with SMTP id v96so2388080ioi.3\n\tfor <u-boot@lists.denx.de>; Mon, 28 Aug 2017 22:04:49 -0700 (PDT)",
            "from ala-d2121-lx1.wrs.com (unknown-156-139.windriver.com.\n\t[147.11.156.139]) by smtp.gmail.com with ESMTPSA id\n\tf125sm390593ita.29.2017.08.28.22.04.45\n\t(version=TLS1_1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 28 Aug 2017 22:04:46 -0700 (PDT)"
        ],
        "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=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:subject:date:message-id;\n\tbh=lZ/yPNClda+pRV/zio4MaQcPlKoS2f4+A1Uvpa6Ocw8=;\n\tb=S8bui09rogduTZt/PCMPQsU5TOXQaakJNMzuOcNaUeW/gr5HCXu0xor00OtmNsZ9yp\n\tVP93v4DmfFIV9gH04xNf0uaPmtrIlwBqDyUnVtDI6A0eQ5xDXVKhNDtdVtOkLwAk7luN\n\tuQDox0reBKBGvI0BUPAoNNIdO5ZT/sp5jrVtlo0mhPk+GZTFQgMDplfJljZtfUE/LLaw\n\tKo52cAMpG5G6DuFLj0djpJ+IikSM85wTFvZ+SsPWCLw8URqp2dpaqtl0bZmUmO1oOlxL\n\t0eYJK41OeacxHz3c/GsC+YOEsnt9rmAk+3U50i4guUi4CNr647+ByEUXZbM79TN4pcfp\n\tbTfg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:subject:date:message-id;\n\tbh=lZ/yPNClda+pRV/zio4MaQcPlKoS2f4+A1Uvpa6Ocw8=;\n\tb=BQvRjrEXVtIQg9QuQtLOw/ODq2KlEERIbHd/5T0w2/PC9qAczo9PZ81iYacRk7yXJ7\n\tX7ba65Y7ur8ID6XWp7qk0iKCtczTmELcZkHd+yphrZRMzPIYxb6RRwOyJc4M6v5zWQZN\n\tPEZ54JMxP5+QprUivVgVExkcwoxgo5LiJfPEYgZ2kfRCvdjv3XlWzV6MqrpcG4xUuqRj\n\t2VCyVssu9jT3pOt1ulcEpXBn0OpaH669DFKAdLJcUDpmNWZfGteEowAquTM8BRRsCqhV\n\twPLfF+0VeBqAcH99Wn3mS7HTdYrmMpStTcHy5FcHFrtaSPAm3DFgbpC1ra+jW1r7ikNc\n\tasaw==",
        "X-Gm-Message-State": "AHYfb5gQ3cfE3mbe4D4+nj9/2G2/dIZoh5/bts7WLWllb3HLh4M5i9xc\n\tcJAj4UPWDFQJ8A==",
        "X-Received": "by 10.36.189.193 with SMTP id x184mr2953900ite.30.1503983087169; \n\tMon, 28 Aug 2017 22:04:47 -0700 (PDT)",
        "From": "Bin Meng <bmeng.cn@gmail.com>",
        "To": "Stefan Roese <sr@denx.de>, Simon Glass <sjg@chromium.org>,\n\tU-Boot Mailing List <u-boot@lists.denx.de>",
        "Date": "Mon, 28 Aug 2017 22:09:11 -0700",
        "Message-Id": "<1503983351-27984-1-git-send-email-bmeng.cn@gmail.com>",
        "X-Mailer": "git-send-email 1.7.9.5",
        "Subject": "[U-Boot] [PATCH] x86: baytrail: acpi: Add full reset bit to the\n\treset register value in FADT",
        "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": "It was noticed a few times, that the reboot from Linux (reboot command)\nis different from the reboot (reset command) under U-Boot. The U-Boot\nversion does seem to reset the board more deeply (PCI cards etc) than\nthe Linux reboot.\n\nThis is actually caused by missing full reset bit in the reset register\nvalue in the ACPI FADT table.\n\nReported-by: Stefan Roese <sr@denx.de>\nSigned-off-by: Bin Meng <bmeng.cn@gmail.com>\n---\n\n arch/x86/cpu/baytrail/acpi.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/arch/x86/cpu/baytrail/acpi.c b/arch/x86/cpu/baytrail/acpi.c\nindex cbefdf8..7aac634 100644\n--- a/arch/x86/cpu/baytrail/acpi.c\n+++ b/arch/x86/cpu/baytrail/acpi.c\n@@ -73,7 +73,7 @@ void acpi_create_fadt(struct acpi_fadt *fadt, struct acpi_facs *facs,\n \tfadt->reset_reg.access_size = ACPI_ACCESS_SIZE_BYTE_ACCESS;\n \tfadt->reset_reg.addrl = IO_PORT_RESET;\n \tfadt->reset_reg.addrh = 0;\n-\tfadt->reset_value = SYS_RST | RST_CPU;\n+\tfadt->reset_value = SYS_RST | RST_CPU | FULL_RST;\n \n \tfadt->x_firmware_ctl_l = (u32)facs;\n \tfadt->x_firmware_ctl_h = 0;\n",
    "prefixes": [
        "U-Boot"
    ]
}