get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1458812,
    "url": "http://patchwork.ozlabs.org/api/patches/1458812/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/3a5407b76a256affa124902d9c2285a98d2516dc.1616765870.git.christophe.leroy@csgroup.eu/",
    "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": "<3a5407b76a256affa124902d9c2285a98d2516dc.1616765870.git.christophe.leroy@csgroup.eu>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/3a5407b76a256affa124902d9c2285a98d2516dc.1616765870.git.christophe.leroy@csgroup.eu/",
    "date": "2021-03-26T13:45:00",
    "name": "[v3,13/17] sparc: Convert to GENERIC_CMDLINE",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "ce2bdeb9445ae7c314e7c2fd35f17f0ed6d752e0",
    "submitter": {
        "id": 79086,
        "url": "http://patchwork.ozlabs.org/api/people/79086/?format=api",
        "name": "Christophe Leroy",
        "email": "christophe.leroy@csgroup.eu"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/3a5407b76a256affa124902d9c2285a98d2516dc.1616765870.git.christophe.leroy@csgroup.eu/mbox/",
    "series": [
        {
            "id": 236020,
            "url": "http://patchwork.ozlabs.org/api/series/236020/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=236020",
            "date": "2021-03-26T13:44:49",
            "name": "Implement GENERIC_CMDLINE",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/236020/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1458812/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/1458812/checks/",
    "tags": {},
    "related": [
        {
            "id": 1461770,
            "url": "http://patchwork.ozlabs.org/api/patches/1461770/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/37fc5bd333125270f7032b8f9be225297e6dbe4f.1617375802.git.christophe.leroy@csgroup.eu/",
            "msgid": "<37fc5bd333125270f7032b8f9be225297e6dbe4f.1617375802.git.christophe.leroy@csgroup.eu>",
            "list_archive_url": "https://lore.kernel.org/linuxppc-dev/37fc5bd333125270f7032b8f9be225297e6dbe4f.1617375802.git.christophe.leroy@csgroup.eu/",
            "date": "2021-04-02T15:18:18",
            "name": "[v4,16/20] sparc: Convert to GENERIC_CMDLINE",
            "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/37fc5bd333125270f7032b8f9be225297e6dbe4f.1617375802.git.christophe.leroy@csgroup.eu/mbox/"
        }
    ],
    "headers": {
        "Return-Path": "\n <linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=112.213.38.117; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org;\n receiver=<UNKNOWN>)",
            "lists.ozlabs.org; spf=pass (sender SPF authorized)\n smtp.mailfrom=csgroup.eu (client-ip=93.17.236.30; helo=pegase1.c-s.fr;\n envelope-from=christophe.leroy@csgroup.eu; receiver=<UNKNOWN>)"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4F6Nd41fqkz9s1l\n\tfor <patchwork-incoming@ozlabs.org>; Sat, 27 Mar 2021 00:49:44 +1100 (AEDT)",
            "from boromir.ozlabs.org (localhost [IPv6:::1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4F6Nd40rG3z3c1c\n\tfor <patchwork-incoming@ozlabs.org>; Sat, 27 Mar 2021 00:49:44 +1100 (AEDT)",
            "from pegase1.c-s.fr (pegase1.c-s.fr [93.17.236.30])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by lists.ozlabs.org (Postfix) with ESMTPS id 4F6NWm0p9tz3c1V\n for <linuxppc-dev@lists.ozlabs.org>; Sat, 27 Mar 2021 00:45:08 +1100 (AEDT)",
            "from localhost (mailhub1-int [192.168.12.234])\n by localhost (Postfix) with ESMTP id 4F6NWg6LQyz9v03Q;\n Fri, 26 Mar 2021 14:45:03 +0100 (CET)",
            "from pegase1.c-s.fr ([192.168.12.234])\n by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024)\n with ESMTP id zJCa16S0wtXm; Fri, 26 Mar 2021 14:45:03 +0100 (CET)",
            "from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192])\n by pegase1.c-s.fr (Postfix) with ESMTP id 4F6NWb59d2z9v03M;\n Fri, 26 Mar 2021 14:44:59 +0100 (CET)",
            "from localhost (localhost [127.0.0.1])\n by messagerie.si.c-s.fr (Postfix) with ESMTP id 8FD6D8B8C7;\n Fri, 26 Mar 2021 14:45:00 +0100 (CET)",
            "from messagerie.si.c-s.fr ([127.0.0.1])\n by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023)\n with ESMTP id hUWtC_m1pLjs; Fri, 26 Mar 2021 14:45:00 +0100 (CET)",
            "from po16121vm.idsi0.si.c-s.fr (unknown [192.168.4.90])\n by messagerie.si.c-s.fr (Postfix) with ESMTP id 485328B8CB;\n Fri, 26 Mar 2021 14:45:00 +0100 (CET)",
            "by po16121vm.idsi0.si.c-s.fr (Postfix, from userid 0)\n id C232D67611; Fri, 26 Mar 2021 13:45:00 +0000 (UTC)"
        ],
        "X-Virus-Scanned": [
            "Debian amavisd-new at c-s.fr",
            "amavisd-new at c-s.fr"
        ],
        "Message-Id": "\n <3a5407b76a256affa124902d9c2285a98d2516dc.1616765870.git.christophe.leroy@csgroup.eu>",
        "In-Reply-To": "<cover.1616765869.git.christophe.leroy@csgroup.eu>",
        "References": "<cover.1616765869.git.christophe.leroy@csgroup.eu>",
        "From": "Christophe Leroy <christophe.leroy@csgroup.eu>",
        "Subject": "[PATCH v3 13/17] sparc: Convert to GENERIC_CMDLINE",
        "To": "will@kernel.org, danielwa@cisco.com, robh@kernel.org,\n daniel@gimpelevich.san-francisco.ca.us",
        "Date": "Fri, 26 Mar 2021 13:45:00 +0000 (UTC)",
        "X-BeenThere": "linuxppc-dev@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List <linuxppc-dev.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n <mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>",
        "Cc": "linux-arch@vger.kernel.org, devicetree@vger.kernel.org,\n microblaze <monstr@monstr.eu>, linux-xtensa@linux-xtensa.org,\n linux-sh@vger.kernel.org, linux-hexagon@vger.kernel.org, x86@kernel.org,\n linux-kernel@vger.kernel.org, nios2 <ley.foon.tan@intel.com>,\n linux-mips@vger.kernel.org, openrisc@lists.librecores.org,\n sparclinux@vger.kernel.org, linux-riscv@lists.infradead.org,\n linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Linuxppc-dev\"\n <linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"
    },
    "content": "This converts the architecture to GENERIC_CMDLINE.\n\nSigned-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>\n---\n arch/sparc/Kconfig           | 18 +-----------------\n arch/sparc/prom/bootstr_64.c |  2 +-\n 2 files changed, 2 insertions(+), 18 deletions(-)",
    "diff": "diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig\nindex 164a5254c91c..2a197f3a2549 100644\n--- a/arch/sparc/Kconfig\n+++ b/arch/sparc/Kconfig\n@@ -50,6 +50,7 @@ config SPARC\n \tselect NEED_DMA_MAP_STATE\n \tselect NEED_SG_DMA_LENGTH\n \tselect SET_FS\n+\tselect GENERIC_CMDLINE if SPARC64\n \n config SPARC32\n \tdef_bool !64BIT\n@@ -313,23 +314,6 @@ config SCHED_MC\n \t  making when dealing with multi-core CPU chips at a cost of slightly\n \t  increased overhead in some places. If unsure say N here.\n \n-config CMDLINE_BOOL\n-\tbool \"Default bootloader kernel arguments\"\n-\tdepends on SPARC64\n-\n-config CMDLINE\n-\tstring \"Initial kernel command string\"\n-\tdepends on CMDLINE_BOOL\n-\tdefault \"console=ttyS0,9600 root=/dev/sda1\"\n-\thelp\n-\t  Say Y here if you want to be able to pass default arguments to\n-\t  the kernel. This will be overridden by the bootloader, if you\n-\t  use one (such as SILO). This is most useful if you want to boot\n-\t  a kernel from TFTP, and want default options to be available\n-\t  with having them passed on the command line.\n-\n-\t  NOTE: This option WILL override the PROM bootargs setting!\n-\n config SUN_PM\n \tbool\n \tdefault y if SPARC32\ndiff --git a/arch/sparc/prom/bootstr_64.c b/arch/sparc/prom/bootstr_64.c\nindex f1cc34d99eec..4853a45b3de9 100644\n--- a/arch/sparc/prom/bootstr_64.c\n+++ b/arch/sparc/prom/bootstr_64.c\n@@ -25,7 +25,7 @@ struct {\n \tchar bootstr_buf[BARG_LEN];\n } bootstr_info = {\n \t.bootstr_len = BARG_LEN,\n-#ifdef CONFIG_CMDLINE\n+#if CONFIG_CMDLINE != \"\"\n \t.bootstr_valid = 1,\n \t.bootstr_buf = CONFIG_CMDLINE,\n #endif\n",
    "prefixes": [
        "v3",
        "13/17"
    ]
}