Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp64711img; Tue, 19 Mar 2019 18:01:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwA/7Goyoy/ZPhOIqojGf+b1lenNJNdtkR7rfuL4cuz8n0/XLIGWctRMkp5T74DkQTbhwYa X-Received: by 2002:a63:5415:: with SMTP id i21mr4604139pgb.106.1553043666786; Tue, 19 Mar 2019 18:01:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553043666; cv=none; d=google.com; s=arc-20160816; b=vSi+HCJWcJVlLOdtqYz0j0QpjErlEdxcyp3LYoFZpx4l+lO57Fc59XfomznYVnm8bS 8bWP0CIYDZETDCT5FIgToHzBLNHqbxsIHCd/FVQt2TviapCo4hpnCMXmhFawo9c5DWKl MANKmyJRBP58TywwPLioA8Yj88VbtjClhx5bJlk3gqWfGtTdPOtF/c45DBZW5Liam1/Y cDpCONCzPcNUKgdK5OSw+u40+EmzBV4C7Ukqg8LgUvb//FvM4n0zbfWmfAEjEEkOiI5M 2MYtaaEito3HXfbEf4AMkK/70wYMkcXFcgc0s0OJbqlHKzpJ8zahZJze0JDt6crHmbSU jAmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+fxZ2uU+NwwuUdaJPYPM/QmxmGfXVrSJft9hKbdRFIA=; b=XwtIsudveYuLI50WnviuvtEG5r4CAVMj+y4zWTaaPCwBD149KWxnvCNBundb1L1uGZ inIlBtoB33T++5hTJ9lbKmgMMiYUo51zuUQKrZJtaOF81gfDIctqTtqNKz/fEA825snS rywOU0Sh2iHHUj/shcGY9n/VyswwWxzWk7DRDYMlsNZF45CkL2CIz0Fvky4vbmLgOSGa F4PwqXVj04KAt0aMgAQQ2nYoAHVrWUC8kfsI8m0W8/b0y0sHQz2ioDi5DaM/NZZG7NLw mJ2wauyVQIcPdyTp3N58XDLdDULad9OP61P4JibVqz/OJBtxqTc7kMEGlpnjP85zLWiM ntoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uhDTHJWS; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 13si316351pgm.311.2019.03.19.18.00.51; Tue, 19 Mar 2019 18:01:06 -0700 (PDT) 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=@linaro.org header.s=google header.b=uhDTHJWS; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727487AbfCTBAJ (ORCPT + 99 others); Tue, 19 Mar 2019 21:00:09 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:46103 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727437AbfCTBAG (ORCPT ); Tue, 19 Mar 2019 21:00:06 -0400 Received: by mail-ot1-f67.google.com with SMTP id c18so564824otl.13 for ; Tue, 19 Mar 2019 18:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=+fxZ2uU+NwwuUdaJPYPM/QmxmGfXVrSJft9hKbdRFIA=; b=uhDTHJWSmXN3/w9s+G0Rt6WYHHAMPyDpKo3Tcu+2SBVp/3T+tfH4VA7wRMaQBwHmbR n32XRB5LzBDoPvf24SBROCU+wesncht86BOFwriGPaiIJrtDsM/LfoS7AGlExyHpI7JP dJ7flJ1yXZaTb8g3x5tbOVYT7676aEFgJxhs4GLbndSo82Ay82LnXEbD9vIEvHzFmXH/ pflBcPp0bprf39yvXE1dBL2EqDvGTa9YRQixD132cdJxrWTuTBbM0uVIlRw+8u1OlQib UD3JqHUgFJ3lFqSnRIO7+QNbonJOpUv+r/KCvLVmbJCmC4GHiq/26qWvtcgU237Ter4E jp6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+fxZ2uU+NwwuUdaJPYPM/QmxmGfXVrSJft9hKbdRFIA=; b=IazNt59Geg9LYjScwf4oKVBEMHvnBfS7mxpfnBSv8g6hacx9Yj4qnj0lpfhlovF7uo lJDu4e9GNGNwLcbaTyYhcqSbeu0ZSW5dew7fX7Gpk35TA1xzxBW3fSf/SZ4FGSk2hduL j/jBQvXc869iv/en9LUPHYzI94HR5JYmbcNmabR2qmdGvJz2IVu+fWToYUCCnE3zJa8w oCoaRLXHM/WuHVYU8lB4zi5FiW1VHgT+Oda8QIkbG5UPV4uIUzF3j666HsJGAotGmseS RZkc56M41oRRe47AK+hIVvnaKMAhLsKsVIKiGNJB/wMlRCO2u1Hw1wtHDlGNLYA/lDUL 1z7g== X-Gm-Message-State: APjAAAX+k2ouDWoxUuOW9W9BTpGqBWwon+afguTte0XgLIeeXCbt9I9A 2FwSB74rvaOaBi1PWpYa/Xd3wg== X-Received: by 2002:a9d:5e14:: with SMTP id d20mr3955968oti.172.1553043605731; Tue, 19 Mar 2019 18:00:05 -0700 (PDT) Received: from leoy-ThinkPad-X240s (li808-42.members.linode.com. [104.237.132.42]) by smtp.gmail.com with ESMTPSA id n5sm151996oih.19.2019.03.19.18.00.01 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Mar 2019 18:00:04 -0700 (PDT) Date: Wed, 20 Mar 2019 08:59:58 +0800 From: Leo Yan To: Stephen Boyd Cc: Michael Turquette , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Zhong Kaihua , John Stultz , Zhangfei Gao Subject: Re: [RESEND PATCH] clk: hi3660: Mark clk_gate_ufs_subsys as critical Message-ID: <20190320005958.GA18687@leoy-ThinkPad-X240s> References: <20190319093148.1909-1-leo.yan@linaro.org> <155302456384.20095.11089482394019450818@swboyd.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <155302456384.20095.11089482394019450818@swboyd.mtv.corp.google.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 19, 2019 at 12:42:43PM -0700, Stephen Boyd wrote: > Quoting Leo Yan (2019-03-19 02:31:48) > > diff --git a/drivers/clk/hisilicon/clk-hi3660.c b/drivers/clk/hisilicon/clk-hi3660.c > > index f40419959656..32ba80181cc6 100644 > > --- a/drivers/clk/hisilicon/clk-hi3660.c > > +++ b/drivers/clk/hisilicon/clk-hi3660.c > > @@ -164,7 +164,7 @@ static const struct hisi_gate_clock hi3660_crgctrl_gate_sep_clks[] = { > > { HI3660_CLK_GATE_ISP_SNCLK2, "clk_gate_isp_snclk2", > > "clk_isp_snclk_mux", CLK_SET_RATE_PARENT, 0x50, 18, 0, }, > > { HI3660_CLK_GATE_UFS_SUBSYS, "clk_gate_ufs_subsys", "clk_div_sysbus", > > - CLK_SET_RATE_PARENT, 0x50, 21, 0, }, > > + CLK_SET_RATE_PARENT|CLK_IS_CRITICAL, 0x50, 21, 0, }, > > Nitpick: Please add space around | and also comment in the code why this > is a critical clk. Will fix it and spin a new patch. Thanks for suggestions, Stephen. > > { HI3660_PCLK_GATE_DSI0, "pclk_gate_dsi0", "clk_div_cfgbus", > > CLK_SET_RATE_PARENT, 0x50, 28, 0, }, > > { HI3660_PCLK_GATE_DSI1, "pclk_gate_dsi1", "clk_div_cfgbus",