Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp413236pxb; Tue, 3 Nov 2020 03:01:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJxY4bQiOY69IT2jfszw7W6ywEb3oyj3nGykQXUgJyHCkV2UHrcqaX0Jr81iwZbdnsyo7EVN X-Received: by 2002:a17:906:6d83:: with SMTP id h3mr19242174ejt.481.1604401273417; Tue, 03 Nov 2020 03:01:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604401273; cv=none; d=google.com; s=arc-20160816; b=ORi38EWQ06bnZgroK4PDwMyR1vjUHolcb5/ejwAKy2CwBLwtCDbt6Rz/NeMbcWNvPu rxfJsW3gg0ckgj/WZwEow0cM7StBpj61RAJlVQoojLZcuvFyorxh7szop4+GMQlk658j WHKj7nZkvI6cbKdD386dGUD4mOhAIU7VjzBsS+awPo7y0Pn6fG652TGOUhiGnkDjBneF ZlSAbgN2i76fs17E2xTlibhgTA4/VauCqnFegLMAMVZTkAnOTBT16QXRF2KBQ+ZxqaL1 DPKrCzkRon0ZiYD+y0bB/w8HgwDG7/2+7tE/TFlePEgVxGIZkXIEAKaQoKNGgBoK4He/ NFFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=NHcnWZRWPSmpy4sImJ65PoXECIfo7C0IQ9nbjqVdkgc=; b=ORgSyJO2Wrf1bDT9ujLqeGF07ylOav8Ms8yChltZC0PR4LVJbD+Xdo3/vYsjb10dg/ J4woLD22iwUnBBfE0q8gfSv/gN+wWnw10KRfkSAC2ToMldcz+JQjlcKXy9Mu4fFMZGv5 JQVrETfTHW0DDuTuW+R9jHsQvHilldiGo07ebmq2u5lfP8HwdwPItGhYsW95XBhgrtAm 6Y2hmXtsyIuaXK9N3WGyW8Mdf6Zyf50IGtGthz2ObEg529fGBxcxoArYHhy1ZtllCOgI xRM1YGYK8kIo6gvB6bPsEuINHOsfqOOxtYmc8xYeWOwDLz4yJvgbmrZMdXwCZQH/zTZI OcyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HadCM52F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id e10si10981435edc.106.2020.11.03.03.00.50; Tue, 03 Nov 2020 03:01:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=HadCM52F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727975AbgKCK7d (ORCPT + 99 others); Tue, 3 Nov 2020 05:59:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:35714 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726058AbgKCK7b (ORCPT ); Tue, 3 Nov 2020 05:59:31 -0500 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (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 8187E208B6; Tue, 3 Nov 2020 10:59:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604401170; bh=qeFHNu/TjXZ28G/HeWCLlB9Rs2ZplrmupeH3I17qMMY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HadCM52Fwbr7Bx14vtSn0XROrJ8NOI4lvGa9Z6yvwyCKfe+iRQQWW8v0fsMhNGO9z thkVfnxg5XVNLXsTNQ9KHORuVy+F1v9yW+TjXsMRCcxq+KqT9mXwIgLzLJdEuF0pC5 a2s0kWuQWNQm1m8bOASANQwMaao/XBwOpy/ZkVkA= Date: Tue, 3 Nov 2020 18:59:25 +0800 From: Shawn Guo To: Peng Fan , Stephen Boyd Cc: "s.hauer@pengutronix.de" , "festevam@gmail.com" , Abel Vesa , "kernel@pengutronix.de" , dl-linux-imx , Anson Huang , "linux-clk@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Aisheng Dong Subject: Re: [PATCH V3] clk: imx8m: fix bus critical clk registration Message-ID: <20201103105924.GD31601@dragon> References: <1604229834-25594-1-git-send-email-peng.fan@nxp.com> <20201103000657.GA31601@dragon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 03, 2020 at 01:03:44AM +0000, Peng Fan wrote: > Shawn, > > > Subject: Re: [PATCH V3] clk: imx8m: fix bus critical clk registration > > > > On Sun, Nov 01, 2020 at 07:23:54PM +0800, peng.fan@nxp.com wrote: > > > From: Peng Fan > > > > > > noc/axi/ahb are bus clk, not peripheral clk. > > > Since peripheral clk has a limitation that for peripheral clock slice, > > > IP clock slices must be stopped to change the clock source. > > > > > > However if the bus clk is marked as critical clk peripheral, the > > > assigned clock parent operation will fail. > > > > > > So we added CLK_SET_PARENT_GATE flag to avoid glitch. > > > > > > And add imx8m_clk_hw_composite_bus_critical for bus critical clock > > > usage > > > > > > Fixes: 936c383673b9e ("clk: imx: fix composite peripheral flags") > > > Reviewed-by: Abel Vesa > > > Reported-by: Abel Vesa > > > Signed-off-by: Peng Fan > > > > Do you want this be picked up as a fix for 5.10-rc or non-critical stuff for > > -next? > > Please take this as a fix for 5.10-rc. Okay, I will leave this to Stephen then. Shawn