Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3888860rwi; Sat, 22 Oct 2022 01:36:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM627byMLeU1YV6rbcvZJjBiNDErmDfZbRm/TA5Quz2vLo30OzXkMEXcr3qSnnw3cidNnhX8 X-Received: by 2002:a17:90b:1e46:b0:20a:f9d8:1ff7 with SMTP id pi6-20020a17090b1e4600b0020af9d81ff7mr64072715pjb.34.1666427814313; Sat, 22 Oct 2022 01:36:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666427814; cv=none; d=google.com; s=arc-20160816; b=sVmH6q+KLHJYqy5AAMTtVaZuXrYYRrSG/nFi6qxN50LZ5IFWCc4EOcNSd7PXTeK3iE 4c5w113OUFaXghR82CKa3hPwet+ZNW/RgVMOtfW8zP0XRwDmj0CWoTbkPJLToc4KIhFV OYe6EcqMV63vmc8YxsfoTRTzrRXkFmQKnFcs35Knvof1jQPPjMifVkosd1jdzHgfeuV+ WmhJJhfa7OW1gK3CadNWka1w+8JXtHbTXKq3njer3CWJBN4+UtKKqxrSYtZqidtA21eo /YF2msPF06XvRSpl+e9tb6O+1b6hfkJhAZFWSigFGYibO40ibgV5+noTDh/PtkhUOAd4 6Kjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=vEpJhqIpwQmFdzqiv6RUZiajBMmVY/iEhd/SkqiY9NU=; b=YjiyzuBVSvVlnzCh89ZWsDp0mRhtzKR+I0zKeUuzFmvYexZoMf+2+CK4qSJFD9n2Mh um7tW1obS4JQUTR0SMrxqJsg8K2yGViOqXPemhM8+KCyVpnw84G2+ziVRmW8dHXcLV16 V8iqdkvjlCPq+UJLKR7IVHU156PGky17eRDB2vC3G8D/Xk/sx53D/rPgr7mLY7OS3RNl nul2mPaWBFS88sHTCMaSL0ZTo90jJf89LJeZTndNpCxVO6Pu6r3SYuaipZHt/oIK4A05 yeJE770noPxT1vSJAL/ZuRuJEv/qyqSowzqZeIZ3kNdGus5Krla4yk8frdcHO8H2Y5wI 1IrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wZZdsA+J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p21-20020a63e655000000b00438766f903asi27965685pgj.490.2022.10.22.01.36.40; Sat, 22 Oct 2022 01:36:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wZZdsA+J; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233748AbiJVI0C (ORCPT + 99 others); Sat, 22 Oct 2022 04:26:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233962AbiJVIY0 (ORCPT ); Sat, 22 Oct 2022 04:24:26 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5216E4000C; Sat, 22 Oct 2022 00:59:53 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 71980B82E2C; Sat, 22 Oct 2022 07:56:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3525C433C1; Sat, 22 Oct 2022 07:56:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666425411; bh=ihLTuvpV7fDfB9cdHCvDyrLZholIYyBFIIbqcDNjvCo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=wZZdsA+JwsBt2b4VahehVTDo6DK35zmDtTIJRpn2h1y8o4M2VOgF8UCGzVY+Z3ToN LWXkZmZUwxMBiJl6f3B3jsAOLGsoCZQ/0rCpuBWkZdKaLssbfIPdsCCq60PT2GIMlP xeZnmqcdoyp4jn/3WsdccJFGkWhtZYCF3C/aGHQk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Robert Marko , Dmitry Baryshkov , Bjorn Andersson , Sasha Levin Subject: [PATCH 5.19 462/717] clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical Date: Sat, 22 Oct 2022 09:25:41 +0200 Message-Id: <20221022072518.732027452@linuxfoundation.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221022072415.034382448@linuxfoundation.org> References: <20221022072415.034382448@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Robert Marko [ 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 Reviewed-by: Dmitry Baryshkov Signed-off-by: Bjorn Andersson Link: https://lore.kernel.org/r/20220818220628.339366-3-robimarko@gmail.com Signed-off-by: Sasha Levin --- drivers/clk/qcom/apss-ipq6018.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/clk/qcom/apss-ipq6018.c +++ b/drivers/clk/qcom/apss-ipq6018.c @@ -57,7 +57,7 @@ static struct clk_branch apcs_alias0_cor .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, }, },