Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp808174rwi; Wed, 19 Oct 2022 03:16:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4PJ27tyMDpHpKufMilq+EGQ9OntA99JQw0DNzUUJWfdICNnKRGBBKC5HzFRmSxjXZhGkWh X-Received: by 2002:a17:90a:5e04:b0:20b:1f20:5069 with SMTP id w4-20020a17090a5e0400b0020b1f205069mr43231832pjf.126.1666174592829; Wed, 19 Oct 2022 03:16:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666174592; cv=none; d=google.com; s=arc-20160816; b=M/Y9nVd1/Z4cFYCu+abRlxR/eCgMyPa+JXL7iIJ0+4j798wkpW3vgrYXRXkYRlCSfy SHnHszfjCzn1mUBYo1kRF/VYmzcsPn/1rWgJH1jYeQJ0QllsWncUcsXIjmXTpFsc6fqB 33op4CSjHzq+9nWhNoKdSJooyVhrD37QiTcsujVVj0VB5pznmXSKBMHNeOPd8rELR8dO X2BuCUGpukL18j6/CbH1Xhes1VSLMuAKGirxk6JqcL8xuJ5hAQ411SwkzHc9wreljVQ5 6G7+xwAHdRJZf3ZvaDfXcfABy/1nRQRPCrEbt39QpCOdhkr2C7/4J/b9I0wZiSP9E4iS Vlng== 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=4pdCq+Q/mNU1dzih3D5AxQKT3NZ99hzd+urRWjuk/Kk=; b=RYlRwl58ayLlpHNg0L733xnKAFcCY8YruCanKwF5Hmu7qjsBA/vCzPvIIqMNPsNtnN PHxkDvdm4xdcz6Fj2ncALz8yNL5aEtcExvVrO9B2saJzTs/90fbEvUtBMN/BBlHh7Y0G dahYy+XMot7afaYS2lMC5KuPeVG00THsUwIhWA7dVb1Jbj/nq0NK8cNAXtAna0KX33dg uPo1VgIEg2GfuHqLR21pTHw1hPrEO/KM479FeEe61cm5qNarcqiII0TUylXoEXht+IMg ajd3FWLbV+mmcse/sFOcFQ/KE/X58FFWqrQkzPnSiOzxiqRXDAQVR+sRRNVBBmGEmLbN gH1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=alSJsnEH; 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 t197-20020a635fce000000b0045c5a274ba3si16948586pgb.74.2022.10.19.03.16.19; Wed, 19 Oct 2022 03:16:32 -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=alSJsnEH; 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 S233200AbiJSJQj (ORCPT + 99 others); Wed, 19 Oct 2022 05:16:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233114AbiJSJOA (ORCPT ); Wed, 19 Oct 2022 05:14:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D57F1A4867; Wed, 19 Oct 2022 02:04:07 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 6F68B61840; Wed, 19 Oct 2022 09:03:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 84248C433C1; Wed, 19 Oct 2022 09:03:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666170206; bh=HWsCh6S8kYslKrA90A/YzpYwjW55iz5uvgEbnbjOmZE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=alSJsnEHve3LNkgC8Tj8cNDmWBVUjzyfA/koY586aGiw5uAMgmVVZHaLQbePs1oCD /Bl+s0GM6NAmy1uTFY5GB5xVYUtxWlWR6vnJgF3VQNuHIrmrQQstyOlIPPLIRAfpC+ 1NTJO0aHdYRNwUjkZKJa3jpE7CP8A/K2jw3SRFAs= 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 6.0 568/862] clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical Date: Wed, 19 Oct 2022 10:30:55 +0200 Message-Id: <20221019083315.084807810@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@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.4 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(-) diff --git a/drivers/clk/qcom/apss-ipq6018.c b/drivers/clk/qcom/apss-ipq6018.c index d78ff2f310bf..b5d93657e1ee 100644 --- a/drivers/clk/qcom/apss-ipq6018.c +++ b/drivers/clk/qcom/apss-ipq6018.c @@ -57,7 +57,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, }, }, -- 2.35.1