Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2287014rdb; Fri, 8 Dec 2023 04:06:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFn+yUuZt22kpo0DMEgdu7e2lffkpOKbrNi9XM/i4Lwtlgra9c2/9batYBtwKLtQFeFR4n9 X-Received: by 2002:a05:6a00:b8a:b0:6ce:2732:1dff with SMTP id g10-20020a056a000b8a00b006ce27321dffmr4404021pfj.57.1702037182016; Fri, 08 Dec 2023 04:06:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702037182; cv=none; d=google.com; s=arc-20160816; b=LweWwsu+3efJ7d/CdjVpo0GSyb7xDMKJtIbtZt9dEbBLyWL9rLlkTulzKr5gCGcexl S6A9vLpydCjAkC6qe/ompW3a7ugH6CdUfie8TLBXaw55RMnMqT0yTB/J6Z5PMZa1s9qi IUGwcfFjpxFrmaPLg1R9CxKtVnMNksJ+tKzKqmtc++Ta3hm0W9Ij5/jBOq80s3GgSEeb 3G0sKvzykduHGcif6PDLBlu4/o8o4hTFatyMPbVEieX/01HDglz3uXScc4WISUrod2aF gJarkHXxI2aDeNRUlEK7N64gZdl9GCo3GJoDsl4iG5Yyn4EWbteHJ9o+m7XfDACelkff xKyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=Cb4XIiXdVUAfpnDEkvzJesxUepGgZi2akDCh/iP7gxw=; fh=YlocqvV2kEyxdCMzliSOuMPBJz/xTHjaRRfDOd1jVGE=; b=GOsxRGep8YC/ctB+nRSH0VkWoJUEYYFPdNAH0IJFu6RuU/lqCtZGc42JY9WzXEPR0t rjcYvoA1G2sAH2DM9Ra5dDC4upONXGHHikSGVb1dZsS4sszWYZaqnrmfKjnWfoPTHw1q rg8ubPCRXTTAw60Bz8706c8KBmFGCNdHubqj0VCeczqmLlX7me2Tb7LE8WU1UoKsxSmG l3itoz+9xuQbq/ge5H5geQ+ZPDJ2Iid8rmT2a6ULxTkhJRyYrJ/My65MBeA8rRuUhcci eaaAwIUug2YG1ks2pSM729mEwGidoO1bYRUUyuqTbou99ItV+K/ytIsnA+c4rNuMxbdC IMdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=SXJsAH4L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id o2-20020a655202000000b005c65dc887dbsi1372399pgp.557.2023.12.08.04.06.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 04:06:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=SXJsAH4L; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 4A72383797E7; Fri, 8 Dec 2023 04:06:18 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233400AbjLHMFp (ORCPT + 99 others); Fri, 8 Dec 2023 07:05:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233392AbjLHMFl (ORCPT ); Fri, 8 Dec 2023 07:05:41 -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 D689F1732 for ; Fri, 8 Dec 2023 04:05:45 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 2109960002; Fri, 8 Dec 2023 12:05:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1702037144; 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=Cb4XIiXdVUAfpnDEkvzJesxUepGgZi2akDCh/iP7gxw=; b=SXJsAH4LmYX6ecWJsWNxfTt0BBO/FKeGiy8zAOcXnCRdCUBd81h6XFfjGj53YuFj6X2qEl 99cfYkVJAau+U5PbDLKqyP/kkA7iCoUzSfzlID8fU84Cd/OmCBQPrfqhUQXu3ImoHqgXsL JdG3glfHJhLz1S8nH3c8RzMZwUanFouUxEObOqqG7PCb18Uv7HTIqNl91C8uJehn/YUfRV gMS7zCyC4JoKvBtGo4rc5desJngmDZ36qijUxs/bBD5mC8/DMnbFxUSJMRHaWyXL4W4rW1 x90AONEWjZM4RK0YTE7qGJOdwG088IQtuAUfwEUjtOYTQ56TeNayc/irMh/jig== Date: Fri, 8 Dec 2023 13:05:39 +0100 From: Miquel Raynal To: Srinivas Kandagatla Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Thomas Petazzoni , Robert Marko , Luca Ceresoli , Michael Walle , =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Marco Felsch , Randy Dunlap , Chen-Yu Tsai , Daniel Golle Subject: Re: [PATCH v14 0/8] NVMEM cells in sysfs Message-ID: <20231208130539.394c28d9@xps-13> In-Reply-To: <170203247041.19230.6088380778885293722.b4-ty@linaro.org> References: <20231129163737.698317-1-miquel.raynal@bootlin.com> <170203247041.19230.6088380778885293722.b4-ty@linaro.org> 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 X-GND-Sasl: miquel.raynal@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Fri, 08 Dec 2023 04:06:18 -0800 (PST) Hi Srinivas, srinivas.kandagatla@linaro.org wrote on Fri, 08 Dec 2023 10:47:50 +0000: > On Wed, 29 Nov 2023 17:37:29 +0100, Miquel Raynal wrote: > > As part of a previous effort, support for dynamic NVMEM layouts was > > brought into mainline, helping a lot in getting information from NVMEM > > devices at non-static locations. One common example of NVMEM cell is the > > MAC address that must be used. Sometimes the cell content is mainly (or > > only) useful to the kernel, and sometimes it is not. Users might also > > want to know the content of cells such as: the manufacturing place and > > date, the hardware version, the unique ID, etc. Two possibilities in > > this case: either the users re-implement their own parser to go through > > the whole device and search for the information they want, or the kernel > > can expose the content of the cells if deemed relevant. This second > > approach sounds way more relevant than the first one to avoid useless > > code duplication, so here is a series bringing NVMEM cells content to > > the user through sysfs. > >=20 > > [...] =20 >=20 > Applied, thanks! Great! Thanks! Miqu=C3=A8l