Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp372532rwi; Fri, 14 Oct 2022 03:20:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7uNt1epxeO35EqFykn7z4PHpAecoqJuR2kEHRwfwE22HqwSW0ppgJJymSH//9srfklmWk2 X-Received: by 2002:a63:fe13:0:b0:452:2b86:50fb with SMTP id p19-20020a63fe13000000b004522b8650fbmr3878378pgh.167.1665742803176; Fri, 14 Oct 2022 03:20:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665742803; cv=none; d=google.com; s=arc-20160816; b=RTG3fi/37iozSqdneu1AIUUONgnUIisMhiARcZUJgAPAFQejg5NNbY/PGxPKZM1+pd hRHbqaLNQ98gjaQ9vef2/H9cVgP7qRnyhOzbo7b8s9k1DqcfM2jmqN1333lzib27doCe BfhPZCOcdxgqXae1gARnAHclN4Rd83mvfNY7H94r+BULZ6QZPm4AICQj/EvRYMOX/HWd B+CWXHWmqFnokyOU/PT++DGz01vKidxoetrL42Fd18bWVDN1kf3joII4+C5HmWhLfGP3 jw66IFZ8cr4+7srxXlZ/eFdR7Ts/HldxxRtHBejFBMpmpGSKA5MJRSuaXJFyLg0mnz/I PReA== 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=+2gBr2Y+15O1Xu0U8OFSHykHhJI0pPObIDFYJvqdLko=; b=DrOEsYr4EZTps/js/SSutC3d5iPjzMxExifKxihtz0VKTPOvRsrhvsPUA41tufTVbK xcGbPQpu3xhQS2sl2CQCOl08NQ3B9nhapHyW2L0J6X6KAati25kAQUtH+m/DBcwxZPU7 r5As8wfEpydXjPI+oP8ZlpRuy2s0Vzie7Dkuc30RpbAMvRTg8f+l3UItevpnDdjUCHPi eztoFKa9nLlQj1eejt/nRYCT7z++ThDbsBQmb+iahIUihadAD6lPslOrckKfV+DQwcZ7 oeu7TozRfxV4eLGsWDHp03lqaA3G6NL7uTLRDpEotFlcCsw6rz9sNQINTT8tENOqBPuZ 2pMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ou2s55cg; 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 z7-20020a170903018700b001781c0dda3fsi2984980plg.12.2022.10.14.03.19.52; Fri, 14 Oct 2022 03:20:03 -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=Ou2s55cg; 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 S229733AbiJNKPd (ORCPT + 62 others); Fri, 14 Oct 2022 06:15:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229598AbiJNKPb (ORCPT ); Fri, 14 Oct 2022 06:15:31 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CED98A99D6; Fri, 14 Oct 2022 03:15:29 -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 606DD61AC4; Fri, 14 Oct 2022 10:15:29 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4E04CC433C1; Fri, 14 Oct 2022 10:15:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1665742528; bh=a9urAeM6qo9g4VwJfLS+Bay5Jtu4BOaMES1yiMuCDEE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=Ou2s55cgzvH/FPQFhGvnaUCmvL9KalwfkzMqcmXvSKCq4jjy0IOO1cokBJAm4IwsY MYaX9uCTlW8hS+TCQeYti1nlLWyoGbmeL+vbKlaoDtrThyi7PJxOOIKRgqAG8awhJe iC6s9xxYV7ElHM0mW+z3RArWM0RAd+deULC1CxAFhQ8CZoLWspDIK68j/D3yNX1Ry/ JlPsGy7MyEvkYln0r9Bt1GdFhg31EiAIJXHkVO1aWQTw7uMBSvHF3DsnuUzi1LFin+ AJ8uoXOx33JB3Vct5QOjiHRUsPC1Kb0PuhebPoJuB4W2+B2qotzzCdCmMCcKf52qvJ hf039hiEudERA== 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 , linux-wireless@vger.kernel.org (open list:INTEL WIRELESS WIFI LINK (iwlwifi)), netdev@vger.kernel.org (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> Date: Fri, 14 Oct 2022 13:15:19 +0300 In-Reply-To: <20221014073253.3719911-1-daniel.lezcano@linaro.org> (Daniel Lezcano's message of "Fri, 14 Oct 2022 09:32:50 +0200") Message-ID: <87mt9yn22w.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.1 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: > 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? Gregory, please review this. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches