Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp126368pxb; Mon, 2 Nov 2020 16:11:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwoxKzN4KjR3ZOsIbG9I5kH2rLa0BN4HX+3P0100IJhJYnYVBExaEZ2eZWZ5Ya6P3AxvXRq X-Received: by 2002:a17:906:1352:: with SMTP id x18mr14601204ejb.476.1604362269919; Mon, 02 Nov 2020 16:11:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604362269; cv=none; d=google.com; s=arc-20160816; b=rAqziyXRt157416YJOR9ykFFoyTQa+t4mDt9ajsiTXLrcwfe4rUOMRBGoNCNYj1s3R 9FEQeoaZCkExoD7f80Fd5k/y41waDmABeuLkov2XKNqy4okVr3BdftaYrrQWB2aivbQv T2FclF9P4MtC3QizuYrYJP+EV+a4ygbei5YpKfDuEZLurecEplgyhTSWx7jZn49u5nBl Xnx47hUixjijpxJUPT+NOXewBhnDc+2AsmawNUtKyCem4lGy6g/kNURwaZ5vQR/F6DQb ww/bypPdNST+nsONUUeHvBJF4PIB7v8oqF+M78xoBRpYr0e+eGHqvUswf7AzkKHFDvF8 hWuw== 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=5M87zMX+6Lelwbgy9MfpV0pP6tm24VnzLEKmMHXqqf0=; b=CTzYmqJPxPAMQ4cIUmjISv/XkKpjaWlSQ7Ur3ZYJj9mJloAFAffRS9u89MshmYILux iiAReY3IP0YC/EUv6kmnjoicE1Wij4ckAkj4xJYhN21jT9ZD8p6DKsVUBw7X2SqDqiTS PvBQjbP/K5qQ+SzI0ypzIiLAdWiADv8gREUa9S9R478Gf7juH7bQMY2PGtsTTlax7q+w muHgvqQFueWh3yFeYw88eQ02iV/AC3FxyhvmiqZfi1xsMP7Ok8dCAECSoiH7lR48elFy AHjOY+J3Ze+A4wZwhxlCPi9We1OgAbX25rxTNv/GsJADMn7we0e2aQHBz6wxtwU9QkJy PMpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ea2GOEo3; 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 b22si11661525eds.561.2020.11.02.16.10.47; Mon, 02 Nov 2020 16:11:09 -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=ea2GOEo3; 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 S1727145AbgKCAHE (ORCPT + 99 others); Mon, 2 Nov 2020 19:07:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:38404 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725910AbgKCAHE (ORCPT ); Mon, 2 Nov 2020 19:07:04 -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 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 Cc: sboyd@kernel.org, s.hauer@pengutronix.de, festevam@gmail.com, abel.vesa@nxp.com, kernel@pengutronix.de, linux-imx@nxp.com, Anson.Huang@nxp.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@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-Type: text/plain; charset=us-ascii 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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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