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 X-Spam-Level: X-Spam-Status: No, score=-8.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 179C9C00A89 for ; Tue, 3 Nov 2020 00:07:35 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B70EF22268 for ; Tue, 3 Nov 2020 00:07:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dHHB5tuh"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="ea2GOEo3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B70EF22268 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject: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=nP+OOX6CS4yAkX73eFSuFwGlp9QdB0P7MTEpx8ODmrE=; b=dHHB5tuhREiTHtT7jkLhqQDEU oNyqtawF43Bz6d3GAs+O4PWtpWxkx2dP3pqVJMmAK0EkEADJLGNdPGuZLe7GDFzpTkEYj1LXr45u2 tUdOeul7uv1KuxOgVrCDvCV7b1eyQ/Oq7VZQHaiLOnjJQmiAxUn6ZPWitiucae0ArBAHRxjaQagtx MEHxlbHnVCsEcN9s8wh8LhY7t+G4zhvrD5tNxsf0GkMyCspo56lKA/PTFtIfoOFNiwQfyCKnj3UIW IdciSJM2Tu5ILulQJUxG5rVLGHfxa00vXLgfOZm241nI1l9rdj481dDdGI61zvVrKXDcT+pluX0FB 0YUaaNhdQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZjqt-0007WB-Lt; Tue, 03 Nov 2020 00:07:07 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kZjqr-0007VV-1h for linux-arm-kernel@lists.infradead.org; Tue, 03 Nov 2020 00:07:05 +0000 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 942EC21556; Tue, 3 Nov 2020 00:07:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604362023; bh=GzuDDXWY8aoG90EgJn5PYz9hpehIy8YNVnQqPK2pNA0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ea2GOEo3eP1OAYFF4fm3vrCCV7slEw9Bf8Im0CNQFkIf/x78yF+i+qTnHv4hg/+4T roNJmJet1bYgMTJNzhTASIm5KXOyZsyiR3Xw6oJYfrtT5nAvY9alYEiKlzjP7ly5aw vdtl87sehivFTUXmoCrCq656BZ0va/m0tNTv73GQ= Date: Tue, 3 Nov 2020 08:06:57 +0800 From: Shawn Guo To: peng.fan@nxp.com Subject: Re: [PATCH V3] clk: imx8m: fix bus critical clk registration Message-ID: <20201103000657.GA31601@dragon> References: <1604229834-25594-1-git-send-email-peng.fan@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1604229834-25594-1-git-send-email-peng.fan@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201102_190705_227862_4405D7CA X-CRM114-Status: GOOD ( 12.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: aisheng.dong@nxp.com, abel.vesa@nxp.com, Anson.Huang@nxp.com, sboyd@kernel.org, s.hauer@pengutronix.de, linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, festevam@gmail.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 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? Shawn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel