Cover Letter Detail
Show a cover letter.
GET /api/covers/1820089/?format=api
{ "id": 1820089, "url": "http://patchwork.ozlabs.org/api/covers/1820089/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/cover/cover.1691717480.git.daniel@makrotopia.org/", "project": { "id": 3, "url": "http://patchwork.ozlabs.org/api/projects/3/?format=api", "name": "Linux MTD development", "link_name": "linux-mtd", "list_id": "linux-mtd.lists.infradead.org", "list_email": "linux-mtd@lists.infradead.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<cover.1691717480.git.daniel@makrotopia.org>", "list_archive_url": null, "date": "2023-08-11T01:36:03", "name": "[v4,0/8] mtd: ubi: allow UBI volumes to provide NVMEM", "submitter": { "id": 64091, "url": "http://patchwork.ozlabs.org/api/people/64091/?format=api", "name": "Daniel Golle", "email": "daniel@makrotopia.org" }, "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/cover/cover.1691717480.git.daniel@makrotopia.org/mbox/", "series": [ { "id": 368347, "url": "http://patchwork.ozlabs.org/api/series/368347/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=368347", "date": "2023-08-11T01:36:37", "name": "mtd: ubi: allow UBI volumes to provide NVMEM", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/368347/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/1820089/comments/", "headers": { "Return-Path": "\n <linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=<UNKNOWN>)", "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Ug+oS0bF;\n\tdkim-atps=neutral" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4RMRHv1yvfz1yf2\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 11 Aug 2023 11:37:45 +1000 (AEST)", "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux))\n\tid 1qUH5D-0094vC-1l;\n\tFri, 11 Aug 2023 01:36:55 +0000", "from pidgin.makrotopia.org ([185.142.180.65])\n\tby bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux))\n\tid 1qUH59-0094uM-1b\n\tfor linux-mtd@lists.infradead.org;\n\tFri, 11 Aug 2023 01:36:53 +0000", "from local\n\tby pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256)\n\t (Exim 4.96)\n\t(envelope-from <daniel@makrotopia.org>)\n\tid 1qUH4h-00052h-2s;\n\tFri, 11 Aug 2023 01:36:24 +0000" ], "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From\n\t:Date:Reply-To:Cc: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=B3GKQiBZA7u7ZeuBjvbfoq0ObzU0f3eR8CcgWSZXyHU=; b=Ug+oS0bF0V/dT9\n\tGJZWp+mXx9IVMQcJmhIVkgMGQf3/FrJed94ANkZqiNoyOAOU+1tqOM5drlY8Lw7RBG9FGZPh0pCHJ\n\tUJlaUitVMdTNar3Z6XM6Pb+9ihU4aX3TsrNVsNdsEyeTrqM1PJCW7b19UdGeLLU9LQRDXdmAhOw0u\n\teGySkX+JvYXze9d/KatHvzOVx3/01uj12gE0QGSIZtFQZcYngVrxUrrXEC8uz1n+FQWV5lLb39I+k\n\tPrzM5jc2YHfrmbEeaJk0P5JK1LmOgqKp2DK/sCOl80RnTUe/n79R/tEAEu6Uq8KV+MuXWLO9xTnpx\n\tZf3O5tLKqmU7r2tXrjrw==;", "Date": "Fri, 11 Aug 2023 02:36:03 +0100", "From": "Daniel Golle <daniel@makrotopia.org>", "To": "Randy Dunlap <rdunlap@infradead.org>,\n\tMiquel Raynal <miquel.raynal@bootlin.com>,\n\tRichard Weinberger <richard@nod.at>,\n\tVignesh Raghavendra <vigneshr@ti.com>,\n\tRob Herring <robh+dt@kernel.org>,\n\tKrzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,\n\tConor Dooley <conor+dt@kernel.org>,\n\tDaniel Golle <daniel@makrotopia.org>, linux-mtd@lists.infradead.org,\n\tdevicetree@vger.kernel.org, linux-kernel@vger.kernel.org", "Subject": "[PATCH v4 0/8] mtd: ubi: allow UBI volumes to provide NVMEM", "Message-ID": "<cover.1691717480.git.daniel@makrotopia.org>", "MIME-Version": "1.0", "Content-Disposition": "inline", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20230810_183651_580928_0531535B ", "X-CRM114-Status": "GOOD ( 16.69 )", "X-Spam-Score": "0.0 (/)", "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam. The original\n message has been attached to this so you can view it or label\n similar future email. If you have any questions, see\n the administrator of that system for details.\n Content preview: The series is a follow-up and contains all patches of the\n previous series \"mtd: ubi: behave like a good MTD citizen\"[1] which was\n meant\n in preparation for implementing the NVMEM provider. The goal is to support\n embedded Linux devices which got NVMEM bits stored inside a UBI volume.\n Representing\n the UBI volume in the Device Tree,\n adding a phandle to be referenced by NVMEM\n consumers allo [...]\n Content analysis details: (0.0 points, 5.0 required)\n pts rule name description\n ---- ----------------------\n --------------------------------------------------\n -0.0 SPF_PASS SPF: sender matches SPF record\n 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record", "X-BeenThere": "linux-mtd@lists.infradead.org", "X-Mailman-Version": "2.1.34", "Precedence": "list", "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-mtd>,\n <mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/linux-mtd/>", "List-Post": "<mailto:linux-mtd@lists.infradead.org>", "List-Help": "<mailto:linux-mtd-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n <mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>", "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "The series is a follow-up and contains all patches of the previous\nseries \"mtd: ubi: behave like a good MTD citizen\"[1] which was meant in\npreparation for implementing the NVMEM provider.\n\nThe goal is to support embedded Linux devices which got NVMEM bits\nstored inside a UBI volume. Representing the UBI volume in the Device\nTree, adding a phandle to be referenced by NVMEM consumers allows such\ndevices to come up with their correct MAC addresses and device-specific\nWi-Fi calibration data loaded.\n\nIn order to be available for other drivers, attaching UBI devices has\nto be moved from late_initcall (which is too late for other drivers) to\nhappen earlier. As an alternative to the existing kernel cmdline\nparameter the Device Tree property 'compatible = \"linux,ubi\";' inside\nan MTD partition can be used to have that MTD device attached as UBI\ndevice. MTD partitions which serve as UBI devices may have a \"volumes\"\nfirmware subnode with volumes which may be compatible with\n\"nvmem-cells\".\n\nIn this way, other drivers (think: Ethernet, Wi-Fi) can resolve and\nacquire NVMEM bits using the usual device tree phandle, just this time\nthe NVMEM content is read from a UBI volume.\n\n[1]: https://patchwork.ozlabs.org/project/linux-mtd/list/?series=353177&state=%2A&archive=both\n\nChanges since v3:\n * dt-bindings fixes as requested\n\nChanges since v2:\n * include dt-bindings additions\n\nChanges since v1:\n * include patch to fix exiting Kconfig formatting issues\n * fix typo and indentation in Kconfig\n\nDaniel Golle (8):\n dt-bindings: mtd: add basic bindings for UBI\n dt-bindings: mtd: nvmem-cells: add support for UBI volumes\n mtd: ubi: block: don't return on error when removing\n mtd: ubi: block: use notifier to create ubiblock\n mtd: ubi: attach MTD partition from device-tree\n mtd: ubi: introduce pre-removal notification for UBI volumes\n mtd: ubi: populate ubi volume fwnode\n mtd: ubi: provide NVMEM layer over UBI volumes\n\n .../bindings/mtd/partitions/linux,ubi.yaml | 66 ++++++\n .../bindings/mtd/partitions/nvmem-cells.yaml | 5 +-\n .../bindings/mtd/partitions/ubi-volume.yaml | 36 ++++\n drivers/mtd/ubi/Kconfig | 12 ++\n drivers/mtd/ubi/Makefile | 1 +\n drivers/mtd/ubi/block.c | 186 ++++++++++-------\n drivers/mtd/ubi/build.c | 160 +++++++++++----\n drivers/mtd/ubi/cdev.c | 4 +-\n drivers/mtd/ubi/nvmem.c | 189 ++++++++++++++++++\n drivers/mtd/ubi/ubi.h | 6 +-\n drivers/mtd/ubi/vmt.c | 32 +++\n include/linux/mtd/ubi.h | 2 +\n 12 files changed, 579 insertions(+), 120 deletions(-)\n create mode 100644 Documentation/devicetree/bindings/mtd/partitions/linux,ubi.yaml\n create mode 100644 Documentation/devicetree/bindings/mtd/partitions/ubi-volume.yaml\n create mode 100644 drivers/mtd/ubi/nvmem.c" }