Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2828296lqp; Mon, 25 Mar 2024 10:17:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXsrB6hEEPJg5zl+os22J3RAVaX8Mmjt5Kgmkz6fOov2un9GM4K85s4Z9icTaWPVBkT5O1wqlRO0MOYYMmSa0Dc/e8mirCiyzTyMtcgpA== X-Google-Smtp-Source: AGHT+IHpVIIBfxSg7jFUv+iGxowQHnytbI300Gokw4UKlHqiy45AT14cFDcxboXQ/2mmOROOV9da X-Received: by 2002:a05:6512:23a9:b0:515:a97d:2d99 with SMTP id c41-20020a05651223a900b00515a97d2d99mr3662647lfv.40.1711387042408; Mon, 25 Mar 2024 10:17:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711387042; cv=pass; d=google.com; s=arc-20160816; b=JWroDqDGIkYHo5uTLNQmogqC0Gw+KXTZlXsRKbykUkw8XZoZeOz4KCoPs8XmDn2MTL D8cZ5aTq/nrascwHDUWohGLd+dRY0dFuAmeECwearV6s1QllIVTyHLzRmBMYgy+qcEiG dRdNaIfz1ABODydpEEwezrcv8fGywpEIDBHNHnyVHb4FaWktjAcJ0RxdqSad5Ttsu2Wl clTBmJw3pMsAfIdaPoiTbq7NmI2vpnHlvwz0Rxfcdhm/j7vWX6+zDhi3LMKPFwsgeLz0 VxqKEs4gcqan39ZuWhTf4uiKgv9eRQsLTV1VlWwkYJIRKJdapM0foy24Co4Gg+IzUT6g TYdA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=WtatkiJlVHfsbeW1M5oo9Xhd1GJQ4yxS3jzF4rvAIrc=; fh=CSBH1dQNHBdPQ0N9/UJ88bJ4md7U3hap0n7y4hWYxgE=; b=m4oaoqO69wQMn5ljYZNzvyHSWIRJN4ZA4bDQXeBuiJFwANOy2Bxc45GE9+sQkXxwYQ sijE6mddLNebQr/gcpBkHvWoofUoxA57wcw5ezbwd+fNwTqtWTJ3JruaSjVCLb61fRKy b0UB2yGU8Fn4McDMqNUBRPoYavFcOPeDUmvktNwydJq1xVrjUm5Nsbnxu/eZHKHpxqII 6ePuh0DbS+X1pVZsPMn6ruYe7Drw/OMTkRs21jRGNRLxoVvx2x/b0dizUxfKYcO+KcDZ +nRmzLouWDOMoe7gqWJp+A2dmG3yQSPMXNLfMtIPEsFHPHXT3OZ7g6QFAieNLi11jZx0 nAhQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=makrotopia.org); spf=pass (google.com: domain of linux-kernel+bounces-117405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117405-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id j16-20020a1709062a1000b00a4750ac85dcsi1705376eje.290.2024.03.25.10.17.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 10:17:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=makrotopia.org); spf=pass (google.com: domain of linux-kernel+bounces-117405-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117405-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id CF6B41F623EC for ; Mon, 25 Mar 2024 17:11:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4DE2F140395; Mon, 25 Mar 2024 15:46:53 +0000 (UTC) Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE6A913E8BF; Mon, 25 Mar 2024 15:46:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.142.180.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711381612; cv=none; b=mtNQeHaOcepL3ocX67vPqH0whnWw5fViBf4Lds2aNBZhKVEmkyul7QrMT6anHjAfgW6cM/Ljgdc6DLZ/aknd1S9tQ0/tipN1bH3TMXY4LOQUT/mStUJCFByvLWSuzotBIdWA1Dzk1ISnf6kEwTAtwJY63aGN3gczSWdQF2g14Ss= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711381612; c=relaxed/simple; bh=GzSXXAtn+MG9MXEBydJA28ph4fycU10z4qRFnMd2PPg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=f0UA+8jHgSaJssZqSmpm77krzrTugaU/1e27IlVe9WSSpMcE9R5lP/zrT1g4VfhC2BmJ2+g117YtIoWmrXDkYs4OrTDMBFV4m0e1U0oHa0T0oEzYnfLR6XISKcmoxXnN4rxjcL5mec8Oa+LnU04E6wkfTE5pmXDXrqxL9iopprg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.client-ip=185.142.180.65 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96.2) (envelope-from ) id 1romWj-0002mZ-1Y; Mon, 25 Mar 2024 15:46:21 +0000 Date: Mon, 25 Mar 2024 15:46:17 +0000 From: Daniel Golle To: Rob Herring Cc: Krzysztof Kozlowski , Conor Dooley , Ulf Hansson , Jens Axboe , Dave Chinner , Jan Kara , Thomas =?iso-8859-1?Q?Wei=DFschuh?= , Damien Le Moal , Li Lingfeng , Christian Brauner , Christian Heusel , Min Li , Adrian Hunter , Avri Altman , Hannes Reinecke , Christian Loehle , Bean Huo , Yeqi Fu , Victor Shih , Christophe JAILLET , Dominique Martinet , "Ricardo B. Marliere" , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, linux-block@vger.kernel.org Subject: Re: [PATCH 0/8] block: implement NVMEM provider Message-ID: References: <20240325151259.GB3591150-robh@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240325151259.GB3591150-robh@kernel.org> On Mon, Mar 25, 2024 at 10:12:59AM -0500, Rob Herring wrote: > On Thu, Mar 21, 2024 at 07:31:48PM +0000, Daniel Golle wrote: > > On embedded devices using an eMMC it is common that one or more (hw/sw) > > partitions on the eMMC are used to store MAC addresses and Wi-Fi > > calibration EEPROM data. > > > > Implement an NVMEM provider backed by a block device as typically the > > NVMEM framework is used to have kernel drivers read and use binary data > > from EEPROMs, efuses, flash memory (MTD), ... > > > > In order to be able to reference hardware partitions on an eMMC, add code > > to bind each hardware partition to a specific firmware subnode. > > > > Overall, this enables uniform handling across practially all flash > > storage types used for this purpose (MTD, UBI, and now also MMC). > > > > As part of this series it was necessary to define a device tree schema > > for block devices and partitions on them, which (similar to how it now > > works also for UBI volumes) can be matched by one or more properties. > > > > --- > > This series has previously been submitted as RFC on July 19th 2023[1] > > and most of the basic idea did not change since. Another round of RFC > > was submitted on March 5th 2024[2] which has received overall positive > > feedback and only minor corrections have been done since (see > > changelog below). > > Also, please version your patches. 'RFC' is a tag, not a version. v1 was > July. v2 was March 5th. This is v3. According to "Submitting patches: the essential guide to getting your code into the kernel" [1] a version is also a tag. Quote: Common tags might include a version descriptor if the [sic] multiple versions of the patch have been sent out in response to comments (i.e., “v1, v2, v3”), or “RFC” to indicate a request for comments. Maybe this should be clarified, exclusive or inclusive "or" is up to the reader to interpret at this point, and I've often seen RFC, RFCv2, v1, v2, ... as a sequence of tags applied for the same series, which is why I followed what I used to believe was the most common interpretation of the guidelines. In any way, thank you for pointing it out, I assume the next iteration should then be v4. [1]: https://docs.kernel.org/process/submitting-patches.html