Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp460105rda; Sat, 21 Oct 2023 16:24:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFrfZWj41ldqnTGNyKx4qyL9429t+8usrPHTVTd/IhxGO4FMU17UHTeDL7fRzZNaYcH9aD5 X-Received: by 2002:a9d:6744:0:b0:6bc:de95:a639 with SMTP id w4-20020a9d6744000000b006bcde95a639mr6198627otm.16.1697930666848; Sat, 21 Oct 2023 16:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697930666; cv=none; d=google.com; s=arc-20160816; b=nya3q2kARIp2cG4lJpOKdMOpC4N4UXMVc1cEQI1Pgt3uBIV/7OndaVAhrrrO25D/l7 1sldUZYnT87CytONoMBPOz8Zcghj3M40iDhkm5y6I3dETMihUGHUKGD1sUjAESresE9Z 6Kw87Sg3+yrdAVItd/7jMwl+ftKW8ehuawBIixuagDq1uI3Y+mzyMebD1HgQvYBc+fKt 5K9a04FFdvVLE/PhimqV0yChqvLmVbF0wf9ItovFpvLxabr8guf/aAHHC8pNBjHwyicz AKBR5wr3rXjmmaLGqbtjScr9BskfarhwGorxmL/oAi7KtDv/biYIOl+QhbZJC5QcIOQQ UvgQ== 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=vkReIZgb1D/JECXhpvOb25IP/QYXXuQSQNw6HFZEiKM=; fh=YOcGi6PihotUzIEAd9I4UXa04qb044vbSuZIBiHKaeM=; b=K9IRZnf/sTabI6sqnBc1o+I0Zi11vKHuEc8UqQyhbZBQi37PCOm8i3M5KQRAQuOa+j uNcrqpdV4aViArzbRqyT4slmtx7+KZ8l001sBAjJ+KEmqf80xKCKp2LyumA+LLyXnB15 knnMvh7J0BFU+n5DBEz+PzvMS8uXFyrfOOf8z0OefpHUcKELQySb8vcRnF5IxmMyg7oa PbHswn1RAS/6Ufkb+LScoxVOod4a/1xzNQ3sfOdzeQY6si+vWVW5nak1ZVhj9nlMk/2S 7VyBCTjfUoirCOvLRf3Sf8h5UVrXM/4SWRC836y48gWhquP0D+HerEyleicyYLq5GANP sRGg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id f22-20020a633816000000b005b3097b75c0si4289572pga.56.2023.10.21.16.24.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Oct 2023 16:24:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 51AAF8044837; Sat, 21 Oct 2023 16:24:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229500AbjJUXYB (ORCPT + 99 others); Sat, 21 Oct 2023 19:24:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbjJUXYA (ORCPT ); Sat, 21 Oct 2023 19:24:00 -0400 X-Greylist: delayed 7799 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sat, 21 Oct 2023 16:23:55 PDT Received: from 5.mo550.mail-out.ovh.net (5.mo550.mail-out.ovh.net [178.33.45.107]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12C5BD66 for ; Sat, 21 Oct 2023 16:23:54 -0700 (PDT) Received: from director3.ghost.mail-out.ovh.net (unknown [10.108.20.16]) by mo550.mail-out.ovh.net (Postfix) with ESMTP id 9CD29279A7 for ; Sat, 21 Oct 2023 20:56:02 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-ldttx (unknown [10.110.171.251]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 70F781FD3E; Sat, 21 Oct 2023 20:56:02 +0000 (UTC) Received: from RCM-web9.webmail.mail.ovh.net ([151.80.29.21]) by ghost-submission-6684bf9d7b-ldttx with ESMTPSA id xDA3GuI6NGU7EAAASqWlTg (envelope-from ); Sat, 21 Oct 2023 20:56:02 +0000 MIME-Version: 1.0 Date: Sat, 21 Oct 2023 22:56:02 +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: <2023102113-posted-pronounce-97fb@gregkh> References: <20231020105545.216052-1-srinivas.kandagatla@linaro.org> <20231020105545.216052-5-srinivas.kandagatla@linaro.org> <2023102100-tile-spinning-fa1b@gregkh> <2023102113-posted-pronounce-97fb@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: 4242953799873833764 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvkedrkedtgdduheduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepggffhffvvefujghffgfkgihitgfgsehtkehjtddtreejnecuhfhrohhmpeftrghfrghlucfoihhlvggtkhhiuceorhgrfhgrlhesmhhilhgvtghkihdrphhlqeenucggtffrrghtthgvrhhnpeejvdelgfeutdfhfeelheegfedtleduleeuvdfgfeefvefhvedtheetjeetfeehgeenucfkphepuddvjedrtddrtddruddpfedurdduuddrvddukedruddtiedpudehuddrkedtrddvledrvddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpeeorhgrfhgrlhesmhhilhgvtghkihdrphhlqedpnhgspghrtghpthhtohepuddprhgtphhtthhopehlihhnuhigqdhkvghrnhgvlhesvhhgvghrrdhkvghrnhgvlhdrohhrghdpoffvtefjohhsthepmhhoheehtddpmhhouggvpehsmhhtphhouhht 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 pete.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 (pete.vger.email [0.0.0.0]); Sat, 21 Oct 2023 16:24:24 -0700 (PDT) On 2023-10-21 22:51, Greg KH wrote: > On Sat, Oct 21, 2023 at 10:31:55PM +0200, Rafał Miłecki wrote: >> 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? > > It's not, I just read it again and can't figure it out, sorry. > >> 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. > > Ah, ok, that's not obvious :) > >> 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. > > That's fine, but can you please resend this with a better changelog > that > makes it obvious why now we can revert the old patch, otherwise the > autobot will come along and attempt to backport it to stable as well. Oops, my bad then. I'll resend tomorrow. Thanks for quick answer! -- Rafał Miłecki