Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3461731imu; Fri, 30 Nov 2018 00:14:56 -0800 (PST) X-Google-Smtp-Source: AFSGD/WB0RXwNgAgOGgxvDRkiL/aP2Ic7GD4nkkZs4WLsNYl1JeIgOcch7ppdnkmwHczzWCskHdy X-Received: by 2002:a17:902:1e3:: with SMTP id b90-v6mr4696630plb.117.1543565695973; Fri, 30 Nov 2018 00:14:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543565695; cv=none; d=google.com; s=arc-20160816; b=WbeGxcwiMQ78fnxjuaLBgrJ60V+B9IEMpDBdliGIHpSB6/hqiYuH3adSFxmhGHF6M1 i+M/VHcQR8Fcy1elDdKOLTJEWruPpQS9OqZo5ddV7tQG7y8ey7uyrCIdhxmeiHY11vfP hhYKu8iRyqdBn4BcciuJleKADBntag7kqtOevoqyMZp2JZ8ALL/StMBspLm5lC59NR0L 1cNgw9H3u96OKm2dbXTra/gZKbCtUbY3vBCMU8/jP8KR40hXGbsJtm762ZIxMI5gYSJA uoO094NDBRmXhj2HVFhjpYtPcvlg6B2FcwkD4onbMjd2Qo4CnQdFnjUmiCJ1Uf3n9dt+ Ne8w== 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=+ZQKwVe2iuZG/eLKM5ZzDfMgWt6zInX+q7oqJzxpeB0=; b=iGIdiFeAjj2aHiipAVMgwSmfYr51M2r/x84t1FxeGcf2Ipc4kw+b0krHSXxyyfwPUC fNLEdbspRBRCroHwOhiW4Efa1MlmCTnZii0Fz8QxQcS/aF1bV/cTA+b8IV0tT4Ooiw6H KtHKeqaye1e9c8vkwZ7OS/iv2gzRVAsvpCNqrkcTkdImWBP/MXRgS5q3+UyxfYSuiS4p /atSyCnpA3kraXMvRVo+Kp57ElWhV73cBUDP6W7qTYgUnJrn8wGAzh6UMnH04GZGWUDj fHxfKPr4ppEdoEQAllwa8cBwk1fzPi5JTFAZJhplVXb93+b18cxLZm5vDffq/rvTZX9P EdSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=upjrzB9a; 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 p14si4265269pgf.52.2018.11.30.00.14.41; Fri, 30 Nov 2018 00:14:55 -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=upjrzB9a; 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 S1727038AbeK3TV1 (ORCPT + 99 others); Fri, 30 Nov 2018 14:21:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:40936 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726459AbeK3TV1 (ORCPT ); Fri, 30 Nov 2018 14:21:27 -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 5F9FF206B7; Fri, 30 Nov 2018 08:12:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543565577; bh=kOqwzYVQVBEcL/IHDXplx/dAPO3fA55KLJresAk1D4o=; h=To:From:In-Reply-To:Cc:References:Subject:Date:From; b=upjrzB9aEc2eTVOVbmJzMaSBpo48Fb+3esAtyuag7Tfaf41qqy4Fu1YsnZn8a3BIN l96xI028gZND5BVfEoDveo4JX5jLtXrMWHMfleVORAF+VQ1/L6ExSikgnmitiEd6nO fuAijtqpKjN4+lfxhNnJeeu/i4bbsRG5Udj2k+xU= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: Bjorn Andersson From: Stephen Boyd In-Reply-To: <20181130072420.GG5278@tuxbook-pro> Cc: Michael Turquette , 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> <154356151361.88331.1298482384404357982@swboyd.mtv.corp.google.com> <20181130072420.GG5278@tuxbook-pro> Message-ID: <154356557630.88331.15462727905875864666@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: Fri, 30 Nov 2018 00:12:56 -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 23:24:20) > On Thu 29 Nov 23:05 PST 2018, Stephen Boyd wrote: > = > > 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-ms= m8998.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? > > = > = > Disabling them in clk_disable_unused() are bad, mkay... Ugh sad. > = > = > SDM845 marks the equivalent clocks as critical with a comment that they > must be on for system operation... I'm uncertain what the exact purpose > of these two clocks are, so I don't have a better explanation right now. > = Ok. But does any driver ever want to use it? It may make more sense to just remove it entirely and not touch it.