Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2425646rwb; Mon, 15 Aug 2022 05:23:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR7A/64uT/ZCJebLCd3L9sK4FihFe3tg3RkfOPOtTVwr21rdnrQKZspH4ZHhzduGjYse5JTB X-Received: by 2002:a17:906:9c82:b0:6e1:2c94:1616 with SMTP id fj2-20020a1709069c8200b006e12c941616mr10345710ejc.64.1660566212243; Mon, 15 Aug 2022 05:23:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660566212; cv=none; d=google.com; s=arc-20160816; b=NAxViOvpJTFpEIKXE/v8e6cyvF4cHQC91kWZbxHjJtV2+LSFFsoCbT+SaQIJizyLZb qGxeSUXdxALV5vDuz4Wcg08zwHoCn3tbp1nFP3QasRdFhtRoZUx7vTBO3c50eMf2tNAx cSfD6/xzk1dar5jNV8m0I8CaDMhUpOLhyLuXgEj/f2yoEnGeQBf0TEOLggzlYMx2Adm3 iptNPC8ItpuhfIFVMFSfSFbMZTzLzCVUhP+kTeDeMVdKHE4V0gxnlZYykohJT+XaAnoT IlnPUlVDr6IacXAJDGurxJRzMedgEV5uRwL0VdIJ95jNAH1RGXFmWi38FH4ncws5F1nj 8I2Q== 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=OOBxVifVngH1dKlf3OhsPXEXbSU6u+dGQCi1trZkNMs=; b=ufq0snnlP8JqAl243RGDPiJYAay3IK/X+23wdz8HLqtizsBBMnUhJ3nZj2iV6J/kqh n9hTtgZySr3Wc6LZ+b6vkIbFeVS/I7R/kpwngiNScoUtaKtviizo3w65JM0OV2pxzKy9 FgM4jDMQcxCyf/iE3JJVnfcsdBy9fcTq4DqgfvrK4Josadi0TSkz+qX5v6V0J++8n7zC YN2tLaebQJyaAjAc8Ka5wyT7AOu/3pzQ49kZTLwTC97cWsK4zVt0BYqVmaIJVPt2quYY aUo9hBfUbz/TnXZ1/stThSO4rRVF10v7MssXkw7IO/8R7yr8B+Gb3oP5GsWRytzS59gf U7tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NU2OuWee; 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 w15-20020a05640234cf00b0043b52adbf6esi8866441edc.557.2022.08.15.05.23.05; Mon, 15 Aug 2022 05:23:32 -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=NU2OuWee; 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 S241716AbiHOMPg (ORCPT + 99 others); Mon, 15 Aug 2022 08:15:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241794AbiHOMPc (ORCPT ); Mon, 15 Aug 2022 08:15:32 -0400 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DDF8F101F3 for ; Mon, 15 Aug 2022 05:15:26 -0700 (PDT) Received: by mail-wm1-x336.google.com with SMTP id ay39-20020a05600c1e2700b003a5503a80cfso3819652wmb.2 for ; Mon, 15 Aug 2022 05:15:26 -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; bh=OOBxVifVngH1dKlf3OhsPXEXbSU6u+dGQCi1trZkNMs=; b=NU2OuWeeR1OWqN+lo3NwERctgB9H4hGpXgDpMGG89Qfp93YTLIsT+IH6hEh4j1blc9 v2qqk8iu+hht36+5yrVJeFs7wY/wcihkdBjOsrtLXfeB0LIh9yWtshWOewecZ5rgqMwW HXq1+KNbaM5L2PQwUrImSeqhfmX973nhByWh/CqcCKHPl9TP5P47rzZIHw/TZGdFPhQn tMnMFK29hrkyGhXJFxgwrz/c6HClVhTUIYKb4glREW1ziWVJqFzCjAXiomOeE/qDTR5C xMKGHeoWa2uwsfq6UzbRLAjuTKw6U8682B+HYV4gnuDOZM688AV0/a62pn/eT7KJKxWW Bo0Q== 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; bh=OOBxVifVngH1dKlf3OhsPXEXbSU6u+dGQCi1trZkNMs=; b=F+731B5xyEV/WGUG1E0EeSTKe3qdEEnTRwer5IhI8o/R73zdcee1NAKF/93+VIRsDA wV0lBVF9PHteTjylWq6EBOlkkoleyALbCEdOboQNeJ3N+EKPSNyVKeh0fk7oeWhYageH QSwVF4PawlsQQSaNhP2kCXLXNIQVfm0ojMmWbJXQsMkeCSH8Zk2+PjgOnrnUDoIsYekn 4x9iGsIrcBVD5Vd3/9e/LkqitO3HrxN2lE+X5rkgNzkD7Q0TQlzLwKm8CQjUxK8gkt/8 oPjMVBr5WYLDPr9ndBzTvjfV2uijLX4n2ZgRQIKy052kOtnhcGrVz6i7Th06TJTdk6uH YteA== X-Gm-Message-State: ACgBeo0J2KraAHn8C7NWOqPTUjyw0XFCrQhBtfALhFdZgRMy0tzbL8xW c/CBFzWIp9wO6rRl3DnWfwJcgA== X-Received: by 2002:a05:600c:4ed2:b0:3a5:f177:8a9a with SMTP id g18-20020a05600c4ed200b003a5f1778a9amr3635440wmq.4.1660565724983; Mon, 15 Aug 2022 05:15:24 -0700 (PDT) Received: from [192.168.2.1] (146725694.box.freepro.com. [130.180.211.218]) by smtp.googlemail.com with ESMTPSA id t8-20020adfdc08000000b002238a1f6b74sm7115947wri.37.2022.08.15.05.15.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Aug 2022 05:15:24 -0700 (PDT) Message-ID: <20b6dd31-0ac3-ff92-0b58-629847508fa1@linaro.org> Date: Mon, 15 Aug 2022 14:15:18 +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 v2 2/2] Revert "mlxsw: core: Add the hottest thermal zone detection" Content-Language: en-US To: Ido Schimmel Cc: rafael@kernel.org, vadimp@mellanox.com, davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Vadim Pasternak , Petr Machata , Eric Dumazet , Jakub Kicinski , Paolo Abeni References: <20220815091032.1731268-1-daniel.lezcano@linaro.org> <20220815091032.1731268-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,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/08/2022 13:55, Ido Schimmel wrote: > On Mon, Aug 15, 2022 at 11:10:32AM +0200, Daniel Lezcano wrote: >> diff --git a/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c b/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c >> index f5751242653b..237a813fbb52 100644 >> --- a/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c >> +++ b/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c >> @@ -22,7 +22,6 @@ >> #define MLXSW_THERMAL_HYSTERESIS_TEMP 5000 /* 5C */ >> #define MLXSW_THERMAL_MODULE_TEMP_SHIFT (MLXSW_THERMAL_HYSTERESIS_TEMP * 2) >> #define MLXSW_THERMAL_ZONE_MAX_NAME 16 > > Which tree is this patch from? The define is no longer in mainline: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/net/ethernet/mellanox/mlxsw/core_thermal.c It applies against: https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git/log/?h=thermal/linux-next But it is not refreshed against v6.0-rc1 I'll take care of giving a respin of the patch before resending. > Getting a conflict when trying to apply this patch > >> -#define MLXSW_THERMAL_TEMP_SCORE_MAX GENMASK(31, 0) >> #define MLXSW_THERMAL_MAX_STATE 10 >> #define MLXSW_THERMAL_MIN_STATE 2 >> #define MLXSW_THERMAL_MAX_DUTY 255 -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog