get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 800959,
    "url": "http://patchwork.ozlabs.org/api/patches/800959/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170813013346.14002-2-npiggin@gmail.com/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<20170813013346.14002-2-npiggin@gmail.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20170813013346.14002-2-npiggin@gmail.com/",
    "date": "2017-08-13T01:33:39",
    "name": "[v2,2/9] powerpc/powernv: powernv platform is not constrained by RMA",
    "commit_ref": "76b42e28beb5ed615b093e2abb28a7064173f2ad",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "85c0c2248f4b67328ce3574acecf049d12be73fe",
    "submitter": {
        "id": 69518,
        "url": "http://patchwork.ozlabs.org/api/people/69518/?format=api",
        "name": "Nicholas Piggin",
        "email": "npiggin@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20170813013346.14002-2-npiggin@gmail.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/800959/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/800959/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xVMFc56Tzz9sPs\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSun, 13 Aug 2017 11:52:52 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xVMFc3gHqzDrSJ\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSun, 13 Aug 2017 11:52:52 +1000 (AEST)",
            "from mail-pf0-x243.google.com (mail-pf0-x243.google.com\n\t[IPv6:2607:f8b0:400e:c00::243])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xVLrB19ZpzDr2n\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSun, 13 Aug 2017 11:34:18 +1000 (AEST)",
            "by mail-pf0-x243.google.com with SMTP id p13so6785026pfd.4\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSat, 12 Aug 2017 18:34:18 -0700 (PDT)",
            "from roar.local0.net (203-219-56-202.tpgi.com.au. [203.219.56.202])\n\tby smtp.gmail.com with ESMTPSA id\n\tu69sm7776237pfa.70.2017.08.12.18.34.12\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tSat, 12 Aug 2017 18:34:14 -0700 (PDT)"
        ],
        "Authentication-Results": [
            "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=\"RPQqADCK\"; dkim-atps=neutral",
            "lists.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=\"RPQqADCK\"; dkim-atps=neutral",
            "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"RPQqADCK\"; dkim-atps=neutral"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=22LusXIs0Rh37tS35xge/exZzgVpt72JM5xrr4J/tOk=;\n\tb=RPQqADCKGiK4LLKuUwFO4to/y2ntdBlD74tg+qpJ/kisI1U70jIeTQI3tYgrGcmHqK\n\tUxy/CJqZa9ZhhCBFuhOZVzpVbBG524p20nURXyAlYp+0H7BCtfqmtr6rYpCBK5HkqxWg\n\tmbcKpj5u/7sncvQwzL4NSnTQ3tf69dTZSSb44xXVYEsKdqQLsbp6lEg2MPMkfdgbQgV9\n\tJoIT7adNb/aem06GfdpcLB2oUFEM1gctSuGXYEvVKI8exBy0wfd9Wp2WLcpxHfNShQKt\n\tHRoAguEB68Iobyx1+UNamnBsz0ZiONtETUOXwMp8NwDHkEwNAAuBdIgSuMXn3x36J1yy\n\tpLuw==",
        "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:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=22LusXIs0Rh37tS35xge/exZzgVpt72JM5xrr4J/tOk=;\n\tb=N+bKYruDctHnTPiKxgfxebxk8BHU32BCYphgN8mefERYI0R/xW3BBG9nmYWSrHtaNc\n\taLx8/SeAX6EkrsMp3+8Q03u6stgAwIQcvLfgCCPhsvIBX1MxKPtmGV/ZHq+jmrfZAMFZ\n\tT9ZOl/ZVq0ztdYVyERt01ydLKE1B8DWaeK42YWZ5Rmzq/KcjpX26klemJOs3iFM0nR3m\n\tqwYxE+jfsqgg3ab0EBoaECw9897eOJp3mbGLW9PYd69qqdAYA0wq7Phz4+1rTC9jauZm\n\tqbbPkd9j//KeNXx8xP9QmSAqtysYOAvc6TEJmUwoMuYqxmim3arIuqH2y7+b1Xi/tteY\n\tjyoA==",
        "X-Gm-Message-State": "AHYfb5gRHsge4+Ixy59D/1irWENlSYgEvbKVTn7oCB79gDhc63fZM1o3\n\thXMklb2GNxMAb7rG",
        "X-Received": "by 10.99.110.1 with SMTP id j1mr19604691pgc.218.1502588055946;\n\tSat, 12 Aug 2017 18:34:15 -0700 (PDT)",
        "From": "Nicholas Piggin <npiggin@gmail.com>",
        "To": "linuxppc-dev@lists.ozlabs.org",
        "Subject": "[PATCH v2 2/9] powerpc/powernv: powernv platform is not constrained\n\tby RMA",
        "Date": "Sun, 13 Aug 2017 11:33:39 +1000",
        "Message-Id": "<20170813013346.14002-2-npiggin@gmail.com>",
        "X-Mailer": "git-send-email 2.13.3",
        "In-Reply-To": "<20170812113416.15978-1-npiggin@gmail.com>",
        "References": "<20170812113416.15978-1-npiggin@gmail.com>",
        "X-BeenThere": "linuxppc-dev@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.23",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>",
        "Cc": "kvm-ppc@vger.kernel.org, Nicholas Piggin <npiggin@gmail.com>",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"
    },
    "content": "Remove incorrect comment about real mode address restrictions on\npowernv (bare metal), and unnecessary clamping to ppc64_rma_size.\n\nSigned-off-by: Nicholas Piggin <npiggin@gmail.com>\n---\n arch/powerpc/platforms/powernv/opal.c | 7 ++-----\n 1 file changed, 2 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/arch/powerpc/platforms/powernv/opal.c b/arch/powerpc/platforms/powernv/opal.c\nindex cad6b57ce494..caf60583293a 100644\n--- a/arch/powerpc/platforms/powernv/opal.c\n+++ b/arch/powerpc/platforms/powernv/opal.c\n@@ -162,12 +162,9 @@ int __init early_init_dt_scan_recoverable_ranges(unsigned long node,\n \t\t\tsizeof(struct mcheck_recoverable_range);\n \n \t/*\n-\t * Allocate a buffer to hold the MC recoverable ranges. We would be\n-\t * accessing them in real mode, hence it needs to be within\n-\t * RMO region.\n+\t * Allocate a buffer to hold the MC recoverable ranges.\n \t */\n-\tmc_recoverable_range =__va(memblock_alloc_base(size, __alignof__(u64),\n-\t\t\t\t\t\t\tppc64_rma_size));\n+\tmc_recoverable_range =__va(memblock_alloc(size, __alignof__(u64)));\n \tmemset(mc_recoverable_range, 0, size);\n \n \tfor (i = 0; i < mc_recoverable_range_len; i++) {\n",
    "prefixes": [
        "v2",
        "2/9"
    ]
}