get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 476450,
    "url": "http://patchwork.ozlabs.org/api/patches/476450/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/1432644564-24746-3-git-send-email-hanjun.guo@linaro.org/",
    "project": {
        "id": 28,
        "url": "http://patchwork.ozlabs.org/api/projects/28/?format=api",
        "name": "Linux PCI development",
        "link_name": "linux-pci",
        "list_id": "linux-pci.vger.kernel.org",
        "list_email": "linux-pci@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1432644564-24746-3-git-send-email-hanjun.guo@linaro.org>",
    "list_archive_url": null,
    "date": "2015-05-26T12:49:15",
    "name": "[02/11] x86, pci: Clean up comment about buggy MMIO config space access for AMD Fam10h CPUs.",
    "commit_ref": null,
    "pull_url": null,
    "state": "changes-requested",
    "archived": false,
    "hash": "3a91be5f8b89881dc49f29ef1049bc712a3d47c3",
    "submitter": {
        "id": 47236,
        "url": "http://patchwork.ozlabs.org/api/people/47236/?format=api",
        "name": "Hanjun Guo",
        "email": "hanjun.guo@linaro.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/1432644564-24746-3-git-send-email-hanjun.guo@linaro.org/mbox/",
    "series": [],
    "comments": "http://patchwork.ozlabs.org/api/patches/476450/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/476450/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-pci-owner@vger.kernel.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Received": [
            "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 47033140129\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 26 May 2015 23:19:35 +1000 (AEST)",
            "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1752817AbbEZMw3 (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tTue, 26 May 2015 08:52:29 -0400",
            "from mail-pd0-f177.google.com ([209.85.192.177]:35696 \"EHLO\n\tmail-pd0-f177.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1752768AbbEZMw3 (ORCPT\n\t<rfc822; linux-pci@vger.kernel.org>); Tue, 26 May 2015 08:52:29 -0400",
            "by pdea3 with SMTP id a3so90220881pde.2\n\tfor <linux-pci@vger.kernel.org>; Tue, 26 May 2015 05:50:15 -0700 (PDT)",
            "from localhost ([180.150.153.56]) by mx.google.com with ESMTPSA id\n\tdv9sm12861625pac.4.2015.05.26.05.50.13\n\t(version=TLSv1.2 cipher=RC4-SHA bits=128/128);\n\tTue, 26 May 2015 05:50:14 -0700 (PDT)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=OZ8nvePW/nDcEZRc/slj+aNZCG6KJ0GAj9XYuCssMzo=;\n\tb=IxSWEE4n7Vwt2g0qybmLkoD+rk6cxFirqzYJC0CzPrYty7LTypxw8rv9mnxLFu0hZG\n\tduTcNoTOI6jhO5rIJ8UExTowoKecaIhTFEYYC1iZL5nRrZI/8rBurqHpt7xRReHtsLRq\n\tvqS8PJj2mk7DBTKAMcKLP9E4RsNWqreJkVW2toX21i7zXz08xdL3e6qOIkoABWUJnk36\n\t+/IzDGErrgjKXxs1YaDBWQPCkbTRZ6NBOakHrSCN9pjBS8hvx1sR0ztDHd+Dx69OaSGg\n\tEzRKiYwPUtWO3xfUq4I317EThv1fWGiQJDdV9O2My0NWa5nlbi3hv3BSeBmkqEGdslo7\n\tgRsg==",
        "X-Gm-Message-State": "ALoCoQnvgkx4AT3Atx6goIOh3L/PznG0T/ylhOgHyr2zDxj/Y3rGgqsGnfFbVWN66sqWM/Gax4B7",
        "X-Received": "by 10.70.29.164 with SMTP id l4mr48515657pdh.32.1432644615402;\n\tTue, 26 May 2015 05:50:15 -0700 (PDT)",
        "From": "Hanjun Guo <hanjun.guo@linaro.org>",
        "To": "Bjorn Helgaas <bhelgaas@google.com>, Arnd Bergmann <arnd@arndb.de>,\n\tCatalin Marinas <catalin.marinas@arm.com>,\n\tWill Deacon <will.deacon@arm.com>,\n\t\"Rafael J. Wysocki\" <rjw@rjwysocki.net>",
        "Cc": "Jiang Liu <jiang.liu@linux.intel.com>, Liviu Dudau <Liviu.Dudau@arm.com>,\n\tThomas Gleixner <tglx@linutronix.de>,\n\tYijing Wang <wangyijing@huawei.com>,\n\tLorenzo Pieralisi <Lorenzo.Pieralisi@arm.com>,\n\tTomasz Nowicki <tomasz.nowicki@linaro.org>,\n\tSuravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>,\n\tMark Salter <msalter@redhat.com>, linux-pci@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org,\n\tHanjun Guo <hanjun.guo@linaro.org>",
        "Subject": "[PATCH 02/11] x86,\n\tpci: Clean up comment about buggy MMIO config space access for AMD\n\tFam10h CPUs.",
        "Date": "Tue, 26 May 2015 20:49:15 +0800",
        "Message-Id": "<1432644564-24746-3-git-send-email-hanjun.guo@linaro.org>",
        "X-Mailer": "git-send-email 1.9.1",
        "In-Reply-To": "<1432644564-24746-1-git-send-email-hanjun.guo@linaro.org>",
        "References": "<1432644564-24746-1-git-send-email-hanjun.guo@linaro.org>",
        "Sender": "linux-pci-owner@vger.kernel.org",
        "Precedence": "bulk",
        "List-ID": "<linux-pci.vger.kernel.org>",
        "X-Mailing-List": "linux-pci@vger.kernel.org"
    },
    "content": "From: Tomasz Nowicki <tomasz.nowicki@linaro.org>\n\n- fix typo\n- improve explanation\n- add reference to the related document\n\nSigned-off-by: Tomasz Nowicki <tomasz.nowicki@linaro.org>\nSigned-off-by: Hanjun Guo <hanjun.guo@linaro.org>\nTested-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>\n---\n arch/x86/include/asm/pci_x86.h | 9 ++++++---\n 1 file changed, 6 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/arch/x86/include/asm/pci_x86.h b/arch/x86/include/asm/pci_x86.h\nindex 164e3f8..eddf8f0 100644\n--- a/arch/x86/include/asm/pci_x86.h\n+++ b/arch/x86/include/asm/pci_x86.h\n@@ -154,10 +154,13 @@ extern struct list_head pci_mmcfg_list;\n \n /*\n  * AMD Fam10h CPUs are buggy, and cannot access MMIO config space\n- * on their northbrige except through the * %eax register. As such, you MUST\n- * NOT use normal IOMEM accesses, you need to only use the magic mmio-config\n+ * on their northbridge except through the * %eax register. As such, you MUST\n+ * NOT use normal IOMEM accesses, you need to only use the magic mmio_config_*\n  * accessor functions.\n- * In fact just use pci_config_*, nothing else please.\n+ *\n+ * Please refer to the following doc:\n+ * \"BIOS and Kernel Developer's Guide (BKDG) For AMD Family 10h Processors\",\n+ * rev. 3.48, sec 2.11.1, \"MMIO Configuration Coding Requirements\".\n  */\n static inline unsigned char mmio_config_readb(void __iomem *pos)\n {\n",
    "prefixes": [
        "02/11"
    ]
}