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 73E6EC61DA4 for ; Mon, 6 Mar 2023 13:35:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231238AbjCFNfh (ORCPT ); Mon, 6 Mar 2023 08:35:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231249AbjCFNfd (ORCPT ); Mon, 6 Mar 2023 08:35:33 -0500 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::223]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C69B93D9; Mon, 6 Mar 2023 05:35:31 -0800 (PST) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 6386260013; Mon, 6 Mar 2023 13:35:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1678109730; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VnpGU86Ni72zhxHdNK/dhWD3Go/gB3mzWOJCmEu360g=; b=Jk37TFlJrDLiUnBNheMFtT7rymsUHbSMxbmWDgzFV5GTJqxArTPg6NaoOOtgUWJ4yUqHj0 eOYmTWhLaaLH7O0qvtVpD3MxQsIXCPnGrfPCLjHbJzN7/SuTLC6RH4bvCS0zX7N5v4NivA RtWeZ9sFj9DSRXkAkZLt8XsJqgMKz+wK4Zl5iA6OwQV1eaiZfXb+vuZboDl8Ooio4k1DUO 1zKXqhTgjvPNm7xO7O7wzON2GfmUb+mrc9DxgCHMG3RS6ntD/OcIZUVzQltX1chqO7J2w+ FNAApnnZn3Jk5tznVy/sgkSaQ1FAv5LjP/7m+yasTMOmoQlEFTnmNPkIvuRZBg== Date: Mon, 6 Mar 2023 14:35:28 +0100 From: Miquel Raynal To: Michael Walle Cc: Srinivas Kandagatla , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , devicetree@vger.kernel.org, Rob Herring , Frank Rowand , Robert Marko , Luka Perkov , Thomas Petazzoni , rafal@milecki.pl Subject: Re: [PATCH 0/8] nvmem: Let layout drivers be modules Message-ID: <20230306143528.7407fda5@xps-13> In-Reply-To: References: <20230301152239.531194-1-miquel.raynal@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 =20 >=20 > 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. I will handle the remaining deferral errors in the regular mtd path as discussed on IRC. > Tested-by: Michael Walle >=20 > I didn't test module autoloading, but I presume you did. Yes, I generated an initramfs with Buildroot, in which an overlay containing the result of modules_install got merged (storage device =3Dy and nvmem layout to =3Dm). I could observe the modprobe call being successful and the layout driver being loaded early. > Thanks for working on this! =F0=9F=91=8D > -michael >=20 > [1] https://lore.kernel.org/r/20230306125805.678668-1-michael@walle.cc/ Thanks, Miqu=C3=A8l