get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 831247,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/831247/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-imx/patch/1509101470-7881-16-git-send-email-Dave.Martin@arm.com/",
    "project": {
        "id": 19,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/19/?format=api",
        "name": "Linux IMX development",
        "link_name": "linux-imx",
        "list_id": "linux-imx-kernel.lists.patchwork.ozlabs.org",
        "list_email": "linux-imx-kernel@lists.patchwork.ozlabs.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<1509101470-7881-16-git-send-email-Dave.Martin@arm.com>",
    "list_archive_url": null,
    "date": "2017-10-27T10:50:57",
    "name": "[v4,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/1.2/people/26612/?format=api",
        "name": "Dave Martin",
        "email": "Dave.Martin@arm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-imx/patch/1509101470-7881-16-git-send-email-Dave.Martin@arm.com/mbox/",
    "series": [
        {
            "id": 10556,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/10556/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-imx/list/?series=10556",
            "date": "2017-10-27T10:50:43",
            "name": "ARM Scalable Vector Extension (SVE)",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/10556/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/831247/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/831247/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming-imx@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming-imx@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.infradead.org\n\t(client-ip=65.50.211.133; helo=bombadil.infradead.org;\n\tenvelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org\n\theader.b=\"HLyJ5x/4\"; dkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\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 3yNgwN6QLJz9sNx\n\tfor <incoming-imx@patchwork.ozlabs.org>;\n\tFri, 27 Oct 2017 22:03:32 +1100 (AEDT)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e82QA-0006zk-U9; Fri, 27 Oct 2017 11:03:26 +0000",
            "from foss.arm.com ([217.140.101.70])\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1e82F9-0003vr-5t for linux-arm-kernel@lists.infradead.org;\n\tFri, 27 Oct 2017 10:52:17 +0000",
            "from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249])\n\tby usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E78E1165C;\n\tFri, 27 Oct 2017 03:51:48 -0700 (PDT)",
            "from e103592.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com\n\t[10.72.51.249])\n\tby usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id\n\t380E93F24A; Fri, 27 Oct 2017 03:51:47 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:\n\tMessage-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=PSf4/BCwi25xkom1fHxPq10nZANniEbr6YynG8v0MQ4=;\n\tb=HLyJ5x/4ZpZp9f\n\tuusXkSdz4Xw/pj+fjHFryKAqqx6cXT/6eQ8gKxqgAuPbKdKIk8FgyPw7h4dSLHiDrHPQn0YlMX40W\n\tYNSNIkWQbfQID+DM4i/ZeDSHluWEMy6JLX4YVaoIVZrEU230AIYJ5TGEhLqDdxH2yB8vEDB5v7T1M\n\tiq2RMCkmy/3scfmShQSSQtJ7LGAlvy97/z/QJ2ulbxzdYR3X7eF2LGOa0rkVEcaTRP0M+BPE0ZJ0J\n\tZOBB5Odv8io1fgo6K2DoxhA6kzCzw4FauJZygO1HkoTgu2svLsmScZZrlD3p829lv3UcjcTQQrkNh\n\tLAXj+m7eYPgU6JtdzROQ==;",
        "From": "Dave Martin <Dave.Martin@arm.com>",
        "To": "linux-arm-kernel@lists.infradead.org",
        "Subject": "[PATCH v4 15/28] arm64: cpufeature: Move sys_caps_initialised\n\tdeclarations",
        "Date": "Fri, 27 Oct 2017 11:50:57 +0100",
        "Message-Id": "<1509101470-7881-16-git-send-email-Dave.Martin@arm.com>",
        "X-Mailer": "git-send-email 2.1.4",
        "In-Reply-To": "<1509101470-7881-1-git-send-email-Dave.Martin@arm.com>",
        "References": "<1509101470-7881-1-git-send-email-Dave.Martin@arm.com>",
        "MIME-Version": "1.0",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20171027_035204_048073_5822FADA ",
        "X-CRM114-Status": "GOOD (  13.34  )",
        "X-Spam-Score": "-6.9 (------)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-6.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/,\n\thigh trust [217.140.101.70 listed in list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]",
        "X-BeenThere": "linux-arm-kernel@lists.infradead.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-arm-kernel/>",
        "List-Post": "<mailto:linux-arm-kernel@lists.infradead.org>",
        "List-Help": "<mailto:linux-arm-kernel-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>,\n\t<mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe>",
        "Cc": "linux-arch@vger.kernel.org, Okamoto Takayuki <tokamoto@jp.fujitsu.com>,\n\tlibc-alpha@sourceware.org, Ard Biesheuvel <ard.biesheuvel@linaro.org>, \n\tSzabolcs Nagy <szabolcs.nagy@arm.com>, \n\tCatalin Marinas <catalin.marinas@arm.com>,\n\tWill Deacon <will.deacon@arm.com>, =?utf-8?q?Alex_Benn=C3=A9e?=\n\t<alex.bennee@linaro.org>,  kvmarm@lists.cs.columbia.edu",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "base64",
        "Sender": "\"linux-arm-kernel\" <linux-arm-kernel-bounces@lists.infradead.org>",
        "Errors-To": "linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org",
        "List-Id": "linux-imx-kernel.lists.patchwork.ozlabs.org"
    },
    "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 known or 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 used more widely.  There doesn't seem\nto be a more obvious place to put it.\n\nSigned-off-by: Dave Martin <Dave.Martin@arm.com>\nReviewed-by: Alex Bennée <alex.bennee@linaro.org>\nReviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>\nAcked-by: Catalin Marinas <catalin.marinas@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 a011a5a..e226799 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@@ -1050,21 +1065,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": [
        "v4",
        "15/28"
    ]
}