get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 808334,
    "url": "http://patchwork.ozlabs.org/api/patches/808334/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/glibc/patch/1504198860-12951-16-git-send-email-Dave.Martin@arm.com/",
    "project": {
        "id": 41,
        "url": "http://patchwork.ozlabs.org/api/projects/41/?format=api",
        "name": "GNU C Library",
        "link_name": "glibc",
        "list_id": "libc-alpha.sourceware.org",
        "list_email": "libc-alpha@sourceware.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1504198860-12951-16-git-send-email-Dave.Martin@arm.com>",
    "list_archive_url": null,
    "date": "2017-08-31T17:00:47",
    "name": "[v2,15/28] arm64: cpufeature: Move sys_caps_initialised declarations",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "4cd9bb4b20a44244db869e55336fbefb8f2f637e",
    "submitter": {
        "id": 26612,
        "url": "http://patchwork.ozlabs.org/api/people/26612/?format=api",
        "name": "Dave Martin",
        "email": "Dave.Martin@arm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/glibc/patch/1504198860-12951-16-git-send-email-Dave.Martin@arm.com/mbox/",
    "series": [
        {
            "id": 882,
            "url": "http://patchwork.ozlabs.org/api/series/882/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/glibc/list/?series=882",
            "date": "2017-08-31T17:00:32",
            "name": "ARM Scalable Vector Extension (SVE)",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/882/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/808334/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/808334/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<libc-alpha-return-83973-incoming=patchwork.ozlabs.org@sourceware.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "mailing list libc-alpha@sourceware.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=sourceware.org\n\t(client-ip=209.132.180.131; helo=sourceware.org;\n\tenvelope-from=libc-alpha-return-83973-incoming=patchwork.ozlabs.org@sourceware.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (1024-bit key;\n\tsecure) header.d=sourceware.org header.i=@sourceware.org\n\theader.b=\"pw2F7qw1\"; dkim-atps=neutral",
            "sourceware.org; auth=none"
        ],
        "Received": [
            "from sourceware.org (server1.sourceware.org [209.132.180.131])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xjpcJ0KtPz9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  1 Sep 2017 03:03:43 +1000 (AEST)",
            "(qmail 82089 invoked by alias); 31 Aug 2017 17:01:55 -0000",
            "(qmail 82008 invoked by uid 89); 31 Aug 2017 17:01:55 -0000"
        ],
        "DomainKey-Signature": "a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:cc:subject:date:message-id:in-reply-to\n\t:references; q=dns; s=default; b=UQWsq3/jYGOYUAIuct8LrqMYDoejw+g\n\twi29EACPRCjFNZ0sm7uGoSxVvA9ri0AxKFeZT+P8cLguzQHB2+jbFXvg8AhSJl3p\n\tMXUdhkOH3kmzUMdY1sLbWWkKYQCRXd2xAaeoiQoqWbgULP4/QwK0cdVCxl/fHi24\n\tXSX17CR+nnis=",
        "DKIM-Signature": "v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id\n\t:list-unsubscribe:list-subscribe:list-archive:list-post\n\t:list-help:sender:from:to:cc:subject:date:message-id:in-reply-to\n\t:references; s=default; bh=qDKy657yw5xGctxvxZEs2KUMmyw=; b=pw2F7\n\tqw19EhKiJqwNwqEXVfcEGjXNyBk6A5O409PaWSToN0p0Sjic2UnhNnwJh9tdDZVT\n\tNGgyNHMUKxJ1WOhstfpKWZwxF/f44p0DhD6UEbYy43citTuCa9/LzTm68WWGnZvH\n\tnGZ4RXIQ3b3cfcRCTD/R9zi6C6y7Cb8YIdykvk=",
        "Mailing-List": "contact libc-alpha-help@sourceware.org; run by ezmlm",
        "Precedence": "bulk",
        "List-Id": "<libc-alpha.sourceware.org>",
        "List-Unsubscribe": "<mailto:libc-alpha-unsubscribe-incoming=patchwork.ozlabs.org@sourceware.org>",
        "List-Subscribe": "<mailto:libc-alpha-subscribe@sourceware.org>",
        "List-Archive": "<http://sourceware.org/ml/libc-alpha/>",
        "List-Post": "<mailto:libc-alpha@sourceware.org>",
        "List-Help": "<mailto:libc-alpha-help@sourceware.org>,\n\t<http://sourceware.org/ml/#faqs>",
        "Sender": "libc-alpha-owner@sourceware.org",
        "X-Virus-Found": "No",
        "X-Spam-SWARE-Status": "No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0,\n\tGIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD,\n\tSPF_PASS autolearn=ham version=3.3.2 spammy=desperately, Boot,\n\tHx-spam-relays-external:ESMTPA",
        "X-HELO": "foss.arm.com",
        "From": "Dave Martin <Dave.Martin@arm.com>",
        "To": "linux-arm-kernel@lists.infradead.org",
        "Cc": "Catalin Marinas <catalin.marinas@arm.com>, Will Deacon\n\t<will.deacon@arm.com>, \tArd Biesheuvel <ard.biesheuvel@linaro.org>,\n\t=?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= <alex.bennee@linaro.org>,\n\tSzabolcs Nagy <szabolcs.nagy@arm.com>, Richard Sandiford\n\t<richard.sandiford@arm.com>, \tkvmarm@lists.cs.columbia.edu,\n\tlibc-alpha@sourceware.org, \tlinux-arch@vger.kernel.org,\n\tSuzuki K Poulose <Suzuki.Poulose@arm.com>",
        "Subject": "[PATCH v2 15/28] arm64: cpufeature: Move sys_caps_initialised\n\tdeclarations",
        "Date": "Thu, 31 Aug 2017 18:00:47 +0100",
        "Message-Id": "<1504198860-12951-16-git-send-email-Dave.Martin@arm.com>",
        "In-Reply-To": "<1504198860-12951-1-git-send-email-Dave.Martin@arm.com>",
        "References": "<1504198860-12951-1-git-send-email-Dave.Martin@arm.com>"
    },
    "content": "update_cpu_features() currently cannot tell whether it is being\ncalled during early or late secondary boot.  This doesn't\ndesperately matter for anything it currently does.\n\nHowever, SVE will need to know here whether the set of available\nvector lengths is fixed of still to be determined when booting a\nCPU so that it can be updated appropriately.\n\nThis patch simply moves the sys_caps_initialised stuff to the top\nof the file so that it can be more widely.  There doesn't seem to\nbe a more obvious place to put it.\n\nSigned-off-by: Dave Martin <Dave.Martin@arm.com>\nCc: Suzuki K Poulose <Suzuki.Poulose@arm.com>\n---\n arch/arm64/kernel/cpufeature.c | 30 +++++++++++++++---------------\n 1 file changed, 15 insertions(+), 15 deletions(-)",
    "diff": "diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c\nindex cd52d36..43ba8df 100644\n--- a/arch/arm64/kernel/cpufeature.c\n+++ b/arch/arm64/kernel/cpufeature.c\n@@ -51,6 +51,21 @@ unsigned int compat_elf_hwcap2 __read_mostly;\n DECLARE_BITMAP(cpu_hwcaps, ARM64_NCAPS);\n EXPORT_SYMBOL(cpu_hwcaps);\n \n+/*\n+ * Flag to indicate if we have computed the system wide\n+ * capabilities based on the boot time active CPUs. This\n+ * will be used to determine if a new booting CPU should\n+ * go through the verification process to make sure that it\n+ * supports the system capabilities, without using a hotplug\n+ * notifier.\n+ */\n+static bool sys_caps_initialised;\n+\n+static inline void set_sys_caps_initialised(void)\n+{\n+\tsys_caps_initialised = true;\n+}\n+\n static int dump_cpu_hwcaps(struct notifier_block *self, unsigned long v, void *p)\n {\n \t/* file-wide pr_fmt adds \"CPU features: \" prefix */\n@@ -1041,21 +1056,6 @@ void __init enable_cpu_capabilities(const struct arm64_cpu_capabilities *caps)\n }\n \n /*\n- * Flag to indicate if we have computed the system wide\n- * capabilities based on the boot time active CPUs. This\n- * will be used to determine if a new booting CPU should\n- * go through the verification process to make sure that it\n- * supports the system capabilities, without using a hotplug\n- * notifier.\n- */\n-static bool sys_caps_initialised;\n-\n-static inline void set_sys_caps_initialised(void)\n-{\n-\tsys_caps_initialised = true;\n-}\n-\n-/*\n  * Check for CPU features that are used in early boot\n  * based on the Boot CPU value.\n  */\n",
    "prefixes": [
        "v2",
        "15/28"
    ]
}