get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 807393,
    "url": "http://patchwork.ozlabs.org/api/patches/807393/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1504066360-30128-2-git-send-email-paulus@ozlabs.org/",
    "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": "<1504066360-30128-2-git-send-email-paulus@ozlabs.org>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1504066360-30128-2-git-send-email-paulus@ozlabs.org/",
    "date": "2017-08-30T04:12:24",
    "name": "[v3,01/17] powerpc: Correct instruction code for xxlor instruction",
    "commit_ref": "93b2d3cf3733b4060d3623161551f51ea1ab5499",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "bf2e429da328d89367c03d1d2319f1220f290c6b",
    "submitter": {
        "id": 67079,
        "url": "http://patchwork.ozlabs.org/api/people/67079/?format=api",
        "name": "Paul Mackerras",
        "email": "paulus@ozlabs.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1504066360-30128-2-git-send-email-paulus@ozlabs.org/mbox/",
    "series": [
        {
            "id": 522,
            "url": "http://patchwork.ozlabs.org/api/series/522/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=522",
            "date": "2017-08-30T04:12:25",
            "name": "powerpc: Do alignment fixups using analyse_instr etc.",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/522/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/807393/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/807393/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",
            "linuxppc-dev@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 3xhsjH1m4zz9sNc\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 30 Aug 2017 14:19:47 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xhsjH0LXYzDqTr\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 30 Aug 2017 14:19:47 +1000 (AEST)",
            "from ozlabs.org (bilbo.ozlabs.org [103.22.144.67])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xhsYF4ZFYzDqGV\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tWed, 30 Aug 2017 14:12:49 +1000 (AEST)",
            "by ozlabs.org (Postfix)\n\tid 3xhsYF46kyz9sNc; Wed, 30 Aug 2017 14:12:49 +1000 (AEST)",
            "from authenticated.ozlabs.org (localhost [127.0.0.1])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPSA id 3xhsYF35h3z9sPt\n\tfor <linuxppc-dev@ozlabs.org>; Wed, 30 Aug 2017 14:12:49 +1000 (AEST)"
        ],
        "Authentication-Results": [
            "ozlabs.org; dkim=pass (2048-bit key;\n\tsecure) header.d=ozlabs.org header.i=@ozlabs.org header.b=\"XCjWYT0g\";\n\tdkim-atps=neutral",
            "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tsecure) header.d=ozlabs.org header.i=@ozlabs.org header.b=\"XCjWYT0g\";\n\tdkim-atps=neutral",
            "lists.ozlabs.org; dkim=pass (2048-bit key;\n\tsecure) header.d=ozlabs.org header.i=@ozlabs.org header.b=\"XCjWYT0g\"; \n\tdkim-atps=neutral"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ozlabs.org; s=201707; \n\tt=1504066369; bh=W+D8EsPpWJeuhEniv8cpwptqW9TgiHb6U5tWz277w+k=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=XCjWYT0g5OyKu6gzVmdfxkef7DNseIw9KXoAbdEktQt0xj1/2RrLTPGXCrwlAwpwu\n\tWxxf9nC7lBbF8kuejvF3P4it/4DmjOz3hVwK9sWWNddX5/kiIc0YIU4E6wjxC9equz\n\ttXiggVbEQG+7kT5u3jpCqwsIgEpSHS8QLwonUIZFBwW5pMIRgZkfJpeH/pGE9iaSE2\n\tScvH5F9NzjapD571KoUKFKdnV8+BMdEsA20tjaQyvWtsgOdPtph/0Zz2NFevw3uysi\n\tAK7+7xAsCyj35pakWue7z+9tw0bUr1BOhj+bgSGIZci+lEuZlpmQHSW1NDfc/cHNG/\n\tShvGRlVfe3zIQ==",
        "From": "Paul Mackerras <paulus@ozlabs.org>",
        "To": "linuxppc-dev@ozlabs.org",
        "Subject": "[PATCH v3 01/17] powerpc: Correct instruction code for xxlor\n\tinstruction",
        "Date": "Wed, 30 Aug 2017 14:12:24 +1000",
        "Message-Id": "<1504066360-30128-2-git-send-email-paulus@ozlabs.org>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1504066360-30128-1-git-send-email-paulus@ozlabs.org>",
        "References": "<1504066360-30128-1-git-send-email-paulus@ozlabs.org>",
        "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": "The instruction code for xxlor that commit 0016a4cf5582 (\"powerpc:\nEmulate most Book I instructions in emulate_step()\", 2010-06-15)\nadded is actually the code for xxlnor.  It is used in get_vsr()\nand put_vsr() and the effect of the error is that if emulate_step\nis used to emulate a VSX load or store from any register other\nthan vsr0, the bitwise complement of the correct value will be\nloaded or stored.  This corrects the error.\n\nFixes: 0016a4cf5582 (\"powerpc: Emulate most Book I instructions in emulate_step()\")\nSigned-off-by: Paul Mackerras <paulus@ozlabs.org>\n---\n arch/powerpc/include/asm/ppc-opcode.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/arch/powerpc/include/asm/ppc-opcode.h b/arch/powerpc/include/asm/ppc-opcode.h\nindex 041ba15..8861289 100644\n--- a/arch/powerpc/include/asm/ppc-opcode.h\n+++ b/arch/powerpc/include/asm/ppc-opcode.h\n@@ -262,7 +262,7 @@\n #define PPC_INST_TLBSRX_DOT\t\t0x7c0006a5\n #define PPC_INST_VPMSUMW\t\t0x10000488\n #define PPC_INST_VPMSUMD\t\t0x100004c8\n-#define PPC_INST_XXLOR\t\t\t0xf0000510\n+#define PPC_INST_XXLOR\t\t\t0xf0000490\n #define PPC_INST_XXSWAPD\t\t0xf0000250\n #define PPC_INST_XVCPSGNDP\t\t0xf0000780\n #define PPC_INST_TRECHKPT\t\t0x7c0007dd\n",
    "prefixes": [
        "v3",
        "01/17"
    ]
}