get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 223,
    "url": "http://patchwork.ozlabs.org/api/patches/223/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1220989419-26861-1-git-send-email-timur@freescale.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": "<1220989419-26861-1-git-send-email-timur@freescale.com>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1220989419-26861-1-git-send-email-timur@freescale.com/",
    "date": "2008-09-09T19:43:39",
    "name": "powerpc: fix interrupt values for DMA2 in MPC8610 HPCD device tree",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7b4ac0d5fa9d11170ef00d133ec490c1edcebe83",
    "submitter": {
        "id": 124,
        "url": "http://patchwork.ozlabs.org/api/people/124/?format=api",
        "name": "Timur Tabi",
        "email": "timur@freescale.com"
    },
    "delegate": {
        "id": 9,
        "url": "http://patchwork.ozlabs.org/api/users/9/?format=api",
        "username": "galak",
        "first_name": "Kumar",
        "last_name": "Gala",
        "email": "galak@kernel.crashing.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1220989419-26861-1-git-send-email-timur@freescale.com/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/223/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/223/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org>",
        "X-Original-To": [
            "patchwork@ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork@ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Received": [
            "from ozlabs.org (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id 1EB59DE877\n\tfor <patchwork@ozlabs.org>; Wed, 10 Sep 2008 05:44:15 +1000 (EST)",
            "from de01egw02.freescale.net (de01egw02.freescale.net\n\t[192.88.165.103])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client CN \"de01egw02.freescale.net\",\n\tIssuer \"Thawte Premium Server CA\" (verified OK))\n\tby ozlabs.org (Postfix) with ESMTPS id 2BC41DDEE8\n\tfor <linuxppc-dev@ozlabs.org>; Wed, 10 Sep 2008 05:43:49 +1000 (EST)",
            "from de01smr01.freescale.net (de01smr01.freescale.net\n\t[10.208.0.31])\n\tby de01egw02.freescale.net (8.12.11/de01egw02) with ESMTP id\n\tm89JheJW020882; Tue, 9 Sep 2008 12:43:40 -0700 (MST)",
            "from localhost.localdomain (ld0169-tx32.am.freescale.net\n\t[10.82.19.119])\n\tby de01smr01.freescale.net (8.13.1/8.13.0) with ESMTP id\n\tm89JhdUH028189; Tue, 9 Sep 2008 14:43:39 -0500 (CDT)"
        ],
        "From": "Timur Tabi <timur@freescale.com>",
        "To": "galak@kernel.crashing.org, linuxppc-dev@ozlabs.org",
        "Subject": "[PATCH v2] powerpc: fix interrupt values for DMA2 in MPC8610 HPCD\n\tdevice tree",
        "Date": "Tue,  9 Sep 2008 14:43:39 -0500",
        "Message-Id": "<1220989419-26861-1-git-send-email-timur@freescale.com>",
        "X-Mailer": "git-send-email 1.5.5",
        "X-BeenThere": "linuxppc-dev@ozlabs.org",
        "X-Mailman-Version": "2.1.11",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List <linuxppc-dev.ozlabs.org>",
        "List-Unsubscribe": "<https://ozlabs.org/mailman/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://ozlabs.org/pipermail/linuxppc-dev>",
        "List-Post": "<mailto:linuxppc-dev@ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@ozlabs.org?subject=help>",
        "List-Subscribe": "<https://ozlabs.org/mailman/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=subscribe>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org",
        "Errors-To": "linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org"
    },
    "content": "For Freescale 8xxx devices that use an MPIC, the interrupt numbers in the\ndevice tree must be 16 greater than the values documented in the reference\nmanual.  In these chips, the MPIC is wired to use the first 16 numbers for\nexternal interrupts, but the documentation numbers internal interrupts from 0.\n\nIn the MPC8610 HPCD device tree, the interrupt properties for the DMA channels\nfor DMA2 were not the adjusted values.  This patch fixes that.\n\nSigned-off-by: Timur Tabi <timur@freescale.com>",
    "diff": "diff --git a/arch/powerpc/boot/dts/mpc8610_hpcd.dts b/arch/powerpc/boot/dts/mpc8610_hpcd.dts\nindex 3b3a106..584a4f1 100644\n--- a/arch/powerpc/boot/dts/mpc8610_hpcd.dts\n+++ b/arch/powerpc/boot/dts/mpc8610_hpcd.dts\n@@ -281,7 +281,7 @@\n \t\t\t\tcell-index = <0>;\n \t\t\t\treg = <0x0 0x80>;\n \t\t\t\tinterrupt-parent = <&mpic>;\n-\t\t\t\tinterrupts = <60 2>;\n+\t\t\t\tinterrupts = <76 2>;\n \t\t\t};\n \t\t\tdma-channel@1 {\n \t\t\t\tcompatible = \"fsl,mpc8610-dma-channel\",\n@@ -289,7 +289,7 @@\n \t\t\t\tcell-index = <1>;\n \t\t\t\treg = <0x80 0x80>;\n \t\t\t\tinterrupt-parent = <&mpic>;\n-\t\t\t\tinterrupts = <61 2>;\n+\t\t\t\tinterrupts = <77 2>;\n \t\t\t};\n \t\t\tdma-channel@2 {\n \t\t\t\tcompatible = \"fsl,mpc8610-dma-channel\",\n@@ -297,7 +297,7 @@\n \t\t\t\tcell-index = <2>;\n \t\t\t\treg = <0x100 0x80>;\n \t\t\t\tinterrupt-parent = <&mpic>;\n-\t\t\t\tinterrupts = <62 2>;\n+\t\t\t\tinterrupts = <78 2>;\n \t\t\t};\n \t\t\tdma-channel@3 {\n \t\t\t\tcompatible = \"fsl,mpc8610-dma-channel\",\n@@ -305,7 +305,7 @@\n \t\t\t\tcell-index = <3>;\n \t\t\t\treg = <0x180 0x80>;\n \t\t\t\tinterrupt-parent = <&mpic>;\n-\t\t\t\tinterrupts = <63 2>;\n+\t\t\t\tinterrupts = <79 2>;\n \t\t\t};\n \t\t};\n \n",
    "prefixes": []
}