Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp329314ybb; Wed, 1 Apr 2020 00:26:30 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuRjM+XiktjA/bQfS3isT9udg0AWWYrCpjEY4WBsHS7ALu1A95cGTSs0z/oeU2RMk5aYAKD X-Received: by 2002:a05:6830:1e10:: with SMTP id s16mr16270803otr.33.1585725990491; Wed, 01 Apr 2020 00:26:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585725990; cv=none; d=google.com; s=arc-20160816; b=vxGzk+Pvzi/GAC87v5v73liQmfg75sgLVMbUlGaktICzytMbckE+AWdJmle9/0WhRT R+Y2aMWNybcOn6h693+QZ3XUKu7Gz4M0vOzry1fZvZBswkeJznj4Bq0w8G9att5PJH3D z7okZ2JPymnO6TguPRXgLizJZNZVjxY3BlUtYZlmUjKtVoOCcyRSPoGOtAvw9/akwCcD 0kmj/WwukyTlsrrvJfPPJUDox69weXwQeNlygp/K3NM2Oaocniihi6iDpm7M27XmuEJ6 nfSYnVnx5s6dcG5ZYS6SD8mp1yQ8XlxUHs20RknXIIhpDCtzb2URLLiiGP/Flub8Vb6E FanA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=9C82B8LAO+3I7fS7IA4efU/bcKJRzDXM32B8AJP/v2A=; b=UZRf/wBTHfGgcZdzfuxnMQabfyhaZqRaDqvvgXDB4ET4BNGntN1FVRyL9gBKIFv5zB BkXyXX2VyyZXXG2W3q1MLvN9j1lp5DaULnspAsrYxKQ9iImDeJtjLgrsWWhBymDQudlS kibXjasqiUrMPHkji4XBv9rqyf8SFu4lLxCjaPuESjxTv75QJmOPsb4F9/y1qP1fVRq3 3D8c1W1Z+E3X85L3/cSkhO92zBszEB6fwMyUflJXZ1mUTa3cibLF9O7gl6YbN0DhgXIS VLUvQmINPMt6WxH/WCrn685ok/rY6iJOrxRXJpqYZ/5stcPg8gfqCxofHrv/gOKEOgvZ o7hA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u19si551574oth.240.2020.04.01.00.26.16; Wed, 01 Apr 2020 00:26:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732032AbgDAHTa (ORCPT + 99 others); Wed, 1 Apr 2020 03:19:30 -0400 Received: from foss.arm.com ([217.140.110.172]:44124 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731680AbgDAHT3 (ORCPT ); Wed, 1 Apr 2020 03:19:29 -0400 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 DAD1831B; Wed, 1 Apr 2020 00:19:28 -0700 (PDT) Received: from [10.37.12.63] (unknown [10.37.12.63]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 69E453F52E; Wed, 1 Apr 2020 00:23:27 -0700 (PDT) Subject: Re: [PATCH v5 2/5] OPP: refactor dev_pm_opp_of_register_em() and update related drivers To: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, dri-devel@lists.freedesktop.org, linux-omap@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-imx@nxp.com, viresh.kumar@linaro.org Cc: Morten.Rasmussen@arm.com, Dietmar.Eggemann@arm.com, javi.merino@arm.com, cw00.choi@samsung.com, b.zolnierkie@samsung.com, rjw@rjwysocki.net, sudeep.holla@arm.com, nm@ti.com, sboyd@kernel.org, rui.zhang@intel.com, amit.kucheria@verdurent.com, daniel.lezcano@linaro.org, mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, vincent.guittot@linaro.org, rostedt@goodmis.org, qperret@google.com, bsegall@google.com, mgorman@suse.de, shawnguo@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, kernel@pengutronix.de, khilman@kernel.org, agross@kernel.org, bjorn.andersson@linaro.org, robh@kernel.org, matthias.bgg@gmail.com, steven.price@arm.com, tomeu.vizoso@collabora.com, alyssa.rosenzweig@collabora.com, airlied@linux.ie, daniel@ffwll.ch, liviu.dudau@arm.com, lorenzo.pieralisi@arm.com, patrick.bellasi@matbug.net, orjan.eide@arm.com, rdunlap@infradead.org, mka@chromium.org References: <20200318114548.19916-1-lukasz.luba@arm.com> <20200318114548.19916-3-lukasz.luba@arm.com> From: Lukasz Luba Message-ID: <4326bd75-e892-63ca-5757-5befd9bbac14@arm.com> Date: Wed, 1 Apr 2020 08:19:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20200318114548.19916-3-lukasz.luba@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/18/20 11:45 AM, Lukasz Luba wrote: > The Energy Model framework supports both: CPUs and devfreq devices. Drop > the CPU specific interface with cpumask and add struct device. Add also a > return value. This new interface provides easy way to create a simple > Energy Model, which then might be used in i.e. thermal subsystem. > > Signed-off-by: Lukasz Luba > --- > drivers/cpufreq/cpufreq-dt.c | 2 +- > drivers/cpufreq/imx6q-cpufreq.c | 2 +- > drivers/cpufreq/mediatek-cpufreq.c | 2 +- > drivers/cpufreq/omap-cpufreq.c | 2 +- > drivers/cpufreq/qcom-cpufreq-hw.c | 2 +- > drivers/cpufreq/scpi-cpufreq.c | 2 +- > drivers/cpufreq/vexpress-spc-cpufreq.c | 2 +- > drivers/opp/of.c | 71 ++++++++++++++++---------- > include/linux/pm_opp.h | 15 +++++- > 9 files changed, 65 insertions(+), 35 deletions(-) Gentle ping. Viresh could you have a look at it? Regards, Lukasz