get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 744341,
    "url": "http://patchwork.ozlabs.org/api/patches/744341/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1490714052-18902-2-git-send-email-clombard@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": "<1490714052-18902-2-git-send-email-clombard@linux.vnet.ibm.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1490714052-18902-2-git-send-email-clombard@linux.vnet.ibm.com/",
    "date": "2017-03-28T15:14:06",
    "name": "[V3,1/7] cxl: Read vsec perst load image",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "2af0504becfcf1f91614511bb2731b4326ef6125",
    "submitter": {
        "id": 67351,
        "url": "http://patchwork.ozlabs.org/api/people/67351/?format=api",
        "name": "Christophe Lombard",
        "email": "clombard@linux.vnet.ibm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1490714052-18902-2-git-send-email-clombard@linux.vnet.ibm.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/744341/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/744341/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 3vsvgj45Sbz9s2P\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 29 Mar 2017 02:19:13 +1100 (AEDT)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3vsvgj2WZBzDqgW\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 29 Mar 2017 02:19:13 +1100 (AEDT)",
            "from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com\n\t[148.163.156.1])\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 3vsvbX3ybQzDqC2\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 29 Mar 2017 02:14:49 +1100 (AEDT)",
            "from pps.filterd (m0098399.ppops.net [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id\n\tv2SFE0BR066428\n\tfor <linuxppc-dev@lists.ozlabs.org>; Tue, 28 Mar 2017 11:14:47 -0400",
            "from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106])\n\tby mx0a-001b2d01.pphosted.com with ESMTP id 29ft0b1fqf-1\n\t(version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT)\n\tfor <linuxppc-dev@lists.ozlabs.org>; Tue, 28 Mar 2017 11:14:46 -0400",
            "from localhost\n\tby e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use\n\tOnly! Violators will be prosecuted\n\tfor <linuxppc-dev@lists.ozlabs.org> from\n\t<clombard@linux.vnet.ibm.com>; Tue, 28 Mar 2017 16:14:44 +0100",
            "from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194)\n\tby e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP\n\tGateway: Authorized Use Only! Violators will be prosecuted; \n\tTue, 28 Mar 2017 16:14:41 +0100",
            "from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com\n\t[9.149.105.232])\n\tby b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with\n\tESMTP id v2SFEF7p15794520; Tue, 28 Mar 2017 15:14:15 GMT",
            "from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id 3C44C52067;\n\tTue, 28 Mar 2017 15:12:30 +0100 (BST)",
            "from lombard-w520.ibm.com (unknown [9.167.235.7])\n\tby d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id AA7EE52065; \n\tTue, 28 Mar 2017 15:12:29 +0100 (BST)"
        ],
        "From": "Christophe Lombard <clombard@linux.vnet.ibm.com>",
        "To": "linuxppc-dev@lists.ozlabs.org, fbarrat@linux.vnet.ibm.com,\n\timunsie@au1.ibm.com, andrew.donnellan@au1.ibm.com",
        "Subject": "[PATCH V3 1/7] cxl: Read vsec perst load image",
        "Date": "Tue, 28 Mar 2017 17:14:06 +0200",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1490714052-18902-1-git-send-email-clombard@linux.vnet.ibm.com>",
        "References": "<1490714052-18902-1-git-send-email-clombard@linux.vnet.ibm.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-TM-AS-GCONF": "00",
        "x-cbid": "17032815-0040-0000-0000-00000355115A",
        "X-IBM-AV-DETECTION": "SAVI=unused REMOTE=unused XFE=unused",
        "x-cbparentid": "17032815-0041-0000-0000-000024B70357",
        "Message-Id": "<1490714052-18902-2-git-send-email-clombard@linux.vnet.ibm.com>",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10432:, ,\n\tdefinitions=2017-03-28_12:, , signatures=0",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n\tspamscore=0 suspectscore=0\n\tmalwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam\n\tadjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001\n\tdefinitions=main-1703280131",
        "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>",
        "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": "This bit is used to cause a flash image load for programmable\nCAIA-compliant implementation. If this bit is set to ‘0’, a power\ncycle of the adapter is required to load a programmable CAIA-com-\npliant implementation from flash.\nThis field will be used by the following patches.\n\nSigned-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>\n---\n drivers/misc/cxl/pci.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c\nindex 91f6459..e82a207 100644\n--- a/drivers/misc/cxl/pci.c\n+++ b/drivers/misc/cxl/pci.c\n@@ -1332,6 +1332,7 @@ static int cxl_read_vsec(struct cxl *adapter, struct pci_dev *dev)\n \tCXL_READ_VSEC_IMAGE_STATE(dev, vsec, &image_state);\n \tadapter->user_image_loaded = !!(image_state & CXL_VSEC_USER_IMAGE_LOADED);\n \tadapter->perst_select_user = !!(image_state & CXL_VSEC_USER_IMAGE_LOADED);\n+\tadapter->perst_loads_image = !!(image_state & CXL_VSEC_PERST_LOADS_IMAGE);\n \n \tCXL_READ_VSEC_NAFUS(dev, vsec, &adapter->slices);\n \tCXL_READ_VSEC_AFU_DESC_OFF(dev, vsec, &afu_desc_off);\n",
    "prefixes": [
        "V3",
        "1/7"
    ]
}