Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/809215/?format=api
{ "id": 809215, "url": "http://patchwork.ozlabs.org/api/1.2/patches/809215/?format=api", "web_url": "http://patchwork.ozlabs.org/project/lede/patch/20170903044520.26458-1-hackpascal@gmail.com/", "project": { "id": 54, "url": "http://patchwork.ozlabs.org/api/1.2/projects/54/?format=api", "name": "LEDE development", "link_name": "lede", "list_id": "lede-dev.lists.infradead.org", "list_email": "lede-dev@lists.infradead.org", "web_url": "http://lede-project.org/", "scm_url": "", "webscm_url": "http://git.lede-project.org/", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170903044520.26458-1-hackpascal@gmail.com>", "list_archive_url": null, "date": "2017-09-03T04:45:20", "name": "[LEDE-DEV,2/4] kernel/4.4: mtdsplit: add kernel cmdline to disable split parsers for rootfs and firmware partitions", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "b9ce519d3cdc26f5977fb643d6c1e22da3f0e2bf", "submitter": { "id": 65302, "url": "http://patchwork.ozlabs.org/api/1.2/people/65302/?format=api", "name": "Weijie Gao", "email": "hackpascal@gmail.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/lede/patch/20170903044520.26458-1-hackpascal@gmail.com/mbox/", "series": [ { "id": 1197, "url": "http://patchwork.ozlabs.org/api/1.2/series/1197/?format=api", "web_url": "http://patchwork.ozlabs.org/project/lede/list/?series=1197", "date": "2017-09-03T04:45:10", "name": "[LEDE-DEV,1/4] mac80211: enable use of GPI9 of ath9k", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1197/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/809215/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/809215/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=lede-dev-bounces+incoming=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 header.b=\"bICOkpKU\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"J3jTtGZn\"; 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 3xlL6C0G5Jz9s7c\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 3 Sep 2017 14:46:27 +1000 (AEST)", "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 1doMna-0001Y3-Ug; Sun, 03 Sep 2017 04:46:19 +0000", "from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1doMn4-0001BA-Ap\n\tfor lede-dev@lists.infradead.org; Sun, 03 Sep 2017 04:45:48 +0000", "by mail-pg0-x242.google.com with SMTP id r133so2512654pgr.2\n\tfor <lede-dev@lists.infradead.org>;\n\tSat, 02 Sep 2017 21:45:25 -0700 (PDT)", "from localhost ([182.148.31.147]) by smtp.gmail.com with ESMTPSA id\n\tt18sm2358217pfl.82.2017.09.02.21.45.23\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSat, 02 Sep 2017 21:45:24 -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:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id:\n\tDate:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=WNx5Jb0aJ+Qwl0jl9LHwdQaIf98sxCdLbqtpocYRVNM=;\n\tb=bICOkpKURRzfu+\n\tb4wvTnrmq0CckrQaVtbn8AUL08kYIuA8imGTH02pAA25RGaoEhzC+KVqa5IqOZvJ5w5+e154frRZ5\n\tF55gdimQiGVIB0SbI40rPFC/Ar9B/JujTeZsxHCDpDvJAbxT6iUnEwPCFAaX47NccHFGM83L/40TY\n\tQ2ff2WCliCFwGfETdM8P7zW2qpqjURvktfX1H2qYpSqwsEh68UEu/QlWNv7Rpkq6//21FwmZlj3Xy\n\tbP9WFXI9l2BmCmj5GSnzrc9bAciQJpuukFleREy1zm8zIR5AXNZoqQerLXrQ4m0Qcg9wxgxeoKFk+\n\tvOfGsLeLi1kgudUxIJnQ==;", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=PsLJjwXPho3ZNZGuy7W1KKtMOWhvoX8fhjwRjXB6VjU=;\n\tb=J3jTtGZnCkE4leh3Qj6NP7W+WfTcVXzvu8dRMPnPBHdbeWTb4G3UTbkE6Dz93hjn1q\n\t/7DnUBDAsRNIM93vM5Ueq6X2sNlLWc/RoRzc0hX5K6hugc7X1YCc1+8nfTkZ7nNDNwBj\n\tCZ3BYDsIEWfZzWTJ3r1fHPpRECf5hrpf25P4EI1zknZJCKzrp7euuuXfdVWM3k2veK7j\n\tTHQJulaNo5/oeTqZwTw2f9sU26gkNq/QKc9CegBkw23vgNrtL029DsWNZzbXoOAiBVzn\n\tEicylJT1o0TarxSB44w5Izm6onGlFqKHN+uXxpMg2+ML75ymOOZf+sPHkMg055+yI08N\n\tjDzg==" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=PsLJjwXPho3ZNZGuy7W1KKtMOWhvoX8fhjwRjXB6VjU=;\n\tb=OgMqZZ3zYs3eAG0M5iehiO1wMf+LcLCfZoa5y5FyGuVjMD9Z97b/Z0fu7JCc6wzcdq\n\taX3laQmUG9KCljuG7M9HfpYk/h8ogxXxN200QUzsk7bcLd6rUtMQ9Gt8mlmWFOB0L2/j\n\tTrGOCZkysLSDTxlhG0k0OjaK3lz8zcfi5ud4BSXLhk5Ls3VWpwWPh1saSHzlWtPBYjVr\n\tTAjvG62UZXHVhu+N8jkOu+zLTpAFAjx0NuA2hova0uJbMTI9X9tOIjZVPJAzB0mJ/KZk\n\tvDOjMIIoXhRfPU8wBmUEV1kbZxIUHm0N2sdk8cimItB3myYqlXvINeXymsEoOKOqbLJD\n\tpGYw==", "X-Gm-Message-State": "AHPjjUidQJqUddwNydXW7YGEflKXFT7j7JYb+2Rl1zGribPOP7VB+fo4\n\tZce/nAbF1X/UjVYr", "X-Google-Smtp-Source": "ADKCNb6utx8ZtUTPuP0NMn3gIFrJTiHJLWg5na0QJzmm6Wm29YK/1E2HXxmnwZrF9Cq/duJv527xAA==", "X-Received": "by 10.98.34.147 with SMTP id p19mr7507945pfj.129.1504413924928; \n\tSat, 02 Sep 2017 21:45:24 -0700 (PDT)", "From": "hackpascal <hackpascal@gmail.com>", "To": "lede-dev@lists.infradead.org", "Date": "Sun, 3 Sep 2017 12:45:20 +0800", "Message-Id": "<20170903044520.26458-1-hackpascal@gmail.com>", "X-Mailer": "git-send-email 2.11.0", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20170902_214546_406592_4E69ED78 ", "X-CRM114-Status": "GOOD ( 11.05 )", "X-Spam-Score": "-2.0 (--)", "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details: (-2.0 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2607:f8b0:400e:c05:0:0:0:242 listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS SPF: sender matches SPF record\n\t0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\n\tprovider (hackpascal[at]gmail.com)\n\t-1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain", "Subject": "[LEDE-DEV] [PATCH 2/4] kernel/4.4: mtdsplit: add kernel cmdline to\n\tdisable split parsers for rootfs and firmware partitions", "X-BeenThere": "lede-dev@lists.infradead.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Id": "<lede-dev.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/lede-dev/>", "List-Post": "<mailto:lede-dev@lists.infradead.org>", "List-Help": "<mailto:lede-dev-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=subscribe>", "Cc": "hackpascal <hackpascal@gmail.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"Lede-dev\" <lede-dev-bounces@lists.infradead.org>", "Errors-To": "lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "Some firmware have already defined rootfs/rootfs_data partitions and do not need extra split operations.\n\nThis patch adds two kernel cmdline parameters to disable firmware and rootfs parsers separately:\n nofwsplit\n norootfssplit\n\nSigned-off-by: hackpascal <hackpascal@gmail.com>\n---\n ...d-kernel-cmdline-to-disable-split-parsers.patch | 56 ++++++++++++++++++++++\n 1 file changed, 56 insertions(+)\n create mode 100644 target/linux/generic/pending-4.4/405-mtd-add-kernel-cmdline-to-disable-split-parsers.patch", "diff": "diff --git a/target/linux/generic/pending-4.4/405-mtd-add-kernel-cmdline-to-disable-split-parsers.patch b/target/linux/generic/pending-4.4/405-mtd-add-kernel-cmdline-to-disable-split-parsers.patch\nnew file mode 100644\nindex 0000000000..b0a666a401\n--- /dev/null\n+++ b/target/linux/generic/pending-4.4/405-mtd-add-kernel-cmdline-to-disable-split-parsers.patch\n@@ -0,0 +1,56 @@\n+--- a/drivers/mtd/mtdpart.c\n++++ b/drivers/mtd/mtdpart.c\n+@@ -39,6 +39,10 @@\n+ \n+ #define MTD_ERASE_PARTIAL\t0x8000 /* partition only covers parts of an erase block */\n+ \n++/* Do not split firmware/rootfs partition */\n++static bool no_fw_split_flag = 0;\n++static bool no_rootfs_split_flag = 0;\n++\n+ /* Our partition linked list */\n+ static LIST_HEAD(mtd_partitions);\n+ static DEFINE_MUTEX(mtd_partitions_mutex);\n+@@ -774,6 +778,9 @@ mtd_pad_erasesize(struct mtd_info *mtd,\n+ \n+ static void split_firmware(struct mtd_info *master, struct mtd_part *part)\n+ {\n++\tif (no_fw_split_flag)\n++\t\treturn;\n++\n+ \trun_parsers_by_type(part, MTD_PARSER_TYPE_FIRMWARE);\n+ }\n+ \n+@@ -790,7 +797,8 @@ static void mtd_partition_split(struct m\n+ \t\treturn;\n+ \n+ \tif (!strcmp(part->mtd.name, \"rootfs\")) {\n+-\t\trun_parsers_by_type(part, MTD_PARSER_TYPE_ROOTFS);\n++\t\tif (!no_rootfs_split_flag)\n++\t\t\trun_parsers_by_type(part, MTD_PARSER_TYPE_ROOTFS);\n+ \n+ \t\trootfs_found = 1;\n+ \t}\n+@@ -1092,3 +1100,22 @@ uint64_t mtd_get_device_size(const struc\n+ \treturn PART(mtd)->master->size;\n+ }\n+ EXPORT_SYMBOL_GPL(mtd_get_device_size);\n++\n++\n++static int __init no_fw_split(char *str)\n++{\n++\tno_fw_split_flag = 1;\n++\n++\treturn 0;\n++}\n++\n++early_param(\"nofwsplit\", no_fw_split);\n++\n++static int __init no_rootfs_split(char *str)\n++{\n++\tno_rootfs_split_flag = 1;\n++\n++\treturn 0;\n++}\n++\n++early_param(\"norootfssplit\", no_rootfs_split);\n", "prefixes": [ "LEDE-DEV", "2/4" ] }