get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 813093,
    "url": "http://patchwork.ozlabs.org/api/patches/813093/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/5e71ff87-13c4-7a7e-aa0b-29c299d480b3@linux.vnet.ibm.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": "<5e71ff87-13c4-7a7e-aa0b-29c299d480b3@linux.vnet.ibm.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/5e71ff87-13c4-7a7e-aa0b-29c299d480b3@linux.vnet.ibm.com/",
    "date": "2017-09-12T21:47:29",
    "name": "[V3,1/4] powerpc/firmware: Add definitions for new drc-info firmware feature",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "60939d4ff553be8e058d129933ef6488eae89aef",
    "submitter": {
        "id": 65104,
        "url": "http://patchwork.ozlabs.org/api/people/65104/?format=api",
        "name": "Michael Bringmann",
        "email": "mwb@linux.vnet.ibm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/5e71ff87-13c4-7a7e-aa0b-29c299d480b3@linux.vnet.ibm.com/mbox/",
    "series": [
        {
            "id": 2781,
            "url": "http://patchwork.ozlabs.org/api/series/2781/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=2781",
            "date": "2017-09-12T21:46:56",
            "name": "powerpc/devtree: Add support for 'ibm,drc-info' property",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/2781/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/813093/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/813093/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 [103.22.144.68])\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 3xsJPQ2B7fz9t3J\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 13 Sep 2017 07:50:18 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xsJPQ0zdpzDrJc\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 13 Sep 2017 07:50:18 +1000 (AEST)",
            "from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com\n\t[148.163.158.5])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xsJLJ2KfszDrJg\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 13 Sep 2017 07:47:36 +1000 (AEST)",
            "from pps.filterd (m0098417.ppops.net [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id\n\tv8CLj2kr074566\n\tfor <linuxppc-dev@lists.ozlabs.org>; Tue, 12 Sep 2017 17:47:33 -0400",
            "from e38.co.us.ibm.com (e38.co.us.ibm.com [32.97.110.159])\n\tby mx0a-001b2d01.pphosted.com with ESMTP id 2cxpge3883-1\n\t(version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT)\n\tfor <linuxppc-dev@lists.ozlabs.org>; Tue, 12 Sep 2017 17:47:33 -0400",
            "from localhost\n\tby e38.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use\n\tOnly! Violators will be prosecuted\n\tfor <linuxppc-dev@lists.ozlabs.org> from <mwb@linux.vnet.ibm.com>;\n\tTue, 12 Sep 2017 15:47:32 -0600",
            "from b03cxnp08027.gho.boulder.ibm.com (9.17.130.19)\n\tby e38.co.us.ibm.com (192.168.1.138) with IBM ESMTP SMTP Gateway:\n\tAuthorized Use Only! Violators will be prosecuted; \n\tTue, 12 Sep 2017 15:47:31 -0600",
            "from b03ledav005.gho.boulder.ibm.com\n\t(b03ledav005.gho.boulder.ibm.com [9.17.130.236])\n\tby b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with\n\tESMTP id v8CLlUZm65470484; Tue, 12 Sep 2017 14:47:30 -0700",
            "from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id 1BBC0BE039;\n\tTue, 12 Sep 2017 15:47:30 -0600 (MDT)",
            "from oc1554177480.ibm.com (unknown [9.53.92.230])\n\tby b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP id CE352BE03B;\n\tTue, 12 Sep 2017 15:47:29 -0600 (MDT)"
        ],
        "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=linux.vnet.ibm.com\n\t(client-ip=148.163.158.5; helo=mx0a-001b2d01.pphosted.com;\n\tenvelope-from=mwb@linux.vnet.ibm.com; receiver=<UNKNOWN>)",
        "To": "linuxppc-dev@lists.ozlabs.org",
        "From": "Michael Bringmann <mwb@linux.vnet.ibm.com>",
        "Subject": "[PATCH V3 1/4] powerpc/firmware: Add definitions for new drc-info\n\tfirmware feature",
        "Organization": "IBM Linux Technology Center",
        "In-Reply-To": "<531bfd59-97ed-0ea9-0a93-dea7eb415b77@linux.vnet.ibm.com>",
        "Date": "Tue, 12 Sep 2017 16:47:29 -0500",
        "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.0",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=utf-8",
        "Content-Language": "en-US",
        "Content-Transfer-Encoding": "8bit",
        "X-TM-AS-GCONF": "00",
        "x-cbid": "17091221-0028-0000-0000-000008593BA1",
        "X-IBM-SpamModules-Scores": "",
        "X-IBM-SpamModules-Versions": "BY=3.00007714; HX=3.00000241; KW=3.00000007;\n\tPH=3.00000004; SC=3.00000227; SDB=6.00916119; UDB=6.00460009;\n\tIPR=6.00696350; \n\tBA=6.00005587; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009;\n\tZB=6.00000000; \n\tZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00017130;\n\tXFM=3.00000015; UTC=2017-09-12 21:47:32",
        "X-IBM-AV-DETECTION": "SAVI=unused REMOTE=unused XFE=unused",
        "x-cbparentid": "17091221-0029-0000-0000-00003786D062",
        "Message-Id": "<5e71ff87-13c4-7a7e-aa0b-29c299d480b3@linux.vnet.ibm.com>",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-09-12_09:, , signatures=0",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=1\n\tmalwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam\n\tadjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000\n\tdefinitions=main-1709120307",
        "X-BeenThere": "linuxppc-dev@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.24",
        "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": "nfont@linux.vnet.ibm.com,\n\tMichael Bringmann from Kernel Team <mbringm@us.ibm.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": "Firmware Features: Define new bit flag representing the presence of\nnew device tree property \"ibm,drc-info\".  The flag is used to tell\nthe front end processor when the Linux kernel supports the new properties,\nand by the front end processor to tell the Linux kernel that the new\nproperty is present in the device tree.\n\nSigned-off-by: Michael Bringmann <mwb@linux.vnet.ibm.com>\n---\n arch/powerpc/include/asm/firmware.h       |    3 ++-\n arch/powerpc/include/asm/prom.h           |    1 +\n arch/powerpc/platforms/pseries/firmware.c |    1 +\n 3 files changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/arch/powerpc/include/asm/firmware.h b/arch/powerpc/include/asm/firmware.h\nindex 8645897..329d537 100644\n--- a/arch/powerpc/include/asm/firmware.h\n+++ b/arch/powerpc/include/asm/firmware.h\n@@ -51,6 +51,7 @@\n #define FW_FEATURE_BEST_ENERGY\tASM_CONST(0x0000000080000000)\n #define FW_FEATURE_TYPE1_AFFINITY ASM_CONST(0x0000000100000000)\n #define FW_FEATURE_PRRN\t\tASM_CONST(0x0000000200000000)\n+#define FW_FEATURE_DRC_INFO\tASM_CONST(0x0000000400000000)\n \n #ifndef __ASSEMBLY__\n \n@@ -67,7 +68,7 @@ enum {\n \t\tFW_FEATURE_CMO | FW_FEATURE_VPHN | FW_FEATURE_XCMO |\n \t\tFW_FEATURE_SET_MODE | FW_FEATURE_BEST_ENERGY |\n \t\tFW_FEATURE_TYPE1_AFFINITY | FW_FEATURE_PRRN |\n-\t\tFW_FEATURE_HPT_RESIZE,\n+\t\tFW_FEATURE_HPT_RESIZE | FW_FEATURE_DRC_INFO,\n \tFW_FEATURE_PSERIES_ALWAYS = 0,\n \tFW_FEATURE_POWERNV_POSSIBLE = FW_FEATURE_OPAL,\n \tFW_FEATURE_POWERNV_ALWAYS = 0,\ndiff --git a/arch/powerpc/include/asm/prom.h b/arch/powerpc/include/asm/prom.h\nindex 35c00d7..4fb02cc 100644\n--- a/arch/powerpc/include/asm/prom.h\n+++ b/arch/powerpc/include/asm/prom.h\n@@ -172,6 +172,7 @@ struct of_drconf_cell {\n #define OV5_HASH_GTSE\t\t0x1940\t/* Guest Translation Shoot Down Avail */\n /* Radix Table Extensions */\n #define OV5_RADIX_GTSE\t\t0x1A40\t/* Guest Translation Shoot Down Avail */\n+#define OV5_DRC_INFO\t\t0x1640\t/* Redef Prop Structures: drc-info   */\n \n /* Option Vector 6: IBM PAPR hints */\n #define OV6_LINUX\t\t0x02\t/* Linux is our OS */\ndiff --git a/arch/powerpc/platforms/pseries/firmware.c b/arch/powerpc/platforms/pseries/firmware.c\nindex 63cc82a..757d757 100644\n--- a/arch/powerpc/platforms/pseries/firmware.c\n+++ b/arch/powerpc/platforms/pseries/firmware.c\n@@ -114,6 +114,7 @@ struct vec5_fw_feature {\n vec5_fw_features_table[] = {\n \t{FW_FEATURE_TYPE1_AFFINITY,\tOV5_TYPE1_AFFINITY},\n \t{FW_FEATURE_PRRN,\t\tOV5_PRRN},\n+\t{FW_FEATURE_DRC_INFO,\t\tOV5_DRC_INFO},\n };\n \n static void __init fw_vec5_feature_init(const char *vec5, unsigned long len)\n",
    "prefixes": [
        "V3",
        "1/4"
    ]
}