Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp374949rwi; Fri, 14 Oct 2022 03:21:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Gz4F4iNhRZqhSQhnvAP121RMKI9ZO0jnweautaV3NtQ/9usckns9WTEwClECM4araAiMT X-Received: by 2002:a63:4850:0:b0:45d:6ee6:1c18 with SMTP id x16-20020a634850000000b0045d6ee61c18mr4047833pgk.255.1665742915860; Fri, 14 Oct 2022 03:21:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665742915; cv=none; d=google.com; s=arc-20160816; b=fHRTbNtVuWgkJ9drlFzcLz65qJNQU+DndKmHYGFovPd35YaXFn3vfktY6yc1pcnRGY 8nKM+qwMPLE7lschcygQgPah2sts8V1OBbBLY81JQBUj8SDua3lgCKTTeax2ogbSlpM9 gpXdp8i5fpLTeBjUAuKyLQgMwcBYlNgWmDec+dfGM7wy5+haYwTMNKsvFL6a9i5dfh8G 1b+kSrorCb0BPqvqIGjbHHHEnZW9IEdNsyD6zlgRHxBkrbGp2vtenVzu5fzTfwdTu8ki KJb1CpSXvmJgJiZpBeoU6eGUSWOkYZpJMbK0DGVZc0GFEmZVVycvfLgqxmQ+g14boqwy HQvg== 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=dDU1EHry5n+XrvnahgNgah2Rjg065mq9PJm7gjM4LqY=; b=UkJm5tDukuT6NmabalzzDf30rgfjugUnxYPO/hnzz9qhUg4rLhrMUtyI17q/ret9fN DiKzo+eEEnxZdn3R81hj0ScXqmvrukZ3Y8fnQ9Xa3t9+fylbh9PWyuvFHAIJ2ZGlE9y5 eC5YSiZ1+kz8+iURwe0YoCYWG286ztIStaH7y2tSeqEveSpZEcF33+zy4hzofgpfBadg Jaf2GffJOhbSK/iiIfgX1zjazbj7JhK7ovaRHyedshVbg5GiZBUMdjfETto+4YasRneg hhbe/e70hI0Y1c9sBGl9/r07x3cVKWBJ3bv9SGLi0GCDbppq+1SIFhJtzfLXNCEyjUko SYrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=weBpi7OT; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 d2-20020a170902cec200b00172696f35e1si2867818plg.482.2022.10.14.03.21.47; Fri, 14 Oct 2022 03:21:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=weBpi7OT; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-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 S229666AbiJNKVQ (ORCPT + 62 others); Fri, 14 Oct 2022 06:21:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229713AbiJNKVP (ORCPT ); Fri, 14 Oct 2022 06:21:15 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF3DB1B94E0 for ; Fri, 14 Oct 2022 03:21:13 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id o20-20020a05600c4fd400b003b4a516c479so3205336wmq.1 for ; Fri, 14 Oct 2022 03:21:13 -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=dDU1EHry5n+XrvnahgNgah2Rjg065mq9PJm7gjM4LqY=; b=weBpi7OT8CMZrlbpSnhba0XK7AN7li0KVaeNIC9WLH5il+FoUOWOHgPjMa3T2BLRFU 2JGX09gQtSGRZX5Mi1lO6g5KAuDbwwH1Atfg4qdGPoerf8g2ACU3nnJRIRdfWqY2C2aT mMk08B6uAB4oYiaVBZEf4KgHaZfe+3XwOzVkCIpGq9W+uE2qVmcA6U2xajbUhH4K+z5v FA/qF6pJbowGLw3i3s90YdZHizscizbVuMwnF/pJxMjzygUWSekeWhH8uR5ViLxfcvw6 I54tnjAKsZwvUVnfljwK5CoAHvHkZKmI9y1G8BGBxIQU3CnYVSuCBJHJ+R+DSLRaQ2u+ nILA== 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=dDU1EHry5n+XrvnahgNgah2Rjg065mq9PJm7gjM4LqY=; b=Svf1SAnG5LKa5ddRe9EIsUa09xCoxWL55hk7Xi9DvpcQrATowC0cTypIPgf2VBB0ca h1yLwFACeFw9ZyNqPbr03mUqOqaR4Cpj9RQnLEFczq9A6nD8JL0XfyyU2C1VEMiaX9AX dYxkHLjhkiWZMWFQnDM4r9YoyYBC5V1TNgFIBwKpr1SslZMJv2RcrtoTsTAwb+OVamHT 2v6QHALXKQ061YQgrBIJfhRQGMCNXWUuNVqZqDBUoxfA9lU4ADKu0wTpasnXpcbQ/ObQ ItgnYJuIJG77IJnvkE3TqPgDCtHDQY3YUNcySPIUra4s2sGjQMkv6wpX8J7q4D3uao71 iFNA== X-Gm-Message-State: ACrzQf0IxbV7aZI4953MeQk5IoeSzOwjyLtXEIPa1GUrodvtoa7p99eu OxOC/emekPsdDDejO6f17HHP2w== X-Received: by 2002:a1c:f008:0:b0:3b4:fd2e:3ede with SMTP id a8-20020a1cf008000000b003b4fd2e3edemr9737880wmb.133.1665742872213; Fri, 14 Oct 2022 03:21:12 -0700 (PDT) Received: from ?IPV6:2a05:6e02:1041:c10:b460:17f0:186d:9d2e? ([2a05:6e02:1041:c10:b460:17f0:186d:9d2e]) by smtp.googlemail.com with ESMTPSA id n17-20020a05600c465100b003c65c9a36dfsm1633633wmo.48.2022.10.14.03.21.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Oct 2022 03:21:11 -0700 (PDT) Message-ID: Date: Fri, 14 Oct 2022 12:21:09 +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 1/2] thermal/drivers/iwlwifi: Use generic thermal_zone_get_trip() function Content-Language: en-US To: Kalle Valo Cc: rafael@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Gregory Greenman , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Luca Coelho , Johannes Berg , Emmanuel Grumbach , Miri Korenblit , Nathan Errera , "open list:INTEL WIRELESS WIFI LINK (iwlwifi)" , "open list:NETWORKING DRIVERS" References: <20221014073253.3719911-1-daniel.lezcano@linaro.org> <87mt9yn22w.fsf@kernel.org> From: Daniel Lezcano In-Reply-To: <87mt9yn22w.fsf@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.0 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 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-wireless@vger.kernel.org On 14/10/2022 12:15, Kalle Valo wrote: > Daniel Lezcano writes: > >> 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. >> >> The get_trip_temp, get_trip_hyst and get_trip_type are handled by the >> get_trip_point(). >> >> The set_trip_temp() generic function does some checks which are no >> longer needed in the set_trip_point() ops. >> >> Convert ops content logic into generic trip points and register them >> with the thermal zone. >> >> Signed-off-by: Daniel Lezcano >> --- >> drivers/net/wireless/intel/iwlwifi/mvm/mvm.h | 2 +- >> drivers/net/wireless/intel/iwlwifi/mvm/tt.c | 71 ++++---------------- >> 2 files changed, 13 insertions(+), 60 deletions(-) > > The subject should begin with "wifi: iwlwifi: ". > > I don't see patch 2. Via which tree is the plan for this patch? patch 2 are similar changes but related to the mellanox driver. This is the continuation of the trip point rework: https://lore.kernel.org/netdev/20221003092602.1323944-22-daniel.lezcano@linaro.org/t/ This patch is planned to go through the thermal tree Sorry I should have mentioned that. -- Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog