linux-clk.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] clk: qcom: Drop unused 8998 clock
@ 2018-12-13 17:09 Jeffrey Hugo
  2018-12-13 19:38 ` Stephen Boyd
  2018-12-14 21:42 ` Stephen Boyd
  0 siblings, 2 replies; 5+ messages in thread
From: Jeffrey Hugo @ 2018-12-13 17:09 UTC (permalink / raw)
  To: sboyd, andy.gross, david.brown, mturquette
  Cc: bjorn.andersson, linux-arm-msm, linux-clk, linux-kernel,
	marc.w.gonzalez, Jeffrey Hugo

gcc_lpass_trig_clk is not used downstream, therefore there is no reason to
expect it to be needed for clients.  Let's remove it because messing with
the clock has been observed to cause Linux hangs when the qdss_clk is
initialized by rpmcc.

Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
Reviewed-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
---

v2:
-corrected commit text per Marc
-added Marc's reviewed-by

 drivers/clk/qcom/gcc-msm8998.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm8998.c
index f3c2ab4..4b75a09 100644
--- a/drivers/clk/qcom/gcc-msm8998.c
+++ b/drivers/clk/qcom/gcc-msm8998.c
@@ -2005,19 +2005,6 @@ enum {
 	},
 };
 
-static struct clk_branch gcc_lpass_trig_clk = {
-	.halt_reg = 0x4701c,
-	.halt_check = BRANCH_HALT,
-	.clkr = {
-		.enable_reg = 0x4701c,
-		.enable_mask = BIT(0),
-		.hw.init = &(struct clk_init_data){
-			.name = "gcc_lpass_trig_clk",
-			.ops = &clk_branch2_ops,
-		},
-	},
-};
-
 static struct clk_branch gcc_mmss_noc_cfg_ahb_clk = {
 	.halt_reg = 0x9004,
 	.halt_check = BRANCH_HALT,
@@ -2710,7 +2697,6 @@ enum {
 	[GCC_HMSS_AT_CLK] = &gcc_hmss_at_clk.clkr,
 	[GCC_HMSS_RBCPR_CLK] = &gcc_hmss_rbcpr_clk.clkr,
 	[GCC_HMSS_TRIG_CLK] = &gcc_hmss_trig_clk.clkr,
-	[GCC_LPASS_TRIG_CLK] = &gcc_lpass_trig_clk.clkr,
 	[GCC_MMSS_NOC_CFG_AHB_CLK] = &gcc_mmss_noc_cfg_ahb_clk.clkr,
 	[GCC_MMSS_QM_AHB_CLK] = &gcc_mmss_qm_ahb_clk.clkr,
 	[GCC_MMSS_QM_CORE_CLK] = &gcc_mmss_qm_core_clk.clkr,
-- 
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] clk: qcom: Drop unused 8998 clock
  2018-12-13 17:09 [PATCH v2] clk: qcom: Drop unused 8998 clock Jeffrey Hugo
@ 2018-12-13 19:38 ` Stephen Boyd
  2018-12-13 22:32   ` Jeffrey Hugo
  2018-12-14 21:42 ` Stephen Boyd
  1 sibling, 1 reply; 5+ messages in thread
From: Stephen Boyd @ 2018-12-13 19:38 UTC (permalink / raw)
  To: Jeffrey Hugo, andy.gross, david.brown, mturquette
  Cc: bjorn.andersson, linux-arm-msm, linux-clk, linux-kernel,
	marc.w.gonzalez, Jeffrey Hugo

Quoting Jeffrey Hugo (2018-12-13 09:09:09)
> gcc_lpass_trig_clk is not used downstream, therefore there is no reason to
> expect it to be needed for clients.  Let's remove it because messing with
> the clock has been observed to cause Linux hangs when the qdss_clk is
> initialized by rpmcc.
> 
> Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
> Reviewed-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
> ---
> 
> v2:
> -corrected commit text per Marc
> -added Marc's reviewed-by

Please slow down. There isn't any need to resend for such things.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] clk: qcom: Drop unused 8998 clock
  2018-12-13 19:38 ` Stephen Boyd
@ 2018-12-13 22:32   ` Jeffrey Hugo
  2018-12-14  1:32     ` Stephen Boyd
  0 siblings, 1 reply; 5+ messages in thread
From: Jeffrey Hugo @ 2018-12-13 22:32 UTC (permalink / raw)
  To: Stephen Boyd, andy.gross, david.brown, mturquette
  Cc: bjorn.andersson, linux-arm-msm, linux-clk, linux-kernel, marc.w.gonzalez

On 12/13/2018 12:38 PM, Stephen Boyd wrote:
> Quoting Jeffrey Hugo (2018-12-13 09:09:09)
>> gcc_lpass_trig_clk is not used downstream, therefore there is no reason to
>> expect it to be needed for clients.  Let's remove it because messing with
>> the clock has been observed to cause Linux hangs when the qdss_clk is
>> initialized by rpmcc.
>>
>> Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
>> Reviewed-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
>> ---
>>
>> v2:
>> -corrected commit text per Marc
>> -added Marc's reviewed-by
> 
> Please slow down. There isn't any need to resend for such things.
> 

Sorry.  Used to other maintainers.
 From your v1 comment, would be
Fixes: 4807c71cc688 (arm64: dts: Add msm8998 SoC and MTP board support)
I'm assuming from the above, you'll just apply the tag when you apply 
the change.

-- 
Jeffrey Hugo
Qualcomm Datacenter Technologies as an affiliate of Qualcomm 
Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] clk: qcom: Drop unused 8998 clock
  2018-12-13 22:32   ` Jeffrey Hugo
@ 2018-12-14  1:32     ` Stephen Boyd
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Boyd @ 2018-12-14  1:32 UTC (permalink / raw)
  To: Jeffrey Hugo, andy.gross, david.brown, mturquette
  Cc: bjorn.andersson, linux-arm-msm, linux-clk, linux-kernel, marc.w.gonzalez

