Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3412065imu; Thu, 29 Nov 2018 23:06:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/U7BsKzqccIxOYV0A+mvSZfJ5vltPRY7G5tVQTketKRtSAPQhRGT3RB2ytTcOpsD5T4W7fi X-Received: by 2002:a17:902:765:: with SMTP id 92mr4603113pli.242.1543561565555; Thu, 29 Nov 2018 23:06:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543561565; cv=none; d=google.com; s=arc-20160816; b=dhj2PBrvdMZzxCmsI9wmXThOR7Wi7kvav/nNj8dG+fjJHht+/I4LGQgZPVgGzFmRp2 ewyDK5dAS2twfK+ibPpKy8bCb/q8nKEF0E2BSfCHgysM8iZlwGd6mHF1Myh8dbqKoJx5 bpo9iT3j10ctILzGILgVEkUnHD3rkli0FnDuLEUu0VcNetzmjqqMHK3DkDMUgBwWV68F WytSMgHrwVvEz31w87r7PszTyneBjg+I29YzIQK80yq08c6Md42ubqpWMKXgC7WE8DRN L6lFEeDG952tSSg2Hb1aEdrnBSdYAtiBxo5nrwlCMc8/8EB0NibWYeGa+xmRUhW1VvlT A/ig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:dkim-signature; bh=AQVdPS170xG1+rEK0ODuIg3hDPTlSduqHO9xNPf97rk=; b=TPSoTnlFvie2kmFCc/lovpsOuNpls5Bve10oXb7c9w9SKOmwjKr35rWvGm0B2d0NQb mhT91arMHUmctXebjR45GE1np7G03J6cr0FLfFDMm0gtSQpUcBtkKfsaKdkGNZubXSpm AHCRsjSVhVv21DsYxwljIM/3JQDjNbqdD4QSqO29dbESBamCfYzGw5LvakzlqufXVBkQ hnbSx6EVWH41X95xnj7GINPsuEeIupTT+K7FXOl6VY6y4W9cLRrj4tX8yYuz9NGan/OF bQVowkcp+Wctr0GFX8jvt7EgEPLBSQYvTubzveD/SqIvfWJpakBxhN7WTkQeX8qqj0pS bQzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MIY2d1Ou; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 37si4585193plv.243.2018.11.29.23.05.50; Thu, 29 Nov 2018 23:06:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MIY2d1Ou; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727007AbeK3SNd (ORCPT + 99 others); Fri, 30 Nov 2018 13:13:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:49488 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726386AbeK3SNc (ORCPT ); Fri, 30 Nov 2018 13:13:32 -0500 Received: from localhost (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 303562082F; Fri, 30 Nov 2018 07:05:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543561514; bh=9dB7A+ZX47mdyOd0vscJY6P7AM/Ds7M0n2fItHQqiCU=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=MIY2d1Ou9oAomo8gfF5X/FMeowjrSP044Xc+QT7cPBur4+hqW65IDaFhsH5Vdu1Zt IDQiCLrgmmYoQfSJMGyDKJS1d3Sdi2TClyb+HopGEgeI/zqHkzJ9ITPPmIepHQkp+v ryLcM4hqtWb1JhhFZhlQN9KBX6coKu2iHTYKFcFQ= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Bjorn Andersson , Michael Turquette From: Stephen Boyd In-Reply-To: <20181130065259.26497-2-bjorn.andersson@linaro.org> Cc: Andy Gross , David Brown , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Marc Gonzalez , Amit Kucheria References: <20181130065259.26497-1-bjorn.andersson@linaro.org> <20181130065259.26497-2-bjorn.andersson@linaro.org> Message-ID: <154356151361.88331.1298482384404357982@swboyd.mtv.corp.google.com> User-Agent: alot/0.7 Subject: Re: [PATCH 1/3] clk: qcom: gcc-msm8998: Mark hmss_dvm and lpass_at critical Date: Thu, 29 Nov 2018 23:05:13 -0800 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Bjorn Andersson (2018-11-29 22:52:57) > Keep the two clocks enabled, so that the platform passes > clk_disable_unused(). > = > Signed-off-by: Bjorn Andersson > --- > drivers/clk/qcom/gcc-msm8998.c | 2 ++ > 1 file changed, 2 insertions(+) > = > diff --git a/drivers/clk/qcom/gcc-msm8998.c b/drivers/clk/qcom/gcc-msm899= 8.c > index 9f0ae403d5f5..d89f8e7c2a59 100644 > --- a/drivers/clk/qcom/gcc-msm8998.c > +++ b/drivers/clk/qcom/gcc-msm8998.c > @@ -1972,6 +1972,7 @@ static struct clk_branch gcc_hmss_dvm_bus_clk =3D { > .enable_mask =3D BIT(0), > .hw.init =3D &(struct clk_init_data){ > .name =3D "gcc_hmss_dvm_bus_clk", > + .flags =3D CLK_IS_CRITICAL, Please add a comment about why they're critical. This is a temporary solution? > .ops =3D &clk_branch2_ops, > }, > },