get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1289,
    "url": "http://patchwork.ozlabs.org/api/patches/1289/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1222266548.4257.26.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": "<1222266548.4257.26.camel@johannes.berg>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/1222266548.4257.26.camel@johannes.berg/",
    "date": "2008-09-24T14:29:08",
    "name": "[v2] powerpc: enforce sane MAX_ORDER",
    "commit_ref": "ebe40c5c4c888f2cbfd9f0880a8bc072e6fc3a0d",
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "fa9560af2f4b990630b0d55b8acd6b05dfbeed3f",
    "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/1222266548.4257.26.camel@johannes.berg/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/1289/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1289/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 70DD2DE171\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 25 Sep 2008 00:30:15 +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 0B218DDF96\n\tfor <linuxppc-dev@ozlabs.org>; Thu, 25 Sep 2008 00:29:59 +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 1KiVNJ-0006hs-Bk; Wed, 24 Sep 2008 16:29:53 +0200"
        ],
        "Subject": "[PATCH v2] powerpc: enforce sane MAX_ORDER",
        "From": "Johannes Berg <johannes@sipsolutions.net>",
        "To": "Kumar Gala <galak@kernel.crashing.org>",
        "In-Reply-To": "<61059ECE-2B42-46B3-B5B3-E5CFA3A5EFC9@kernel.crashing.org>",
        "References": "<1222262654.4257.4.camel@johannes.berg>\n\t<B38CBE3A-B9DA-44BA-8646-AEE81FB82437@kernel.crashing.org>\n\t<1222265583.4257.21.camel@johannes.berg>\n\t<61059ECE-2B42-46B3-B5B3-E5CFA3A5EFC9@kernel.crashing.org>",
        "Date": "Wed, 24 Sep 2008 16:29:08 +0200",
        "Message-Id": "<1222266548.4257.26.camel@johannes.berg>",
        "Mime-Version": "1.0",
        "X-Mailer": "Evolution 2.22.3.1 ",
        "Cc": "linuxppc-dev list <linuxppc-dev@ozlabs.org>,\n\tPaul 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.\n\nSigned-off-by: Johannes Berg <johannes@sipsolutions.net>\n---\n\n> We'll I'm ok with that, but I dont think we should be values that\n> make  \n> no sense.  64 would seem the max even in a 64-bit system.\n\nIndeed, it makes little sense to allow you to set more than the address\nspace, so here's a version with max 64.",
    "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 64 if PPC_64K_PAGES\n \tdefault \"9\" if PPC_64K_PAGES\n+\trange 13 64 if PPC64 && !PPC_64K_PAGES\n \tdefault \"13\" if PPC64 && !PPC_64K_PAGES\n+\trange 11 64\n \tdefault \"11\"\n \thelp\n \t  The kernel memory allocator divides physically contiguous memory\n",
    "prefixes": [
        "v2"
    ]
}