Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp402132ybj; Tue, 5 May 2020 00:24:04 -0700 (PDT) X-Google-Smtp-Source: APiQypJU+TjCACx2p2uFN5UVdPYSoSaIRPM9Bd+JwvzG/s/LlELZOah+h6Xpk6daRIP3ZYA1bzlI X-Received: by 2002:a05:6402:1b08:: with SMTP id by8mr1375469edb.286.1588663444369; Tue, 05 May 2020 00:24:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588663444; cv=none; d=google.com; s=arc-20160816; b=rzCz0qbc5Zm5PO5MJW4GLyHCeMEgM/eP4YbxR4T0+dteACsn4MSC3gD3hQ635ARKYJ Y7uuvHBWod6JSM1dtXr3xLaCB2N22+omE2lweE1DQfyy8tkPKLZx035unYTkOZqupDUl ykYfMlALuAmkPk8FPOOrr2mwx6k5YOaknnMVW2kRr67CH+o0e6R3GKjS1WbEYXI8DK6V +XXmg46jqVTbDSNK3HS1C85WS9PtyTcT7jsAiETmiaM4vlXbKQGWknlDTC2AbXJdW8Ei IySQcIhJv63xvgVizjTvA559SEoUXQSloj5Vl1DV2zYKShGPFcSt5Ny7RvY0zIbuW24r KOhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature; bh=uJwzx6pIPPCofwLtZDB4TDrhcslzQR2DeFg2pp9P5pI=; b=k1Zuts8iEC3JdpDMQYbFtrNa90zmrqxyJszl93ZhVd1d86qPPcGfLDsxpN86+TKQHm twan8ME6/EKbsaOiEteoW7ZVl5gerQ/j3gAWmVik8EYi5zVtc7+3v3BQM7VnntBaNWdA r1JI5pVxmZVaE92nMQws10J5ba9TlGshk3TkH/+r+klHhhJc3HZNagpph76o89Yn0DSK TIsD6/DFZpZsz249BHjAUIeWikjaCskuCDrs2pv+jNwsvoP9kQQp6khS01UymbBT8d2E XwspsSZn0I09z9/3jTBuW76ILblT+6qwqQyWkSzdLXsBFXbe9HECNTtRkl3U6Ry3COVQ vIkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mg.codeaurora.org header.s=smtp header.b=gj4ZWfx4; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h14si743445edv.50.2020.05.05.00.23.41; Tue, 05 May 2020 00:24:04 -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=fail header.i=@mg.codeaurora.org header.s=smtp header.b=gj4ZWfx4; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726568AbgEEHUH (ORCPT + 99 others); Tue, 5 May 2020 03:20:07 -0400 Received: from mail26.static.mailgun.info ([104.130.122.26]:53627 "EHLO mail26.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725915AbgEEHUF (ORCPT ); Tue, 5 May 2020 03:20:05 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1588663205; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=uJwzx6pIPPCofwLtZDB4TDrhcslzQR2DeFg2pp9P5pI=; b=gj4ZWfx4plbtNj0+UN9uomtR24lrdm8oFsrQNOxZ1zrMZSK3vtsCgIva8y1Dbf2aO3Pt/Gz3 Ubc/nvcqpa5Iiq/1z8Mp9Y8CuHOSp69TQHkF7TKqLXTi5FImXb4T03XSJzx15Fg8+capYS/G 5RFGxDdwMNDvKsbQT3lZy8FJ4tk= X-Mailgun-Sending-Ip: 104.130.122.26 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5eb1139d.7f331717f0a0-smtp-out-n05; Tue, 05 May 2020 07:19:57 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 0258AC4478C; Tue, 5 May 2020 07:19:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sibis) by smtp.codeaurora.org (Postfix) with ESMTPSA id 53D46C433D2; Tue, 5 May 2020 07:19:55 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Tue, 05 May 2020 12:49:55 +0530 From: Sibi Sankar To: Viresh Kumar Cc: sboyd@kernel.org, georgi.djakov@linaro.org, bjorn.andersson@linaro.org, saravanak@google.com, mka@chromium.org, nm@ti.com, agross@kernel.org, david.brown@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, rjw@rjwysocki.net, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, dianders@chromium.org, vincent.guittot@linaro.org, amit.kucheria@linaro.org, ulf.hansson@linaro.org, lukasz.luba@arm.com, sudeep.holla@arm.com Subject: Re: [PATCH v4 06/12] cpufreq: qcom: Update the bandwidth levels on frequency change In-Reply-To: <20200505045012.zfx2e6chqo5f3e4n@vireshk-i7> References: <20200504202243.5476-1-sibis@codeaurora.org> <20200504202243.5476-7-sibis@codeaurora.org> <20200505045012.zfx2e6chqo5f3e4n@vireshk-i7> Message-ID: <8fc5b72c9af6fd6a707a280cfc678677@codeaurora.org> X-Sender: sibis@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-05-05 10:20, Viresh Kumar wrote: > On 05-05-20, 01:52, Sibi Sankar wrote: >> Add support to parse optional OPP table attached to the cpu node when >> the OPP bandwidth values are populated. This allows for scaling of >> DDR/L3 bandwidth levels with frequency change. >> >> Signed-off-by: Sibi Sankar > > What about using opp_set_rate instead ? I can't use opp_set_rate since the cpu dev does not have a clock associated with it and the scaling is done through writing on perf state register. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.