Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp572853rwi; Tue, 18 Oct 2022 23:18:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM57Y7toCxdmjX4mQmEXIAHJPJzVR0qqfoppjwWY/9h0kPJjurX7urdTCx+713BKWiJZUFbj X-Received: by 2002:a17:90a:f0c4:b0:20d:2c45:9108 with SMTP id fa4-20020a17090af0c400b0020d2c459108mr44758234pjb.152.1666160291404; Tue, 18 Oct 2022 23:18:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666160291; cv=none; d=google.com; s=arc-20160816; b=zoxlhKWUun6dUy2Sgij9Uv+U+YPdgialPpf4JW3I5I+GH00M7Wvdqi4CPtRzIov/tH sT4xaw2uYzuDO18BXqLXqHqBBm+3MpMJ9t8ueKjtpmMAi9X2tQ7fAGiWPUw5/W5cVQKG adNA56Vbrni/T2DqzjdOs72oSPfltBhNBOKXZQS9940eFTNxmhlEmWPhvEi+iHI5Rsvj CBb54h8Ed1CaNuKWkgboeUTT9bQjIbT5lFjq2fUEkRsMb8vAWz+p7Fd5TSPdSwZwhyPh a09L/w9TAT6BhHPvdoKe/RAdZaijjjHQz+V88ZPt8gYmqMAZ8DZypsz42lYfwo7g365+ nh2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=jvIZn3L5fVfrvfKoHSCPq2HYtlB+lK6v01p6wwzWotE=; b=b+wRyo6cI1NrPAJ5ymnKugaWfKhbEwSl158X1JeqhiGvs+6VK0n/RavMAPIGAsFOsJ VwmdvXuQhPuQEQoH2NSw57k9LM2o95hL3AizNbGdZ7tU5gDE9s6/n43Jknk8qSu5cMuW s2gJvZ2uBqHEHJoACANbjkvFQU4OXos+48xN9UCyDZ15/msgDcUraMaRzl7b7QLtrgd4 qEQF89NiUjblideiNBCgx5r2Kf7Hy+WgxhhmCsBf9uaG/MVm3mtcNi6Dy1QLXVrs7REn jMAUgmimV8FLWl6CMx9oRs4J8Zb5/1Zm04HoIuH+HppN5CtOXC6gttjV/fB8wx3Jriwe KhIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZBt8FacK; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e21-20020a631e15000000b004639c6797bdsi18601086pge.307.2022.10.18.23.18.02; Tue, 18 Oct 2022 23:18:11 -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=@kernel.org header.s=k20201202 header.b=ZBt8FacK; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229967AbiJSGEb (ORCPT + 64 others); Wed, 19 Oct 2022 02:04:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229933AbiJSGE3 (ORCPT ); Wed, 19 Oct 2022 02:04:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3456CAE5C; Tue, 18 Oct 2022 23:04:27 -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 dfw.source.kernel.org (Postfix) with ESMTPS id C50416177E; Wed, 19 Oct 2022 06:04:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CA9ABC433D6; Wed, 19 Oct 2022 06:04:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666159466; bh=GoNOcTQRihsxSULDlcIct8Lz22S4CPpgq7KawTBDN6A=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=ZBt8FacKXn5rb4huB9HM70ploZTOfCUG5Qa1Vc5E3rJ8uTrM/i3faUw2emwM4cUfg EFhJ5N/uXl3iHgsKyEiCkBw+BJv0W2gef00+fLJFOXvzHdlZWRLmM7s0Kq3ezbqEJe 76pURUV9D7j2F6HvL2ek3vtifUU97O0+XTX3yA2f1YDqhI3/gbXyOHB9TlYJQWhMcx Kkbu1eZ7hkhnH9nMnsCTd48dPc1035XA9ihE+A1FUguawgCnjfr/cQvV9Uq9/ehG9U RWXLfZbvkO2NQ6YZtUvjU8Tv9YL3vIwD2j6EaBYKzgwp5U2cO+zAaa58cz2GNOTQYD vcXvbnQL/fTVw== From: Kalle Valo To: Daniel Lezcano 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" Subject: Re: [PATCH 1/2] thermal/drivers/iwlwifi: Use generic thermal_zone_get_trip() function References: <20221014073253.3719911-1-daniel.lezcano@linaro.org> <87mt9yn22w.fsf@kernel.org> Date: Wed, 19 Oct 2022 09:04:19 +0300 In-Reply-To: (Daniel Lezcano's message of "Fri, 14 Oct 2022 12:21:09 +0200") Message-ID: <87y1tcl57g.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.4 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-wireless@vger.kernel.org Daniel Lezcano writes: > 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 Ok, feel free to take this via the thermal tree: Acked-by: Kalle Valo -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches