Patch "clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical" has been added to the 5.15-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical

to the 5.15-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     clk-qcom-apss-ipq6018-mark-apcs_alias0_core_clk-as-c.patch
and it can be found in the queue-5.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit c0c705081c3e51d17687bb538216d02b788c2865
Author: Robert Marko <robimarko@xxxxxxxxx>
Date:   Fri Aug 19 00:06:22 2022 +0200

    clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical
    
    [ Upstream commit 86e78995c93ee182433f965babfccd48417d4dcf ]
    
    While fixing up the driver I noticed that my IPQ8074 board was hanging
    after CPUFreq switched the frequency during boot, WDT would eventually
    reset it.
    
    So mark apcs_alias0_core_clk as critical since its the clock feeding the
    CPU cluster and must never be disabled.
    
    Fixes: 5e77b4ef1b19 ("clk: qcom: Add ipq6018 apss clock controller")
    Signed-off-by: Robert Marko <robimarko@xxxxxxxxx>
    Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
    Signed-off-by: Bjorn Andersson <andersson@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20220818220628.339366-3-robimarko@xxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/clk/qcom/apss-ipq6018.c b/drivers/clk/qcom/apss-ipq6018.c
index be952d417ded..f2f502e2d5a4 100644
--- a/drivers/clk/qcom/apss-ipq6018.c
+++ b/drivers/clk/qcom/apss-ipq6018.c
@@ -56,7 +56,7 @@ static struct clk_branch apcs_alias0_core_clk = {
 			.parent_hws = (const struct clk_hw *[]){
 				&apcs_alias0_clk_src.clkr.hw },
 			.num_parents = 1,
-			.flags = CLK_SET_RATE_PARENT,
+			.flags = CLK_SET_RATE_PARENT | CLK_IS_CRITICAL,
 			.ops = &clk_branch2_ops,
 		},
 	},



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux