Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1449483/?format=api
{ "id": 1449483, "url": "http://patchwork.ozlabs.org/api/patches/1449483/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20210309000247.2989531-3-danielwa@cisco.com/", "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": "<20210309000247.2989531-3-danielwa@cisco.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20210309000247.2989531-3-danielwa@cisco.com/", "date": "2021-03-09T00:02:38", "name": "[v2,2/7] CMDLINE: drivers: of: ifdef out cmdline section", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "dbfd28a75d0b1abae75b93e947403e3592e85d92", "submitter": { "id": 67374, "url": "http://patchwork.ozlabs.org/api/people/67374/?format=api", "name": "Daniel Walker (danielwa)", "email": "danielwa@cisco.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20210309000247.2989531-3-danielwa@cisco.com/mbox/", "series": [ { "id": 232859, "url": "http://patchwork.ozlabs.org/api/series/232859/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=232859", "date": "2021-03-09T00:02:37", "name": "[v2,1/7] CMDLINE: add generic builtin command line", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/232859/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1449483/comments/", "check": "success", "checks": "http://patchwork.ozlabs.org/api/patches/1449483/checks/", "tags": {}, "related": [ { "id": 1449475, "url": "http://patchwork.ozlabs.org/api/patches/1449475/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20210308235319.2988609-3-danielwa@cisco.com/", "msgid": "<20210308235319.2988609-3-danielwa@cisco.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20210308235319.2988609-3-danielwa@cisco.com/", "date": "2021-03-08T23:53:10", "name": "[v2,2/7] CMDLINE: drivers: of: ifdef out cmdline section", "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20210308235319.2988609-3-danielwa@cisco.com/mbox/" }, { "id": 1460183, "url": "http://patchwork.ozlabs.org/api/patches/1460183/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/0c4b839f023f87c451c8aa3c4f7a8d92729c2f02.1617126961.git.danielwa@cisco.com/", "msgid": "<0c4b839f023f87c451c8aa3c4f7a8d92729c2f02.1617126961.git.danielwa@cisco.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/0c4b839f023f87c451c8aa3c4f7a8d92729c2f02.1617126961.git.danielwa@cisco.com/", "date": "2021-03-30T17:56:57", "name": "[2/8] CMDLINE: drivers: of: ifdef out cmdline section", "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/0c4b839f023f87c451c8aa3c4f7a8d92729c2f02.1617126961.git.danielwa@cisco.com/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>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=cisco.com header.i=@cisco.com header.a=rsa-sha256\n header.s=iport header.b=QZxZnfia;\n\tdkim-atps=neutral", "lists.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=cisco.com header.i=@cisco.com header.a=rsa-sha256\n header.s=iport header.b=QZxZnfia;\n\tdkim-atps=neutral", "lists.ozlabs.org; spf=pass (sender SPF authorized)\n smtp.mailfrom=cisco.com (client-ip=173.37.142.93;\n helo=alln-iport-6.cisco.com;\n envelope-from=danielwa@cisco.com; receiver=<UNKNOWN>)", "lists.ozlabs.org; dkim=pass (1024-bit key;\n unprotected) header.d=cisco.com header.i=@cisco.com header.a=rsa-sha256\n header.s=iport header.b=QZxZnfia; dkim-atps=neutral" ], "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 4Dvb6L6twDz9sWY\n\tfor <patchwork-incoming@ozlabs.org>; Tue, 9 Mar 2021 11:04:10 +1100 (AEDT)", "from boromir.ozlabs.org (localhost [IPv6:::1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4Dvb6L52WWz3dQ9\n\tfor <patchwork-incoming@ozlabs.org>; Tue, 9 Mar 2021 11:04:10 +1100 (AEDT)", "from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n bits)) (No client certificate requested)\n by lists.ozlabs.org (Postfix) with ESMTPS id 4Dvb4t4XrTz30N1\n for <linuxppc-dev@lists.ozlabs.org>; Tue, 9 Mar 2021 11:02:54 +1100 (AEDT)", "from alln-core-2.cisco.com ([173.36.13.135])\n by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA;\n 09 Mar 2021 00:02:52 +0000", "from zorba.cisco.com ([10.24.7.91])\n by alln-core-2.cisco.com (8.15.2/8.15.2) with ESMTP id 12902mKc014497;\n Tue, 9 Mar 2021 00:02:51 GMT" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=cisco.com; i=@cisco.com; l=1606; q=dns/txt; s=iport;\n t=1615248175; x=1616457775;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=5nfrAdR24COgZBWF2wEri9D+5QFCKExgHngLXOOCcpM=;\n b=QZxZnfiaCvnw3sBzAXICuUhv7E2/o5gggyWCs+cbACaMX6VQTZ/icTKI\n inkNynJbdno/JIW3zo0ZtgNfkx8I1C3hgVTsEijdsmHb7rZvbADayegky\n 3Na8E/ocBzJekvQxw7r/FscDHPs6HZFIcU1R+8eJ4qxiblZ8pSVx+roa7 c=;", "X-IPAS-Result": "\n A0AvAgCwuUZgkIcNJK1iHQEBAQEJARIBBQUBgg+DdwE5MbJsCwEBAQ80BAEBhE2BfAIlOBMCAwEBAQMCAwEBAQEFAQEBAgEGBBQBAQEBAQGGRYZ9AUaBPgESgnCDCKwkgiiJCoFFFIEliFx0hBgcgUlCgRGDWIozBIJAB4EOgigSnjWcAoMIgR+aeA8io2yUXaJVgWshgVkzGggbFYMkUBkNjjiNcwFcIAMvOAIGCgEBAwmPJgEB", "X-IronPort-Anti-Spam-Filtered": "true", "X-IronPort-AV": "E=Sophos;i=\"5.81,233,1610409600\"; d=\"scan'208\";a=\"698440084\"", "From": "Daniel Walker <danielwa@cisco.com>", "To": "Will Deacon <will@kernel.org>,\n Christophe Leroy <christophe.leroy@csgroup.eu>,\n Rob Herring <robh@kernel.org>,\n Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>,\n Andrew Morton <akpm@linux-foundation.org>, x86@kernel.org,\n linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,\n xe-linux-external@cisco.com, Rob Herring <robh+dt@kernel.org>,\n Frank Rowand <frowand.list@gmail.com>", "Subject": "[PATCH v2 2/7] CMDLINE: drivers: of: ifdef out cmdline section", "Date": "Mon, 8 Mar 2021 16:02:38 -0800", "Message-Id": "<20210309000247.2989531-3-danielwa@cisco.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Auto-Response-Suppress": "DR, OOF, AutoReply", "X-Outbound-SMTP-Client": "10.24.7.91, [10.24.7.91]", "X-Outbound-Node": "alln-core-2.cisco.com", "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": "devicetree@vger.kernel.org, Ruslan Ruslichenko <rruslich@cisco.com>,\n linux-kernel@vger.kernel.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": "It looks like there's some seepage of cmdline stuff into\nthe generic device tree code. This conflicts with the\ngeneric cmdline implementation so I remove it in the case\nwhen that's enabled.\n\nCc: xe-linux-external@cisco.com\nSigned-off-by: Ruslan Ruslichenko <rruslich@cisco.com>\nSigned-off-by: Daniel Walker <danielwa@cisco.com>\n---\n drivers/of/fdt.c | 12 ++++++++++++\n 1 file changed, 12 insertions(+)", "diff": "diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c\nindex feb0f2d67fc5..e25240d84632 100644\n--- a/drivers/of/fdt.c\n+++ b/drivers/of/fdt.c\n@@ -25,6 +25,7 @@\n #include <linux/serial_core.h>\n #include <linux/sysfs.h>\n #include <linux/random.h>\n+#include <linux/cmdline.h>\n \n #include <asm/setup.h> /* for COMMAND_LINE_SIZE */\n #include <asm/page.h>\n@@ -1050,6 +1051,16 @@ int __init early_init_dt_scan_chosen(unsigned long node, const char *uname,\n \n \t/* Retrieve command line */\n \tp = of_get_flat_dt_prop(node, \"bootargs\", &l);\n+\n+#ifdef CONFIG_GENERIC_CMDLINE\n+\t/*\n+\t * The builtin command line will be added here, or it can override\n+\t * with the DT bootargs.\n+\t */\n+\tcmdline_add_builtin(data,\n+\t\t\t (l > 0 ? p : NULL), /* This is sanity checking */\n+\t\t\t COMMAND_LINE_SIZE);\n+#else\n \tif (p != NULL && l > 0)\n \t\tstrlcpy(data, p, min(l, COMMAND_LINE_SIZE));\n \n@@ -1070,6 +1081,7 @@ int __init early_init_dt_scan_chosen(unsigned long node, const char *uname,\n \t\tstrlcpy(data, CONFIG_CMDLINE, COMMAND_LINE_SIZE);\n #endif\n #endif /* CONFIG_CMDLINE */\n+#endif /* CONFIG_GENERIC_CMDLINE */\n \n \tpr_debug(\"Command line is: %s\\n\", (char *)data);\n \n", "prefixes": [ "v2", "2/7" ] }