From: Stephen Boyd <sboyd@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
Michael Turquette <mturquette@baylibre.com>,
Vinod Koul <vkoul@kernel.org>
Cc: Marijn Suijten <marijn.suijten@somainline.org>,
linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
linux-kernel@vger.kernel.org,
Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Subject: Re: [PATCH] clk: qcom: gcc-sm8450: set OPS_PARENT_ENABLE on gcc_sdcc2_apps_clk_src
Date: Tue, 07 May 2024 13:28:40 -0700 [thread overview]
Message-ID: <7baef7a173dc4d1ecf8b0dafde565b1a.sboyd@kernel.org> (raw)
In-Reply-To: <3a3c4279-a254-48d0-91ad-70b7f1e3eb77@linaro.org>
Quoting Konrad Dybcio (2024-05-07 06:51:04)
>
> without PARENT_OPS_ENABLE:
>
> [ 3.326891] sdhci_msm 8804000.mmc: Got CD GPIO
> [ 3.336839] scsi host0: ufshcd
> [ 3.337105] gcc_sdcc2_apps_clk_src is DISABLED @ set_rate
> [ 3.346339] ------------[ cut here ]------------
> [ 3.351093] gcc_sdcc2_apps_clk_src: rcg didn't update its configuration.
> [ 3.351114] WARNING: CPU: 1 PID: 11 at drivers/clk/qcom/clk-rcg2.c:133 update_config+0xc8/0xd8
>
> [...]
>
> [ 3.610523] gcc_sdcc2_apps_clk_src is ENABLED @ set_rate
>
>
> with PARENT_OPS_ENABLE:
>
> [ 3.331419] sdhci_msm 8804000.mmc: Got CD GPIO
> [ 3.336569] gcc_sdcc2_apps_clk_src is DISABLED @ set_rate
> [ 3.344795] scsi host0: ufshcd
> [ 3.355122] qcrypto 1dfa000.crypto: Adding to iommu group 5
> [ 3.363567] remoteproc remoteproc0: 2400000.remoteproc is available
> [ 3.364729] gcc_sdcc2_apps_clk_src is ENABLED @ set_rate
>
> after testing it both ways, I realized it wasn't supposed to make a
> difference in this regard, but I suppose I can paste both results anyway..
>
Can you share your patch that prints the message? What bit are you
checking in the hardware to determine if the RCG is enabled? Do you also
print the enable count in software?
next prev parent reply other threads:[~2024-05-07 20:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-27 12:01 [PATCH] clk: qcom: gcc-sm8450: set OPS_PARENT_ENABLE on gcc_sdcc2_apps_clk_src Konrad Dybcio
2024-04-27 19:34 ` Bjorn Andersson
2024-04-30 0:21 ` Stephen Boyd
2024-04-30 10:46 ` Konrad Dybcio
2024-04-30 21:26 ` Stephen Boyd
2024-05-07 13:51 ` Konrad Dybcio
2024-05-07 20:28 ` Stephen Boyd [this message]
2024-05-07 21:17 ` Konrad Dybcio
2024-05-07 21:52 ` Stephen Boyd
2024-06-06 11:56 ` Konrad Dybcio
2024-06-08 0:10 ` Konrad Dybcio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7baef7a173dc4d1ecf8b0dafde565b1a.sboyd@kernel.org \
--to=sboyd@kernel.org \
--cc=andersson@kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=mturquette@baylibre.com \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox