Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5168037ybi; Tue, 30 Jul 2019 15:16:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqx5P7tySvmllPUd0mVxwEmQHtCiUDeHLZ9O+ac8q0/hPJJr4cahJtzArNqkhO4ptVVP8qMd X-Received: by 2002:aa7:8705:: with SMTP id b5mr46048573pfo.27.1564524975135; Tue, 30 Jul 2019 15:16:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564524975; cv=none; d=google.com; s=arc-20160816; b=US3mxh33PTC2tB2O8j55jRRIqkiWwncYKryICdX/M0B9NllfqbjudeFHoX/SDH3DcH k1vcLFXgk0YhQV0ZKllxp5/5QvwgrydqBMozC8giVXpzdtC1DfhknMO7uCpsxhOUtDt7 +OCbnkpLpFn2VXabFVFjp9owQaMZVExp8rwy7qZ/IGqN+9IN84opfQsSfiDplrPYN07v WuCoix76m1i9jgrmb7/eVcFZ5EWopuUgtcKd3FQLBbw6h+Sk5fer0T0jAD1+lslGFSJg NH+7YyxJX0eDqDjXxuaDCPpB2wA6H08zXHksoPo/RtzNGfrk5x1mTtjO3FTKruTii3nh rkVQ== 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; bh=VgNBhat/b5Go0+BFkR1/rqDZ5enCNLtwNJEF5Ajnx8Q=; b=Wu1sjqjV0GRM3A1dOd0iXatpYsF+CY/7nCEPuER4jUTKsZeStMYSr0M7wfULCFKGK0 GZJqSg0aG4miiKKVzBiv8dvpA2s0/+xmjFAcyDYLTJpYblGOrmJXh1OlLJrU5P19fIts DL6B3r5B7V3L0YG9zNn2kIvQgr5wovpTSRsrSJf8z/SoEfMa4C74HDj9OFcSz+PoRp8D 9/3o+sI/LT8cqfRfbRw7fNkSrH8Y/CeGI7Jf5J7shfpLez4rRIabSUHFqqnPAWkcCqnr 94kROa9fxZh/hfGWYFEnrCyvxv4H3spuVkFm9Ma+ej0YBmMYqfz8rK9y4xZvnm1We2yd SG7g== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id go12si26283430plb.251.2019.07.30.15.16.00; Tue, 30 Jul 2019 15:16:15 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729910AbfG3SiV (ORCPT + 99 others); Tue, 30 Jul 2019 14:38:21 -0400 Received: from inva021.nxp.com ([92.121.34.21]:42722 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726165AbfG3SiV (ORCPT ); Tue, 30 Jul 2019 14:38:21 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 929D2200742; Tue, 30 Jul 2019 20:38:19 +0200 (CEST) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 84A1E200735; Tue, 30 Jul 2019 20:38:19 +0200 (CEST) Received: from fsr-ub1664-175.ea.freescale.net (fsr-ub1664-175.ea.freescale.net [10.171.82.40]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 69572204D6; Tue, 30 Jul 2019 20:38:19 +0200 (CEST) Date: Tue, 30 Jul 2019 21:38:18 +0300 From: Abel Vesa To: Stephen Boyd Cc: Anson Huang , Fabio Estevam , Guido Gunther , Mike Turquette , Sascha Hauer , Shawn Guo , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List Subject: Re: [PATCH v3] clk: imx8mq: Mark AHB clock as critical Message-ID: <20190730183818.mvoo5q3s4xylrqao@fsr-ub1664-175> References: <1564471375-6736-1-git-send-email-abel.vesa@nxp.com> <20190730175231.B05ED206A2@mail.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190730175231.B05ED206A2@mail.kernel.org> User-Agent: NeoMutt/20180622 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 19-07-30 10:52:30, Stephen Boyd wrote: > Quoting Abel Vesa (2019-07-30 00:22:55) > > Initially, the TMU_ROOT clock was marked as critical, which automatically > > made the AHB clock to stay always on. Since the TMU_ROOT clock is not > > marked as critical anymore, following commit: > > > > 431bdd1df48e ("clk: imx8mq: Remove CLK_IS_CRITICAL flag for IMX8MQ_CLK_TMU_ROOT") > > > > all the clocks that derive from ipg_root clock (and implicitly ahb clock) > > would also have to enable, along with their own gate, the AHB clock. > > > > But considering that AHB is actually a bus that has to be always on, we mark > > it as critical in the clock provider driver and then all the clocks that > > derive from it can be controlled through the dedicated per IP gate which > > follows after the ipg_root clock. > > > > Signed-off-by: Abel Vesa > > Tested-by: Daniel Baluta > > Fixes: 431bdd1df48e ("clk: imx8mq: Remove CLK_IS_CRITICAL flag for IMX8MQ_CLK_TMU_ROOT") > > --- > > > > Should I just apply this to clk-fixes branch? > Nope. The commit 431bdd1df48e is just in -next for now. So this has to be taken by Shawn, I think.