Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4294975pxt; Wed, 11 Aug 2021 02:38:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylwYC45aPEzbokeWCnspNp+85UxpZUyajANG539b3I5eo0Qlw7lUjutUrsTffYvJpQHEqP X-Received: by 2002:aa7:de0e:: with SMTP id h14mr10802516edv.150.1628674721290; Wed, 11 Aug 2021 02:38:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628674721; cv=none; d=google.com; s=arc-20160816; b=XayTXrPerI/1rwrlbQapvt12TXER7TGVuxvwIUsw246/TnFTwGMZ/7luutfhT86qvr 6Mfmbz/dkieVX13UZdqpAxOws2lR45S9z8l4JzjICHuW+I4Hhm0oToUa80ETQnIjfGUA TU4LFcf/4oCdOmoW9qTCE9smyGYgPhLqA+Gr0VWVR6elSiXSJ3yQOfUPkmZInRR+toKD zaIO7jNztFn5gBqOWncJ5nT7y2DqHhPq8Qf6FI4rwJTkVxsy2DHX87FatBHpuG1a2MXO dWMks2SfyKGdFaTYKLYO0t5NLLKUOD0713xEwbdxG8hLjPDqPbyEZ12DcaUamXs2yuSo HqtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=J02656YR2Fe+Hj72RiSigwAaGmAyuf7/C51n8U6jOdY=; b=lpMX/j8mrqSKL0dBsInI3Dz0j+ZUnXz+xgW6ZaNanY8kkPb1lTEnPulKwIBhk0ebvb u7DZfRoa4JaB21tClJQs0Lua16xmrmoiSnhOcu8dysTCHb1XwBwnftZe524odiU/amqH pLrJG6lxbHCPFTvBKQmPJm5X7wbiwAAu8V8FSCe8yWno7E7vQiC5GGTntKa3j5MB182R hNoursQLT/B3DRTsojBBLG81cXFhT8VCX+xW5piXh/t8Xyx90oYtEtgyZEEsAErq2dV7 2mb37MQTxNRXfu+H1kTnKDqaTlEc65UPHXZWcbaGXeE+jzlDC4O3Pk8uu5K7EN/8nx/H WpqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wxXAi1TA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nb30si24755489ejc.534.2021.08.11.02.38.14; Wed, 11 Aug 2021 02:38:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wxXAi1TA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236668AbhHKJgp (ORCPT + 99 others); Wed, 11 Aug 2021 05:36:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236684AbhHKJgo (ORCPT ); Wed, 11 Aug 2021 05:36:44 -0400 Received: from mail-pj1-x1034.google.com (mail-pj1-x1034.google.com [IPv6:2607:f8b0:4864:20::1034]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66AD4C0613D5 for ; Wed, 11 Aug 2021 02:36:21 -0700 (PDT) Received: by mail-pj1-x1034.google.com with SMTP id g12-20020a17090a7d0cb0290178f80de3d8so3656015pjl.2 for ; Wed, 11 Aug 2021 02:36:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=J02656YR2Fe+Hj72RiSigwAaGmAyuf7/C51n8U6jOdY=; b=wxXAi1TAzSCXJ4QCDlmvMQ90aBtvPmzeF2vdBsrRB91gYbhARcpyzZfqnHoV4G2xNg VC24e1WDKeK4nD1bFXlgcjRNkZCt2bEojXrNOOtiMgnVDLZSA489i6baRAfgRRe5oIwo k29UcaiaX1PjrV5lKsYOfvc8V6bWqq3Ey8mg7DOycJQ9elkfHIjitqfBM7RdeNY4X6RQ KqqiU13RUPRjNFXs6tG5Yh95/J38x6x5phrwCwYSFSmjuuClGEd84rHeij+/Kyszpz2B g4lbXalMWU282IPf6r4BarnwBCb45ZcWtA43eB2xFUwvyAlttMZbSvBTXlhirVuOsHV9 KMsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=J02656YR2Fe+Hj72RiSigwAaGmAyuf7/C51n8U6jOdY=; b=F2TDrSwcy8WCn7x4Lut6bP+4/QVW7zoX6jhCpD0SNXCBU1ZprHjsx5Gyzz6we3oscV tWxWcA3Ktc4fSILEbtqZabkoiF/5UUGnpd+UdtlkM7BMfFtqXz1iVZkchU2M5oi/K/05 ZLIl7ApwwtNnr5cUZraZEP5kQxk8p8r/vXJh4ik2hAAmPFrCDcwd4nJJDkxwT0YNdlrj cZ/GRJyFrlWd/QS//m0/q1AOOl8ZDofpkcNeweOXBI6bZwPbz4FUj/ezWB9q1gCIHs4L 7dNfuKjJnWxsZ3R9D9MVtH+w/Za8JaoAbsoX+Vkcn7kxRAMsLL0WE8NTAjcFV6lXcfl+ 4eOA== X-Gm-Message-State: AOAM531/YgMU3et0sHuEKvh1gSUbLAs87f6fDpAD51e9wTs0VpRCS30z iIrt6i7Kgfbkp5rUDHb11QPQgQ== X-Received: by 2002:a17:90a:4a88:: with SMTP id f8mr9875619pjh.226.1628674581006; Wed, 11 Aug 2021 02:36:21 -0700 (PDT) Received: from localhost ([122.172.201.85]) by smtp.gmail.com with ESMTPSA id 26sm32218359pgx.72.2021.08.11.02.36.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Aug 2021 02:36:20 -0700 (PDT) Date: Wed, 11 Aug 2021 15:06:18 +0530 From: Viresh Kumar To: Quentin Perret Cc: Rafael Wysocki , Vincent Donnefort , lukasz.luba@arm.com, Andy Gross , Bjorn Andersson , Cristian Marussi , Fabio Estevam , Kevin Hilman , Matthias Brugger , NXP Linux Team , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Sudeep Holla , linux-pm@vger.kernel.org, Vincent Guittot , linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-omap@vger.kernel.org Subject: Re: [PATCH 0/8] cpufreq: Auto-register with energy model Message-ID: <20210811093618.7ncznvblttk6hjlt@vireshk-i7> References: <20210811051859.ihjzhvrnuct2knvy@vireshk-i7> <20210811091321.xtb776q4t6cwyanx@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11-08-21, 10:34, Quentin Perret wrote: > Yep, it's not immediately obvious, but see how it sets the struct > em_data_callback to point at _get_power() where the actual energy > calculation is done. So strictly speaking _get_power() is what uses > these routines, but it goes in hand with dev_pm_opp_of_register_em() so > I guess the same reasoning applies. My bad. -- viresh