Quoting Jeffrey Hugo (2018-12-13 14:32:12)
> On 12/13/2018 12:38 PM, Stephen Boyd wrote:
> > Quoting Jeffrey Hugo (2018-12-13 09:09:09)
> >> gcc_lpass_trig_clk is not used downstream, therefore there is no reason to
> >> expect it to be needed for clients.  Let's remove it because messing with
> >> the clock has been observed to cause Linux hangs when the qdss_clk is
> >> initialized by rpmcc.
> >>
> >> Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
> >> Reviewed-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
> >> ---
> >>
> >> v2:
> >> -corrected commit text per Marc
> >> -added Marc's reviewed-by
> > 
> > Please slow down. There isn't any need to resend for such things.
> > 
> 
> Sorry.  Used to other maintainers.
>  From your v1 comment, would be
> Fixes: 4807c71cc688 (arm64: dts: Add msm8998 SoC and MTP board support)
> I'm assuming from the above, you'll just apply the tag when you apply 
> the change.
> 

Hmm I already marked it as 'changes requested' but OK, I can pick it up
and add the fixes tag now.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] clk: qcom: Drop unused 8998 clock
  2018-12-13 17:09 [PATCH v2] clk: qcom: Drop unused 8998 clock Jeffrey Hugo
  2018-12-13 19:38 ` Stephen Boyd
@ 2018-12-14 21:42 ` Stephen Boyd
  1 sibling, 0 replies; 5+ messages in thread
From: Stephen Boyd @ 2018-12-14 21:42 UTC (permalink / raw)
  To: Jeffrey Hugo, andy.gross, david.brown, mturquette
  Cc: bjorn.andersson, linux-arm-msm, linux-clk, linux-kernel,
	marc.w.gonzalez, Jeffrey Hugo

Quoting Jeffrey Hugo (2018-12-13 09:09:09)
> gcc_lpass_trig_clk is not used downstream, therefore there is no reason to
> expect it to be needed for clients.  Let's remove it because messing with
> the clock has been observed to cause Linux hangs when the qdss_clk is
> initialized by rpmcc.
> 
> Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
> Reviewed-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
> ---

Applied to clk-next


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-12-14 21:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-13 17:09 [PATCH v2] clk: qcom: Drop unused 8998 clock Jeffrey Hugo
2018-12-13 19:38 ` Stephen Boyd
2018-12-13 22:32   ` Jeffrey Hugo
2018-12-14  1:32     ` Stephen Boyd
2018-12-14 21:42 ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).