Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp628128ybi; Fri, 26 Jul 2019 16:19:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsEZvcZE+eUCdvL2VOkdrFUXIhp4ju6IM5tnoLslYuLCLqxnGTkk2JeKfruyDhKjqXf3mA X-Received: by 2002:a17:902:9a85:: with SMTP id w5mr98779215plp.221.1564183145520; Fri, 26 Jul 2019 16:19:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564183145; cv=none; d=google.com; s=arc-20160816; b=IIYyiv9Lp6vxaik/d6LCzyGWQLeRAUgyLv9+/W8yFiHOwO5Jf7p5fSldPuB8x1bo2C mOpaUcOwekvLed2Rwl8XOaUxWefSWvMwlDM1ihgY/RaDt9MCYPwFt/30aRFgwARalrpu cP1ALodng6PbLDOlsp+JWdyjGxkBnnilxQa23ttlDJXJ0h59ZfM0KICfQsPZAVeXAEIU plQ7Ax+qFp/il4NVl2by7GEZw0fel6juM14+yZxksti/8cYAS92Wl5kW+4fMkLuMI/ww O0yf5XxuWf37lDDnIUZRX1fXi6PEOfknAxTwH1jDzhSj7i8UPhoHfWuYFqmgVCf6LrPz YfQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=pLIvL1ELNjaZefRkSo34EEeqZ5ctkKw3Nhc4gJBc33s=; b=Q0HY4CA5fdrDWFRWyV+BM8/rIJo0UiROWTIBBaWk4p9R4O9M0cx7u80zIgNZI3bjyR bpHIhANNhb/7nefCy+c1Ei1HikFjymYbdPRWHnfRgxWc42+mIFqWVn65m4BasK60QxFx IviOioWPaIRaFpLLGujmzNy69wYClDXXPWzYE3xhUiFObDBQPyBO0Za8ICHY5KqZy4/W UKLiQZ+yIQcoI+jgz9G1f+hC7ENQ1wmkcxF//AIbM/Hxnlng1Tz8/BfWUFjchW03YLtm rVuHmI8kdK6F/RihugjKgoXIH4YtO/wwVhSWuTfVTqjmPRszuiBa5usSpd+AUHtud9jn mIVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ePOopMHV; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d27si7606721pgd.328.2019.07.26.16.18.51; Fri, 26 Jul 2019 16:19:05 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ePOopMHV; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728710AbfGZW1F (ORCPT + 99 others); Fri, 26 Jul 2019 18:27:05 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:36254 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728471AbfGZW1E (ORCPT ); Fri, 26 Jul 2019 18:27:04 -0400 Received: by mail-wm1-f67.google.com with SMTP id g67so44717795wme.1; Fri, 26 Jul 2019 15:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pLIvL1ELNjaZefRkSo34EEeqZ5ctkKw3Nhc4gJBc33s=; b=ePOopMHVtBJWVbqlKtDxoGAEJq2W+MrKFCPb2aExEk+4Js7x0XFa33YynjU0aYy+Zd cy8SOMYIf8ILafKjZKdQNPmN5l+a6/AtmSX16476xaqtwIhafaF+Tkr3Hhy8mEupfqD1 l1Fxv4/EWdfc3Znt515XrTWt1Gpj/K2hQoYPL5Cr9SGL6Y1I8TqxbhGeL1OoCedTXnsz WDJ33syVp6qDMLPxtq5zlNFdpUAgGk8NfG0/NIPKuHicwUUS0OIkT0oli/9bAznmh+rR IPghhpH766v1ZEoaeXrdL+5+dmvIE7ZsoovhwgJdcWh2/YKaxv8k+WD3GA7eCwtwaCLI a9nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pLIvL1ELNjaZefRkSo34EEeqZ5ctkKw3Nhc4gJBc33s=; b=bO22VTu4vtev8BcMp6FGcxh3SQKf2HTS2EtEc+bue1CQod3DiJrMBUXtvGuaOZDxkE FJYI4mrpmFS0KBSGQa/E56xs2l8i0LRDmz9GT8vqvfKjL02UahMDahHGMx4f3vAmOfeT V8I7SDakzRf14PWdd+chgnLZJ2JKgQcW8C3WLb8/FH70hdQT2U1Yu9/t8UmPoZg+vO8E PxQr6+7kIP9RNb0ELCPpeDci+9xyr7ptq7D9YZsRzype4Gt6yIwkuzFO9ia8j+Wug4Cj X2JFUxFo1vrO/Evp3Lsm3JmP1aACjTLDdJpCKhNaw7Onlf20O2E2kBuCifYIT6tyvi4s 4qCA== X-Gm-Message-State: APjAAAX76wy+lEoicfZTNLjCuMA4dUfT1LHq6T5qyZGeQ+TSihw17BSw 2ZMS23+Uy9NajE6F/PeLNZ9OC+LXSxHm8nxxcBs= X-Received: by 2002:a1c:96c7:: with SMTP id y190mr80069646wmd.87.1564180022241; Fri, 26 Jul 2019 15:27:02 -0700 (PDT) MIME-Version: 1.0 References: <20190705045612.27665-1-Anson.Huang@nxp.com> <20190705045612.27665-5-Anson.Huang@nxp.com> In-Reply-To: <20190705045612.27665-5-Anson.Huang@nxp.com> From: Daniel Baluta Date: Sat, 27 Jul 2019 01:26:50 +0300 Message-ID: Subject: Re: [PATCH 5/6] clk: imx8mq: Remove CLK_IS_CRITICAL flag for IMX8MQ_CLK_TMU_ROOT To: Anson Huang Cc: rui.zhang@intel.com, edubezval@gmail.com, daniel.lezcano@linaro.org, Rob Herring , Mark Rutland , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Michael Turquette , Stephen Boyd , Lucas Stach , Abel Vesa , Andrey Smirnov , "Angus Ainslie (Purism)" , Carlo Caione , =?UTF-8?Q?Guido_G=C3=BCnther?= , Leonard Crestez , linux-pm@vger.kernel.org, Devicetree List , Linux Kernel Mailing List , linux-arm-kernel , linux-clk@vger.kernel.org, dl-linux-imx Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, latest linux-next hangs at boot. commit fde50b96be821ac9673a7e00847cc4605bd88f34 (HEAD -> master, tag: next-20190726, origin/master, origin/HEAD) Author: Stephen Rothwell Date: Fri Jul 26 15:18:02 2019 +1000 Add linux-next specific files for 20190726 Signed-off-by: Stephen Rothwell I know this is crazy but reverting commit: commit 431bdd1df48ee2896ea9980d9153e3aeaf0c81ef (refs/bisect/bad) Author: Anson Huang Date: Fri Jul 5 12:56:11 2019 +0800 clk: imx8mq: Remove CLK_IS_CRITICAL flag for IMX8MQ_CLK_TMU_ROOT IMX8MQ_CLK_TMU_ROOT is ONLY used for thermal module, the driver should manage this clock, so no need to have CLK_IS_CRITICAL flag set. makes the boot work again. Any idea? On Fri, Jul 5, 2019 at 8:07 AM wrote: > > From: Anson Huang > > IMX8MQ_CLK_TMU_ROOT is ONLY used for thermal module, the driver > should manage this clock, so no need to have CLK_IS_CRITICAL flag > set. > > Signed-off-by: Anson Huang > --- > drivers/clk/imx/clk-imx8mq.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c > index d407a07..91de69a 100644 > --- a/drivers/clk/imx/clk-imx8mq.c > +++ b/drivers/clk/imx/clk-imx8mq.c > @@ -539,7 +539,7 @@ static int imx8mq_clocks_probe(struct platform_device *pdev) > clks[IMX8MQ_CLK_DISP_AXI_ROOT] = imx_clk_gate2_shared2("disp_axi_root_clk", "disp_axi", base + 0x45d0, 0, &share_count_dcss); > clks[IMX8MQ_CLK_DISP_APB_ROOT] = imx_clk_gate2_shared2("disp_apb_root_clk", "disp_apb", base + 0x45d0, 0, &share_count_dcss); > clks[IMX8MQ_CLK_DISP_RTRM_ROOT] = imx_clk_gate2_shared2("disp_rtrm_root_clk", "disp_rtrm", base + 0x45d0, 0, &share_count_dcss); > - clks[IMX8MQ_CLK_TMU_ROOT] = imx_clk_gate4_flags("tmu_root_clk", "ipg_root", base + 0x4620, 0, CLK_IS_CRITICAL); > + clks[IMX8MQ_CLK_TMU_ROOT] = imx_clk_gate4("tmu_root_clk", "ipg_root", base + 0x4620, 0); > clks[IMX8MQ_CLK_VPU_DEC_ROOT] = imx_clk_gate2_flags("vpu_dec_root_clk", "vpu_bus", base + 0x4630, 0, CLK_SET_RATE_PARENT | CLK_OPS_PARENT_ENABLE); > clks[IMX8MQ_CLK_CSI1_ROOT] = imx_clk_gate4("csi1_root_clk", "csi1_core", base + 0x4650, 0); > clks[IMX8MQ_CLK_CSI2_ROOT] = imx_clk_gate4("csi2_root_clk", "csi2_core", base + 0x4660, 0); > -- > 2.7.4 >