[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGETcx9kzB2QxNXUNtVx0szh4c=J=ZuBFXZDiRwb8+y-NVa1qA@mail.gmail.com>
Date: Tue, 13 Oct 2020 11:06:17 -0700
From: Saravana Kannan <saravanak@...gle.com>
To: Georgi Djakov <georgi.djakov@...aro.org>
Cc: Linux PM <linux-pm@...r.kernel.org>,
Mike Tipton <mdtipton@...eaurora.org>, okukatla@...eaurora.org,
Sibi Sankar <sibis@...eaurora.org>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/3] interconnect: qcom: sc7180: Init BCMs before creating
the nodes
On Tue, Oct 13, 2020 at 6:59 AM Georgi Djakov <georgi.djakov@...aro.org> wrote:
>
> Currently if we use sync_state, by default the bandwidth is maxed out,
> but in order to set this in hardware, the BCMs (Bus Clock Managers) need
> to be initialized first. Move the BCM initialization before creating the
> nodes to fix this.
>
> Fixes: 7d3b0b0d8184 ("interconnect: qcom: Use icc_sync_state")
> Signed-off-by: Georgi Djakov <georgi.djakov@...aro.org>
> ---
> drivers/interconnect/qcom/sc7180.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/interconnect/qcom/sc7180.c b/drivers/interconnect/qcom/sc7180.c
> index bf11b82ed55c..8d9044ed18ab 100644
> --- a/drivers/interconnect/qcom/sc7180.c
> +++ b/drivers/interconnect/qcom/sc7180.c
> @@ -553,6 +553,9 @@ static int qnoc_probe(struct platform_device *pdev)
> return ret;
> }
>
> + for (i = 0; i < qp->num_bcms; i++)
> + qcom_icc_bcm_init(qp->bcms[i], &pdev->dev);
> +
> for (i = 0; i < num_nodes; i++) {
> size_t j;
>
> @@ -576,9 +579,6 @@ static int qnoc_probe(struct platform_device *pdev)
> }
> data->num_nodes = num_nodes;
>
> - for (i = 0; i < qp->num_bcms; i++)
> - qcom_icc_bcm_init(qp->bcms[i], &pdev->dev);
> -
> platform_set_drvdata(pdev, qp);
>
> return 0;
Acked-by: Saravana Kannan <saravanak@...gle.com>
-Saravana
Powered by blists - more mailing lists