Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp2311422imn; Mon, 1 Aug 2022 20:22:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR7Z9SXvbMxObb+WkyTVSUynhuOncFeAefpdbEjc17GphJVuB78+OLjefE2jx9SaJFOiQMyu X-Received: by 2002:a05:6a00:e1a:b0:52d:9c84:24c1 with SMTP id bq26-20020a056a000e1a00b0052d9c8424c1mr5316533pfb.13.1659410565735; Mon, 01 Aug 2022 20:22:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659410565; cv=none; d=google.com; s=arc-20160816; b=WZp5V0KqGhhpb5ikeAobVGdW54ovxbVmhE200+F8jSRabZuYxb09ioLYZyjru0m10o c+golSM73Uvt+gu7QZyBFZGbWYW1wqgscQ+a1P3woVPL8S7aJ02I2upMT/Qkc0jdKKaX 5TclzkWrSSmWJRzCb+aECpVe2wX3fyUEsN9Ug5QuKE8bPJYJdw/p73RL/nJWyNJNpcHj 6VS2Xsfpqt5udMaZ0lHejaXZje9wcwWP1myG1JLmL1SUeQS9+fL2dVBksWzsSsB82aaj wOicmC/ujCmGzTfZkSSQHMaHlepAPyc6jerRy+EyeyEyvyET23wYH8PVs2L/A2Ah4LK0 5UhQ== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=1wQUcmLukpC1Bsb8rPBENFrHfmvO7NJ14wmpOntQDX0=; b=cWIKYMhZA91okunbvQgr/YszXUESUnE/qMQi33EK5TlNbVjDED5cnZwFdIqckULxwS OOy3semMlim8asvrA/SuyXQGdJulvfL5rYu7C0wEtbhBzJu8DifpHoyvVNfVDkeAI3qg GJskx2I1JXgEYVIDPj0zPQEQP+hFKdzSye95emuIoid83jv70ietKKh1NvG5M9EwzQTv gMFzSxv75TRo7zlvU5fNevQ4izc690Yk8wspea0eBZJxeld+4tWalU7Ayd5WVJNVUo/T RBq7F1bNlji2PNKteYXl2PiLVysULpxEgQXAGh6pkBOimSopzob8WGoqrqqLgKyVRHoW P10g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d2m3X4Uj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g6-20020a635206000000b003c64eaa98cbsi6053232pgb.58.2022.08.01.20.22.31; Mon, 01 Aug 2022 20:22:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=d2m3X4Uj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235483AbiHBDSo (ORCPT + 99 others); Mon, 1 Aug 2022 23:18:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231535AbiHBDSk (ORCPT ); Mon, 1 Aug 2022 23:18:40 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B86F422D5; Mon, 1 Aug 2022 20:18:38 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 984DFB81993; Tue, 2 Aug 2022 03:18:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2A90C433C1; Tue, 2 Aug 2022 03:18:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659410315; bh=Z7/VGcA7gFQVK1Wgj1jcPP84BZehqajH/txf1dOs4rY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=d2m3X4Ujj0q97QHkKSAe6YqYG4a1lftUG1dFUbFuK1up+FIWPuCI0XuFUISJShZZd M3Ja/W6RkdeeSGlUhB9NhI5ywv/5pkrIJMN+TKpC3Sks81JOlJLusMDtoKscN031ul fm/8Eyrif9nNvNxVIZpTbcDvQAowGPovY22m23ViXINJ+hp90d5NpIDw5dcgxWUCnm CMNlSzmU6Q8Z0PPjjTywXJD18Ph/NY8srjHR0hv2QmYp+f2b5Tn8GzKf/ywtOyTzRp oqwoHDZSdXDp8OeMlyrmREFAg8rCngdq3orM8oQxC2xyLmlWFFTw0cklGjMmbCaIPK hVCo6x9BSIb/A== Date: Mon, 1 Aug 2022 20:18:33 -0700 From: Jakub Kicinski To: Vadim Pasternak Cc: Daniel Lezcano , "rafael@kernel.org" , "davem@davemloft.net" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Ido Schimmel , Petr Machata , Eric Dumazet , Paolo Abeni Subject: Re: [PATCH 1/2] Revert "mlxsw: core: Use different get_trend() callbacks for different thermal zones" Message-ID: <20220801201833.79dd5171@kernel.org> In-Reply-To: References: <20220801095622.949079-1-daniel.lezcano@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 1 Aug 2022 11:13:36 +0000 Vadim Pasternak wrote: > > This reverts commit 2dc2f760052da4925482ecdcdc5c94d4a599153c. > > > > As discussed in the thread: > > > > https://lore.kernel.org/all/f3c62ebe-7d59-c537-a010- > > bff366c8aeba@linaro.org/ > > > > the feature provided by commits 2dc2f760052da and 6f73862fabd93 is > > actually already handled by the thermal framework via the cooling device > > state aggregation, thus all this code is pointless. > > > > No conflict happened when reverting the patch. > > I am sorry, I didn't run emulation yet to validate this change. > Will do it in tomorrow and will send ACK if it is OK. We'll also need a rebase on top of net-next, the patch as is does not apply to either of the networking trees.