Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp223962iob; Wed, 18 May 2022 00:20:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwN8eBS+G9oKfQd2it24FSoImnAGW1i2Swg/+GTqpaJV39Fij4LOmbNB1zwIG90cq+ZOgUu X-Received: by 2002:a17:90b:4d11:b0:1dc:ec4f:a19c with SMTP id mw17-20020a17090b4d1100b001dcec4fa19cmr40088465pjb.117.1652858404732; Wed, 18 May 2022 00:20:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652858404; cv=none; d=google.com; s=arc-20160816; b=WjIeU53z0Hn+yeAaxbpQLPsnEo/PpGsfEj/Z0wGnatOIqigkjoVEP97nuFrtVH3Zsx 9xH0OI0PmsxHLawVeFVYFt/TgyHYeoMt75qhU10H5QEk9igVWzHeL6/ImytTNFW2KEKn +PzDnj854jpfaNTi9qSmZxjBzqZGeLFN7d8DV9dIds87uYbcswN7K8UdNFmgMfi4RSD5 JbNU+7L82yWo6rhm12GQm/jI+7+PjZ4n14SpKXjU26Zk+jgZa4vZuTiLkGNUUoZyg9k7 gqn73qJFBqsjrU3pPNFMsT4LipkzIapTmT4Sd/SaLUUz75RDE7gBBoZ1PV8ppJyPq4Ex L7TQ== 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=uE38ie4dSRzW9FDj6U1cSKtlpjyoAmfqSD8WeGqIZ6w=; b=GRxgtuSpWBFb8xJLET9eOBhgFD2iL5abiCI0PeyrYdqR+eNBbxhJln6cu0HjeCtIXT ytXYBj4tWp0IhFKzf8++OZ4WJySm7STtZzojMzzdpIK3Tp2XWPOQtMoV+02yWuA/T7um QnSqUh5OC9ZyNolH1T1N3TbdubXVuXHpsJRcdCasGfP3ihA6Q8lk1t+/1w88jbIXvGFQ bJT0SFn/7yvD44EyZ0O8v2UTbDU8cHDyFY3dZnjlPGYy9ym6BpRkW8m63kOmPyEVjSsE AxsB2vde+bolb3WYQasFf6VScqjE9Ufi+DIfZmofivOYyG5XsGcdQsDDkvgRtCapXTPQ kdkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V4tVnXW4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b12-20020a17090aa58c00b001df29f0ea5csi1761866pjq.55.2022.05.18.00.20.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 00:20:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V4tVnXW4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D2F5BEC30A; Wed, 18 May 2022 00:19:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232064AbiERHTk (ORCPT + 99 others); Wed, 18 May 2022 03:19:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232057AbiERHTh (ORCPT ); Wed, 18 May 2022 03:19:37 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E506C9C2E2 for ; Wed, 18 May 2022 00:19:35 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id bq30so2068072lfb.3 for ; Wed, 18 May 2022 00:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=uE38ie4dSRzW9FDj6U1cSKtlpjyoAmfqSD8WeGqIZ6w=; b=V4tVnXW4I9FGwv3pHQXWH7Sx8fdLQJwrMstJPHl9bZRUUYOg2pcGBpvWAR+dvhZaUJ dqmWA2BlaNO3fm+y75NRnNuQyxlnntvgL1ujn80JTsUEXmH+5rBDJ/4GlLB0JtH9XvUA kPCVtHBTX9rsDDOu4JfQ2Y/gMoBwvuYRwVYcHxO4ZnW1LabVY7w9weZE/IAE1bfyH3Ea qNS0Bs1SqwJfcCWeEuf0HDdyAM+WdyWOEjb6g4y1S/LJkRh24jBpAtnRleUXIjQ7ftq6 iNrbhJD3wgUAD8gLTWCFvF12RdQeYlc3uGh1Y3wex7Zj7s79ZZU2FZFFn+Z3l5bGtRkS VR7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=uE38ie4dSRzW9FDj6U1cSKtlpjyoAmfqSD8WeGqIZ6w=; b=nGBHVEw+8maBbNMTHugOCk5DYmB+YwZBKvrtDl5HMYfn5QkZAVnjHqL2WfCEwt5VpA m+oPGXHK6RBfM2d9x//PBdLHz2dKIC2SXmrpe0asAggpR4Qz3T1/w4Fm6wjlwNHNQB9e dX9grKRuxzZnth7lIxtlHYi6tDuF81JAomgvuVCUcqoxLPOXbbKQSM5gK9GOUcWc9oC+ /G/PRhb242tACKNAtNs184obhK3wRROwDP9Fzok94Nar5T0Q38dctFA01qJZ4TD4h9k3 H8lmjvTk/FiTb+B5xVV1RRIk7T3zzLw2ff2kdjuO5WZhKPbNTf5Uka7IbmgXtmJTwlZn KGnw== X-Gm-Message-State: AOAM5339kG1zsTpGLPxq5R44ivxekHYQlrXY6iz6N+P0maAmy8iXqjGt XuWoVmZk5ubGziRB9bTEivXARA== X-Received: by 2002:a05:6512:3183:b0:473:dffc:18ac with SMTP id i3-20020a056512318300b00473dffc18acmr18907162lfe.217.1652858374048; Wed, 18 May 2022 00:19:34 -0700 (PDT) Received: from [192.168.0.17] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id h21-20020ac250d5000000b00477b7264806sm125962lfm.9.2022.05.18.00.19.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 May 2022 00:19:33 -0700 (PDT) Message-ID: <018b97c2-efab-699d-653d-c220a98f5ec3@linaro.org> Date: Wed, 18 May 2022 09:19:32 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCHv2 6/6] thermal: exynos: Add runtime power management for tmu Content-Language: en-US To: Anand Moon , Krzysztof Kozlowski Cc: Bartlomiej Zolnierkiewicz , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Alim Akhtar , Linux PM list , linux-samsung-soc@vger.kernel.org, linux-arm-kernel , Linux Kernel References: <20220515064126.1424-1-linux.amoon@gmail.com> <20220515064126.1424-7-linux.amoon@gmail.com> <79b727f8-0631-5a96-fbc6-6e5d637bab7d@linaro.org> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, 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 17/05/2022 20:45, Anand Moon wrote: > Hi Krzysztof, > > On Sun, 15 May 2022 at 15:18, Krzysztof Kozlowski > wrote: >> >> On 15/05/2022 08:41, Anand Moon wrote: >>> Add runtime power management for exynos thermal driver. >> >> First of all - why? Second, I do not see it being added. Where are the >> runtime callbacks? >> > > To control runtime control PMU, did I miss something? Controlling runtime PM by itself is not a goal. What does it change if it is enabled? > I looked into imx thermal driver # drivers/thermal/imx_thermal.c > to enable run-time power management for exynos driver. So you have runtime PM enabled and then what happens? Where is the power saving? Since you did not implement the callbacks, all this should be explained in commit msg. Best regards, Krzysztof