Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8020738rwi; Tue, 25 Oct 2022 01:06:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM761E7NKQvBKSvla+CheXvJP6Z2Tyd7UvMcKAogBaa8BEb5Y0Qicqy8Nt3qvtv9gEss7Wa2 X-Received: by 2002:a17:906:cc18:b0:78d:ee0f:ce02 with SMTP id ml24-20020a170906cc1800b0078dee0fce02mr31659316ejb.323.1666685194402; Tue, 25 Oct 2022 01:06:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666685194; cv=none; d=google.com; s=arc-20160816; b=OTcDpUf/S9tDwdqfCBL5/A4L1v3XYDo4w0GR9mkJ79aT2NDESg3Rxu0cbEp2zZdruN QiJs1ho9sGF8pQz6rB9Hmy3jgALUIGl+SJ7GKE/hBOw82P0Gg8qxqCoKlFrFhULdJExM 0VnK9iI0U660ScCgcFE+bWfNXmon0+jaUvM5so7hHFQOiMxrpwJBWLqtP5cP9fIlPhEP Lqidg3iQgNDGIV6FNRyJLGO9ShgZfCUxXczPFhgyZG+fbctES+rhqkM62t3lnh8aJneX rOI3ePl9mVIABBs+CXOeEJibpO01qAg3HibszjAkl+vVTGnAdeK8m0t0WAns0u+2aXj7 1TqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=oTZ9XSXY51LXE4jSLx8/7Y425Go53KxTtpmQE436jms=; b=ca9HcEPHsVaWZfHPEGzprlCK9b95qc1+Y6Lrots4P1ojdTW2n2/GyRzoeg+wzcS3rf NuyCDhYANdD30D3JGH45xupb05qTZcS+aYiRP7dj3JAe/oGqz2stdI+Nml2jSm0QEQaM utOeCpVyyiF+NOnPEPMJ+rDXrbuY2TAMNwbftD6C6EOApULDwYWzyNW5rN4T+nVqjo1B t38ahxmxo6YAqWNnI3nqI99sazg5dcSaOqaDcdOvjmvC9a3FpVVmY7W7hEGQSb0WCHWb Sp/bOx1ACD447YnjMULnT4QdcHJItQ8WaB0rBo3qKvmBOnvyxziXqVWayvZ5RCDV0QsS wjuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Vrn50l/7"; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id di22-20020a170906731600b007a45e4f4ff2si2356824ejc.853.2022.10.25.01.06.09; Tue, 25 Oct 2022 01:06:34 -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=@linaro.org header.s=google header.b="Vrn50l/7"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231379AbiJYHCc (ORCPT + 99 others); Tue, 25 Oct 2022 03:02:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229867AbiJYHC2 (ORCPT ); Tue, 25 Oct 2022 03:02:28 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C3E5B1BB0 for ; Tue, 25 Oct 2022 00:02:27 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id b2so10185099eja.6 for ; Tue, 25 Oct 2022 00:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=oTZ9XSXY51LXE4jSLx8/7Y425Go53KxTtpmQE436jms=; b=Vrn50l/7KcIqk45mCOD0jXO0febPcbWtWGjEe0hfU9wx/ioohNIusCONFG1//hwvtb EhyTDGnaChULuE+Q6+b0DNlqwwvx31dxnYOabBzMd4gQwDxJZXs8WqEKV7BGjVaJB9yU L+cRUFr+J2JzZiigkzHUgfekEjodEdDdMtk48mYzc4ehTa8l0Xh7kSyTsOJnjWea42hE yHYs37mFLnU9X+U5WhV2hQvY2KAT+DbjP2pIOqQIZcaWTkYWCKMkrqyEFKJdlV5VN0he LkyEiQEadIWtKwXEW/ppUtc5svDYsTgipmeLyOrr7qjWZq1191o60l/3NFvKMhwFRkdy vYtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=oTZ9XSXY51LXE4jSLx8/7Y425Go53KxTtpmQE436jms=; b=W0r+kpFHKNoqHiJUFAAWcjTZ3i3NVZZGPGLQKKGqT9lSLyRlcekCgmJzWw6u3piheI E6aektUJAckFKCwidBrcpN6M0JJKrA25RjQyS5ADp86KyWilxcuXorMKnv96f21sQxvy bWnZnHpmQ9hlcGAsrEesZahuGFIQUfBgQ1G2962jpxxht6AR/jkvDkRS0Oh+jHBsKWDZ eqsWjJrNYKrjePLW6K6FNmTS6JXOLrFcOFoH8aBWwOOaxt6AOgO+dtTf5fSgnE0x1Wtm QxYebNLXtv8O5jzwGEAlGjou3AujEsLyCffwisRLFA9TZRvI9pLBaLb0RvFVMhNZlhEF UViw== X-Gm-Message-State: ACrzQf2M5wrNS9l5F/RAuUYVx+Xq23XWkA8KEr/dOjwXDXLAlhMMYHzt I3fzyjXrnrEqizxa9b9I67w1nQ== X-Received: by 2002:a17:907:3f94:b0:78d:9d2f:3002 with SMTP id hr20-20020a1709073f9400b0078d9d2f3002mr30783518ejc.40.1666681346111; Tue, 25 Oct 2022 00:02:26 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:8219:f4b9:b78d:7de7? ([2a05:6e02:1041:c10:8219:f4b9:b78d:7de7]) by smtp.googlemail.com with ESMTPSA id ca28-20020aa7cd7c000000b004618e343149sm1052055edb.19.2022.10.25.00.02.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 25 Oct 2022 00:02:25 -0700 (PDT) Message-ID: Date: Tue, 25 Oct 2022 09:02:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 2/2] thermal/drivers/mellanox: Use generic thermal_zone_get_trip() function Content-Language: en-US To: Ido Schimmel , vadimp@nvidia.com Cc: rafael@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Petr Machata , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "open list:MELLANOX ETHERNET SWITCH DRIVERS" References: <20221014073253.3719911-1-daniel.lezcano@linaro.org> <20221014073253.3719911-2-daniel.lezcano@linaro.org> From: Daniel Lezcano In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 Hi Ido, On 18/10/2022 08:28, Ido Schimmel wrote: > + Vadim > > On Fri, Oct 14, 2022 at 09:32:51AM +0200, Daniel Lezcano wrote: >> The thermal framework gives the possibility to register the trip >> points with the thermal zone. When that is done, no get_trip_* ops are >> needed and they can be removed. >> >> Convert ops content logic into generic trip points and register them with the >> thermal zone. >> >> Signed-off-by: Daniel Lezcano > > Vadim, can you please review and test? > > Daniel, I saw that you wrote to Kalle that you want to take it via the > thermal tree. Any reason not to take it via net-next? I'm asking because > it will be the second release in a row where we need to try to avoid > conflicts in this file. Because I hope I can remove the ops->get_trip_ ops from thermal_ops structure before the end of this cycle. May be you can consider moving the thermal driver into drivers/thermal? -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog