From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A8918C54EBC for ; Wed, 11 Jan 2023 02:28:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=00V2JvArd582qPQDSN/ecv6iGd7hGaLnbZHKdfVEzh0=; b=MRr68TBgvl0ZLv hNbOnn8vQFU1y5Zq2jeTZrO51JzkwLr5x52eMohDDdNBu7kIUHlwcGwamT58OruQeeVuvIHitxd2N dlc2K+pGEQ30JUZXlfoPc39+Ayt30J8sMRDLvwIlkoHI+Xdd/IpiAm0f5lWSCcvyhmbWLNzy8ziyC CezfTKcEP1Iz3XKJt6Z/QLmTJMR1OGIw0aPXMaEA/PAmD+BphBCfWaBrwcweKgNliqJBJmRtzfxNu XNb3Dhpob1dPmI8ubftsn6cde4dNhg3NhDDjuPEhrCoZg3iIKPybseKIwKBrj1UMIVxX+gJHOI8+I LhQjVjKVyO+dq/Yd1E6Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFQpg-009GvE-RF; Wed, 11 Jan 2023 02:27:16 +0000 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFQpd-009Gsw-5y for linux-arm-kernel@lists.infradead.org; Wed, 11 Jan 2023 02:27:14 +0000 Received: by mail-pj1-x1032.google.com with SMTP id v13-20020a17090a6b0d00b00219c3be9830so15585703pjj.4 for ; Tue, 10 Jan 2023 18:27:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=WdQ1c6eIJ8Pfh7VJVWDgTo7nFYYtcTyxyIymvuRY7c8=; b=OWz6nrL6Wuyi/TWAJns/mDs7pQZjgqFrZ9wUn5e/fzATmgMoVuVRsjAwmOSWW2+K+N z8zAIrFngkWZMTl1cShrD0INkGiavt+5wH/F0YAttPa9YJAH62VE9kTl5UuW+bXCLqEc H4K73gA1/jtHMuUOJkoIYBm8LvPP/GHCWxY4Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=WdQ1c6eIJ8Pfh7VJVWDgTo7nFYYtcTyxyIymvuRY7c8=; b=6yS6WmeOADSLgs34lUzdhVbeWPg1BTrBmMFyAeK4XhUCMgrjD51gcXUlRMhn7x6dl9 ZXWfgeb4u2p5UJ7sCpZDxQeRY4RicbpXEjcHIvK3h0GB8tGxpH2cZWr4KzLpaMDuNxi5 MVluQei32yIZgaDK5ZsJ6FCTJ5hjn6veOJyINxUWRW8B+R4eobH/2lasV4zHNzIZj0jY yWYuue+Dz0+Cn7hVT3VVxw273yEvHhnl3u/RJZLVfT4y2HaDwdb9te38qYxxIxI6xnOL LaIaiFAQVbOauzNOTgpsxXOIoYdl2PP1MqdkQpY+ceKRTChO7kZBvDV4BnL/Vuj4f37o NXTw== X-Gm-Message-State: AFqh2kpCHK0b+lvdh3AJaLyZ4j23uIqnS/pbJ/Q8hqJrSqM0O+1Gy2Zs F6idy4vwkpRPZ9Hokl9dIvd9Tg== X-Google-Smtp-Source: AMrXdXvXToYtzezykd+4mKc0RKkAYBPN8uoLeLVJ1EmSVDKfwhrNLNUGBwdmAi/c8oZEsXTdioXOUw== X-Received: by 2002:a05:6a20:548e:b0:ac:19cf:1553 with SMTP id i14-20020a056a20548e00b000ac19cf1553mr96271314pzk.61.1673404028343; Tue, 10 Jan 2023 18:27:08 -0800 (PST) Received: from google.com (2001-b011-0003-1479-d038-ab51-d40d-2b1f.dynamic-ip6.hinet.net. [2001:b011:3:1479:d038:ab51:d40d:2b1f]) by smtp.gmail.com with ESMTPSA id t2-20020a1709027fc200b00192f9991e51sm8649128plb.251.2023.01.10.18.27.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 18:27:08 -0800 (PST) Date: Wed, 11 Jan 2023 10:27:01 +0800 From: Chen-Yu Tsai To: AngeloGioacchino Del Regno Cc: mturquette@baylibre.com, sboyd@kernel.org, matthias.bgg@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, johnson.wang@mediatek.com, miles.chen@mediatek.com, fparent@baylibre.com, chun-jie.chen@mediatek.com, sam.shih@mediatek.com, y.oudjana@protonmail.com, nfraprado@collabora.com, rex-bc.chen@mediatek.com, ryder.lee@kernel.org, daniel@makrotopia.org, jose.exposito89@gmail.com, yangyingliang@huawei.com, pablo.sun@mediatek.com, msp@baylibre.com, weiyi.lu@mediatek.com, ikjn@chromium.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCH v2 09/23] clk: mediatek: mt8173: Remove mtk_clk_enable_critical() Message-ID: References: <20221223094259.87373-1-angelogioacchino.delregno@collabora.com> <20221223094259.87373-10-angelogioacchino.delregno@collabora.com> <8bc4330b-0cfe-222b-7b8a-35fd15a30a52@collabora.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <8bc4330b-0cfe-222b-7b8a-35fd15a30a52@collabora.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230110_182713_228499_956BEC5B X-CRM114-Status: GOOD ( 26.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jan 10, 2023 at 01:32:34PM +0100, AngeloGioacchino Del Regno wrote: > Il 30/12/22 05:58, Chen-Yu Tsai ha scritto: > > On Fri, Dec 23, 2022 at 5:43 PM AngeloGioacchino Del Regno > > wrote: > > > > > > The entire point of mtk_clk_enable_critical() is to raise the refcount > > > of some clocks so that they won't be turned off during runtime, but > > > this is the same as what the CLK_IS_CRITICAL flag does. > > > > > > Set CLK_IS_CRITICAL on all of the critical clocks and remove the > > > aforementioned function as a cleanup. > > > > > > No functional changes. > > > > > > Signed-off-by: AngeloGioacchino Del Regno > > > > > > Looks good to me, > > > > Reviewed-by: Chen-Yu Tsai > > > > However, if you move this patch before the previous one ... > > > > > --- > > > drivers/clk/mediatek/clk-mt8173.c | 41 ++++++++++++------------------- > > > 1 file changed, 16 insertions(+), 25 deletions(-) > > > > > > diff --git a/drivers/clk/mediatek/clk-mt8173.c b/drivers/clk/mediatek/clk-mt8173.c > > > index 70cdc0719658..02231f8ba6d9 100644 > > > --- a/drivers/clk/mediatek/clk-mt8173.c > > > +++ b/drivers/clk/mediatek/clk-mt8173.c > > > > @@ -846,23 +852,8 @@ static const struct mtk_clk_rst_desc clk_rst_desc[] = { > > > } > > > }; > > > > > > -static struct clk_hw_onecell_data *mt8173_top_clk_data; > > > -static struct clk_hw_onecell_data *mt8173_pll_clk_data; > > > > You wouldn't have to touch these lines twice? > > > > That's true, but please, I prefer not to, as the patches are ordered for > eas(y/ier) bisectability in case anything happens. Got it. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel