Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ACFD5C678D4 for ; Mon, 6 Mar 2023 14:42:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229846AbjCFOmP (ORCPT ); Mon, 6 Mar 2023 09:42:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230049AbjCFOmK (ORCPT ); Mon, 6 Mar 2023 09:42:10 -0500 Received: from 8.mo561.mail-out.ovh.net (8.mo561.mail-out.ovh.net [87.98.172.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C20523325 for ; Mon, 6 Mar 2023 06:41:51 -0800 (PST) Received: from director5.ghost.mail-out.ovh.net (unknown [10.109.143.136]) by mo561.mail-out.ovh.net (Postfix) with ESMTP id D94FF26608 for ; Mon, 6 Mar 2023 14:34:50 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-c69ts (unknown [10.110.115.217]) by director5.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 7145F1FDDB; Mon, 6 Mar 2023 14:34:50 +0000 (UTC) Received: from RCM-web1.webmail.mail.ovh.net ([176.31.238.120]) by ghost-submission-6684bf9d7b-c69ts with ESMTPSA id CPlUGgr6BWSpMwEA9+Jaug (envelope-from ); Mon, 06 Mar 2023 14:34:50 +0000 MIME-Version: 1.0 Date: Mon, 06 Mar 2023 15:34:50 +0100 From: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= To: Miquel Raynal Cc: Michael Walle , Srinivas Kandagatla , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , devicetree@vger.kernel.org, Rob Herring , Frank Rowand , Robert Marko , Luka Perkov , Thomas Petazzoni Subject: Re: [PATCH 0/8] nvmem: Let layout drivers be modules In-Reply-To: <20230306152954.5b72154f@xps-13> References: <20230301152239.531194-1-miquel.raynal@bootlin.com> <20230306143528.7407fda5@xps-13> <73a04afaf658292c05ef27117c60b21d@milecki.pl> <20230306151829.57c689b4@xps-13> <0b94d38a25f5d8ea70f228213ba14fa4@milecki.pl> <20230306152954.5b72154f@xps-13> User-Agent: Roundcube Webmail/1.4.13 Message-ID: <55aec068346e75008d84587ac2dad40b@milecki.pl> X-Sender: rafal@milecki.pl X-Originating-IP: 194.187.74.233 X-Webmail-UserID: rafal@milecki.pl Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 18017213262722804720 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -85 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrvddtkedgfeekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrhhlucfvnfffucdludehmdenucfjughrpeggfffhvfevufgjfhgfkfigihgtgfesthekjhdttderjeenucfhrhhomheptfgrfhgrlhcuofhilhgvtghkihcuoehrrghfrghlsehmihhlvggtkhhirdhplheqnecuggftrfgrthhtvghrnhepjedvlefguedthfefleehgeeftdeludeluedvgfeffeevhfevtdehteejteefheegnecukfhppeduvdejrddtrddtrddupdduleegrddukeejrdejgedrvdeffedpudejiedrfedurddvfeekrdduvddtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeorhgrfhgrlhesmhhilhgvtghkihdrphhlqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdpoffvtefjohhsthepmhhoheeiuddpmhhouggvpehsmhhtphhouhht Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023-03-06 15:29, Miquel Raynal wrote: > Hi Rafał, > > rafal@milecki.pl wrote on Mon, 06 Mar 2023 15:23:50 +0100: > >> On 2023-03-06 15:18, Miquel Raynal wrote: >> > Hi Rafał, >> > >> > rafal@milecki.pl wrote on Mon, 06 Mar 2023 14:57:03 +0100: >> > >> >> On 2023-03-06 14:35, Miquel Raynal wrote: >> >> > Hi Michael, >> >> > >> >> > michael@walle.cc wrote on Mon, 06 Mar 2023 14:01:34 +0100: >> >> > >> >> >> > Miquel Raynal (8): >> >> >> > of: Fix modalias string generation >> >> >> > of: Change of_device_get_modalias() main argument >> >> >> > of: Create an of_device_request_module() receiving an OF node >> >> >> > nvmem: core: Fix error path ordering >> >> >> > nvmem: core: Handle the absence of expected layouts >> >> >> > nvmem: core: Request layout modules loading >> >> >> > nvmem: layouts: sl28vpd: Convert layout driver into a module >> >> >> > nvmem: layouts: onie-tlv: Convert layout driver into a module >> >> >> >> With the fixes series [1] applied: >> >> > >> >> > Thanks for the series! Looks good to me. I believe both series can live >> >> > in separate tress, any reason why we would like to avoid this? I am > keen >> >> > to apply [1] into the mtd tree rather soon. >> >> >> Given past events with nvmem patches I'm against that. >> >> >> Let's wait for Srinivas to collect pending patches, let them spend a >> >> moment in linux-next maybe, ask Srinivas to send them to Greg early if >> >> he can. That way maybe you can merge Greg's branch (assuming he >> doesn't >> >> rebase). >> > >> > Just to be on the same page, we're talking about the mtd core fixups to >> > handle correctly probe deferrals in the nvmem side. >> > >> > Applying mtd patches then nvmem patches is totally fine in this order. >> > Applying nvmem patches and then mtd patches creates a range of commits >> > where some otp devices might have troubles probing if: >> > - a layout driver is used >> > - the driver is compiled as a module >> > - the driver is also not installed in an initramfs >> > >> > I was actually asking out loud whether we should care about this >> > commit range given the unlikelihood that someone would have troubles >> > with this while bisecting a linux-next kernel. >> > >> > So getting an immutable tag from Greg would not help. The opposite >> > might make sense though, and involves that I apply [1] to mtd/next >> > rather soon anyway, I guess? >> >> The problem IIUC is nvmem.git / for-next containing broken code after >> adding nvmem stuff. That is unless Srinivas takes your patches in some >> way. Hopefully not by waiting for 6.4-rc1. > > I don't follow. There will be nothing broken after applying the nvmem > patches, at least nothing more than today. I will apply the patches > provided by Michael, they fix existing issues, nothing related to the > nvmem changes. Just, it is easier to trigger these issues with the > nvmem series thanks to the probe deferral situations. > > Both series can live on their own. If required I will produce an > immutable tag to Greg. OK, it's me how didn't follow then. I thought your mtd fixes are needed before applying nvmem stuff. It sounds OK then.