get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1284,
    "url": "http://patchwork.ozlabs.org/api/patches/1284/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1222262654.4257.4.camel@johannes.berg/",
    "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": "<1222262654.4257.4.camel@johannes.berg>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1222262654.4257.4.camel@johannes.berg/",
    "date": "2008-09-24T13:24:14",
    "name": "powerpc: enforce sane MAX_ORDER",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "761e521fbeff84429a5cdeb3c87e5a009371662f",
    "submitter": {
        "id": 265,
        "url": "http://patchwork.ozlabs.org/api/people/265/?format=api",
        "name": "Johannes Berg",
        "email": "johannes@sipsolutions.net"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1222262654.4257.4.camel@johannes.berg/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/1284/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1284/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@ozlabs.org"
        ],
        "Received": [
            "from ozlabs.org (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id 1D670DDE04\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 24 Sep 2008 23:25:31 +1000 (EST)",
            "from sipsolutions.net (xc.sipsolutions.net [83.246.72.84])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\tby ozlabs.org (Postfix) with ESMTPS id 6A2ADDDF37\n\tfor <linuxppc-dev@ozlabs.org>; Wed, 24 Sep 2008 23:25:19 +1000 (EST)",
            "by sipsolutions.net with esmtpsa\n\t(TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.69) (envelope-from <johannes@sipsolutions.net>)\n\tid 1KiUMg-0005if-Kp; Wed, 24 Sep 2008 15:25:11 +0200"
        ],
        "Subject": "[PATCH] powerpc: enforce sane MAX_ORDER",
        "From": "Johannes Berg <johannes@sipsolutions.net>",
        "To": "linuxppc-dev list <linuxppc-dev@ozlabs.org>",
        "Date": "Wed, 24 Sep 2008 15:24:14 +0200",
        "Message-Id": "<1222262654.4257.4.camel@johannes.berg>",
        "Mime-Version": "1.0",
        "X-Mailer": "Evolution 2.22.3.1 ",
        "Cc": "Paul Mackerras <paulus@samba.org>",
        "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>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@ozlabs.org"
    },
    "content": "powerpc uses CONFIG_FORCE_MAX_ZONEORDER, and some things depend on it\nbeing at least 10 when 64k pages are not configured (notably the dart\niommu code with CONFIG_PM). The defaults are fine, but when going from a\n64K pages config to one without 64K pages, MAX_ORDER stays at 9 which is\ntoo low for 4K pages.\n\nThis patch makes the Kconfig enforce at least the defaults, I used 999\nas the upper bound for no particular reason other than that it's plenty.\n\nSigned-off-by: Johannes Berg <johannes@sipsolutions.net>\n---",
    "diff": "--- a/arch/powerpc/Kconfig\n+++ b/arch/powerpc/Kconfig\n@@ -415,8 +415,11 @@ config PPC_64K_PAGES\n \n config FORCE_MAX_ZONEORDER\n \tint \"Maximum zone order\"\n+\trange 9 999 if PPC_64K_PAGES\n \tdefault \"9\" if PPC_64K_PAGES\n+\trange 13 999 if PPC64 && !PPC_64K_PAGES\n \tdefault \"13\" if PPC64 && !PPC_64K_PAGES\n+\trange 11 999\n \tdefault \"11\"\n \thelp\n \t  The kernel memory allocator divides physically contiguous memory\n",
    "prefixes": []
}