Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1440289iog; Tue, 14 Jun 2022 06:11:47 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uZDZwUGkk41HohCwuxeTmoiPLo7aoKwL8i8UIyoXaTz17bB+Rezx7l8s+JaUgAdaNujdQK X-Received: by 2002:a05:6402:2948:b0:42a:ae0c:2f26 with SMTP id ed8-20020a056402294800b0042aae0c2f26mr5904144edb.425.1655212307690; Tue, 14 Jun 2022 06:11:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655212307; cv=none; d=google.com; s=arc-20160816; b=gpk/Anuz5JeocTShab/NGTT3k1COJTzK+Ksigig9koMSW+eAIhmxbZPYJ8+2NtDiDQ ULYQyqzaq2JmJsf4eXv/0v18WsqCKSZEBbUobzTnrefmCXAGD1yzSFr7lklsZVEajZfy w7Ue7Ij1qcjUbaLmNPTK3zlx0kMAUA1Sxj9GpIpcrgUFgR0URDx8G6lP590HOOJr52Kl ymcJcfVOvGmPvRpMq6hf4rWI66pfHgReHtD6+JFu/2bksV8KfgCQfyxuELqUfSyrRzid Gd/NS7UHjDzvKLp4kCsS5dl46lg+0/QZPA+CxVYt5b9rx5TYyWIG5WcdpRbp/24ZKaZw Nipg== 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; bh=iK4ekXLeB0LFML6T/MypGgps306s5Jyde/K+nAk7HGI=; b=sysFilPcZnYF2SGu/chAw6FlJBWRD63XEjaIi6+XHzMPWKet79dkVEIxRmFHXvR7uh 7HsuZMfRA3vD/nQZijYsA/wyQQCniP2u6+LJPryd4RoYxTpobuLoc0Qts5HsXj3gdP6a 8KpffAodvgM3Ttsc7YqJcI9Nced/yE5MOgkWlj6xws2hxOmk+DNCLQMMeFSt88YMcUAS yrHRBmZXiAvZNkA8Tiq/3TDBDQF9xZGwsYd8fU2cWgYJRrGmE/Cb6EQlQguYZASWrvzY CvatVD7CcKTNrRQ+xuplczXLVzZOtjJ+5XXNgsTqPli2L/E/sRnkGwSbK4TkXltIDfvN Kz1A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t5-20020a50d705000000b0043139ef9f58si11071745edi.245.2022.06.14.06.11.19; Tue, 14 Jun 2022 06:11:47 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240718AbiFNMvm (ORCPT + 99 others); Tue, 14 Jun 2022 08:51:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230490AbiFNMvl (ORCPT ); Tue, 14 Jun 2022 08:51:41 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B1D943205C; Tue, 14 Jun 2022 05:51:40 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 928771650; Tue, 14 Jun 2022 05:51:40 -0700 (PDT) Received: from [10.57.37.71] (unknown [10.57.37.71]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1DCEB3F73B; Tue, 14 Jun 2022 05:51:37 -0700 (PDT) Message-ID: <92f56aed-e6cd-c65b-f42f-5bd1e07b90c5@arm.com> Date: Tue, 14 Jun 2022 13:51:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH v2 0/4] Thermal cpufreq & devfreq cooling minor clean-ups Content-Language: en-US To: daniel.lezcano@linaro.org Cc: amitk@kernel.org, rui.zhang@intel.com, viresh.kumar@linaro.org, rafael@kernel.org, dietmar.eggemann@arm.com, rostedt@goodmis.org, mingo@redhat.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220613124327.30766-1-lukasz.luba@arm.com> From: Lukasz Luba In-Reply-To: <20220613124327.30766-1-lukasz.luba@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Daniel, On 6/13/22 13:43, Lukasz Luba wrote: > Hi all, > > This is v2 of some minor clean-ups for the thermal cpufreq and devfreq > cooling code. > > Changes: > v2: > - extened the cpufreq_cooling_device with private ops field, to not waste > memory and simplify allocation/free code (Viresh) > - added devfreq_cooling clean-up to align with cpufreq cooling code > - added ACKs from Viresh for patch 2/4 and path 3/4 > - added missing maintainers of tracing to CC list > > Regards, > Lukasz > > Lukasz Luba (4): > thermal: cpufreq_cooling: Use private callback ops for each cooling > device > thermal: cpufreq_cooling : Refactor thermal_power_cpu_get_power > tracing > thermal: cpufreq_cooling: Update outdated comments > thermal: devfreq_cooling: Extend the devfreq_cooling_device with ops > > drivers/thermal/cpufreq_cooling.c | 77 ++++++++++--------------------- > drivers/thermal/devfreq_cooling.c | 27 ++++------- > include/trace/events/thermal.h | 28 ++++------- > 3 files changed, 42 insertions(+), 90 deletions(-) > Could you have a look and take the patches into your tree, please? The 3 of 4 patches got ACKs, the last one is devfreq cooling, which is pretty minor change. Regards, Lukasz