Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp453785rda; Sat, 21 Oct 2023 16:01:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEBoa4zeEreOL2wv0+AL1A1BWE2QEHidrSWjmKfQRxGLVf+r9XYimE0wT28YZCE7HFKbGx0 X-Received: by 2002:a54:4402:0:b0:3ae:61f:336c with SMTP id k2-20020a544402000000b003ae061f336cmr6375823oiw.8.1697929278045; Sat, 21 Oct 2023 16:01:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697929278; cv=none; d=google.com; s=arc-20160816; b=iChgtEE5u8ZaWOkj0AAdL/4wpYExBMhEkh/Eq7iEVnDkxh5oCOGBwI2xApucLeso07 a3rTRL/UNeKeM0Jr2d0Vvt6zjfQoHiDnwcPlN3YtVT7hOHlONwLB1rBl/jRZGzAI8S0V GfzxwQ/5KgzzA0FggMlTwil8IX33rMhDRCQ//1/alaHCjtdYOECyzngOlHQsFwakNVXO oMnb6B89k27ZMR9AV4WpB1G+5n2HXh1dZ9Xx6nmGyYAi/8LsOEcSxX/kYXib3ajhK2DB SGvDC07aLJlDWegufTpMRowi7Pwjmeml9K2Q3hsHbDuqt4TBubIaLZB/mg7QDkCMcyMV hK3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version; bh=zAefSNjbdhPmB26DbaCX7JmqNpxeDl8uSyMhSHu2vi8=; fh=YOcGi6PihotUzIEAd9I4UXa04qb044vbSuZIBiHKaeM=; b=DAq5rd+KQmeELVdr9ld61FQ/+fw6NdmCcuxNpJeCEJW5ySA+7noZBjzrBJ/quV0CMI z2FHzo1rOUCIlc8XvNbX/jrLfhz/jBjA0/nkgPsAB6bL88a4bdP0AEibmOQxSFvESGB+ WtXh+K5DQ7uayrn+/D522zSCuOcRxFzIKBzZfM/1RZJpDp+1FcQpG/71J7xJQ68yFJnY CTIs78Nk13CwB5m2495vmFAodVtHNKJtYbmUZRTHPCGDyYweJ7fOPTRGYnprTyqchA74 jd/UITZI65LOfLHNxmgaEdc5S6foBTdYktZwBx+c2jQ/gw4eFmqxkeiuUNuGt/4vAsJn ofHA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id u11-20020a6540cb000000b005b8aef54248si302904pgp.411.2023.10.21.16.01.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 16:01:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 7B787809C186; Sat, 21 Oct 2023 16:01:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230104AbjJUXAz (ORCPT + 99 others); Sat, 21 Oct 2023 19:00:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjJUXAy (ORCPT ); Sat, 21 Oct 2023 19:00:54 -0400 X-Greylist: delayed 4200 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 21 Oct 2023 16:00:49 PDT Received: from 17.mo583.mail-out.ovh.net (17.mo583.mail-out.ovh.net [46.105.56.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E3C9C1A3 for ; Sat, 21 Oct 2023 16:00:49 -0700 (PDT) Received: from director8.ghost.mail-out.ovh.net (unknown [10.109.156.41]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id C31F926F35 for ; Sat, 21 Oct 2023 20:31:55 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-mfq7p (unknown [10.110.115.64]) by director8.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 938551FDE1; Sat, 21 Oct 2023 20:31:55 +0000 (UTC) Received: from RCM-web9.webmail.mail.ovh.net ([151.80.29.21]) by ghost-submission-6684bf9d7b-mfq7p with ESMTPSA id SjPbIjs1NGVgpxoAlMRRDQ (envelope-from ); Sat, 21 Oct 2023 20:31:55 +0000 MIME-Version: 1.0 Date: Sat, 21 Oct 2023 22:31:55 +0200 From: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= To: Greg KH Cc: srinivas.kandagatla@linaro.org, linux-kernel@vger.kernel.org, Miquel Raynal Subject: Re: [PATCH 4/6] Revert "nvmem: add new config option" In-Reply-To: <2023102100-tile-spinning-fa1b@gregkh> References: <20231020105545.216052-1-srinivas.kandagatla@linaro.org> <20231020105545.216052-5-srinivas.kandagatla@linaro.org> <2023102100-tile-spinning-fa1b@gregkh> User-Agent: Roundcube Webmail/1.4.13 Message-ID: X-Sender: rafal@milecki.pl X-Originating-IP: 31.11.218.106 X-Webmail-UserID: rafal@milecki.pl Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 3835659510162041636 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrkedtgddugeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepggffhffvvefujghffgfkgihitgfgsehtkehjtddtreejnecuhfhrohhmpeftrghfrghlucfoihhlvggtkhhiuceorhgrfhgrlhesmhhilhgvtghkihdrphhlqeenucggtffrrghtthgvrhhnpeejvdelgfeutdfhfeelheegfedtleduleeuvdfgfeefvefhvedtheetjeetfeehgeenucfkphepuddvjedrtddrtddruddpfedurdduuddrvddukedruddtiedpudehuddrkedtrddvledrvddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeorhgrfhgrlhesmhhilhgvtghkihdrphhlqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdpoffvtefjohhsthepmhhoheekfedpmhhouggvpehsmhhtphhouhht X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Sat, 21 Oct 2023 16:01:15 -0700 (PDT) On 2023-10-21 19:18, Greg KH wrote: > On Fri, Oct 20, 2023 at 11:55:43AM +0100, > srinivas.kandagatla@linaro.org wrote: >> From: Rafał Miłecki >> >> This reverts commit 517f14d9cf3533d5ab4fded195ab6f80a92e378f. >> >> It seems that "no_of_node" config option was added to help mtd's case. >> >> DT nodes of MTD partitions (that are also NVMEM devices) may contain >> subnodes that SHOULD NOT be treated as NVMEM fixed cells. To prevent >> NVMEM core code from parsing them "no_of_node" was set to true and >> that >> made for_each_child_of_node() in NVMEM a no-op. >> >> With the introduction of "add_legacy_fixed_of_cells" config option >> things got more explicit. MTD subsystem simply tells NVMEM when to >> look >> for fixed cells and there is no need to hack "of_node" pointer >> anymore. >> >> Signed-off-by: Rafał Miłecki >> Reviewed-by: Miquel Raynal >> Signed-off-by: Srinivas Kandagatla > > Why isn't this also marked for stable trees? I think it's explained in commit message but maybe it's not clear enough? This revert (PATCH 4/6) is possible only with the previous PATCH 2/6 applied first. In other words "no_of_node" config option can be dropped only after adding "add_legacy_fixed_of_cells" config option. Since adding "add_legacy_fixed_of_cells" is not a bug/regression fix I didn't mark it for stable and so I couldn't mark revert for stable. -- Rafał Miłecki