Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp541454ybl; Wed, 28 Aug 2019 01:36:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqyiMjPlqNU9Ye/fHs+IjnNI+Bk1C6NW3XOqrRu6MI30gXSwjyf/WJCbG1AuUBluTf6P02Xu X-Received: by 2002:a17:90a:bd10:: with SMTP id y16mr3126040pjr.132.1566981401909; Wed, 28 Aug 2019 01:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566981401; cv=none; d=google.com; s=arc-20160816; b=lSS+9fXAZiFi+TWMhI6Bqr1E64gSQdjP7n2+uzIZttkeZVzq5C675FBGoDBOcH9fH7 iQeHHpw56odY8EU0CW6b/5BpM3LpUwEx0pvjA4F/EWoY+Q4vrPCOBKzx4lhNMqLlMxNE IKy0RApjABG44HQr8QGRpitaPyXs4aJzr270bxThexBHZlTXhw9jkg4j80j26YM7gXlq KftCm2gpu5ut1ihEvs3u+6kNRxb40RVfDT02m/VCiraAWC7KwowQuQ/SZwy2nwHoiHCk snjjY+8KZ41+lgbnHQIsnoOYrYBUl8yntbTiJC/wawO1r+sdRoaEPfBw+fdRWCJzDD8v BpfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=v7YpupipgPUwnNSO8VtQd9o6pXOtjdE0KmFuHqAuGaw=; b=IZcXifY8VSygyGSytqv2o4Z2vG8iH2fhmo1fNWevHzqxIE4RI2vefg72fzgefJN/Jn NP4ciUXn9fXvRcUBnRWb4d2Ae4wmBG8URfWKgpZmdU2TP4O+PWXoCt3DMg2TxTkHSGVL XNFKVZiz5xeBkdshel3YW0RjDeBhkmPSW2u8zwCSt794/JiDubnMx0nNGRv57DjT52Jm zUddtndGu+h83NHgnDSV3se2AlnSGdLSXF2QWSKgP8HDmZZdxkzjqRAiMNRXqJFPg6XU VKuFPYtumLME+T8SxKpwh5RLLPcLjzSHxub0WaSErxDNdU+JRt1KCoWSOUTfSoXauyY3 f/DQ== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u16si1373732plq.68.2019.08.28.01.36.25; Wed, 28 Aug 2019 01:36:41 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726475AbfH1If0 (ORCPT + 99 others); Wed, 28 Aug 2019 04:35:26 -0400 Received: from mga02.intel.com ([134.134.136.20]:38561 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726253AbfH1IfZ (ORCPT ); Wed, 28 Aug 2019 04:35:25 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Aug 2019 01:35:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,440,1559545200"; d="scan'208";a="264571781" Received: from deyangko-mobl.ccr.corp.intel.com ([10.249.168.35]) by orsmga001.jf.intel.com with ESMTP; 28 Aug 2019 01:35:21 -0700 Message-ID: Subject: Re: [PATCH V3 1/5] thermal: qoriq: Add clock operations From: Zhang Rui To: Leonard Crestez , Anson Huang , Shawn Guo Cc: Eduardo Valentin , Daniel Lezcano , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx , Stephen Boyd , Andrey Smirnov Date: Wed, 28 Aug 2019 16:35:29 +0800 In-Reply-To: References: <20190730022126.17883-1-Anson.Huang@nxp.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-08-28 at 16:32 +0800, Zhang Rui wrote: > On Tue, 2019-08-27 at 12:41 +0000, Leonard Crestez wrote: > > On 27.08.2019 04:51, Anson Huang wrote: > > > > In an earlier series the CLK_IS_CRITICAL flags was removed from > > > > the TMU > > > > clock so if the thermal driver doesn't explicitly enable it the > > > > system will hang > > > > on probe. This is what happens in linux-next right now! > > > > > > The thermal driver should be built with module, so default kernel > > > should can boot > > > up, do you modify the thermal driver as built-in? > > > > > > > Unless this patches is merged soon we'll end up with a 5.4-rc1 > > > > that doesn't > > > > boot on imx8mq. An easy fix would be to drop/revert commit > > > > 951c1aef9691 ("clk: imx8mq: Remove CLK_IS_CRITICAL flag for > > > > IMX8MQ_CLK_TMU_ROOT") until the thermal patches are accepted. > > > > > > If the thermal driver is built as module, I think no need to > > > revert > > > the commit, but > > > if by default thermal driver is built-in or mod probed, then yes, > > > it should NOT break > > > kernel boot up. > > > > The qoriq_thermal driver is built as a module in defconfig and > > when > > modules are properly installed in rootfs they will be automatically > > be > > probed on boot and cause a hang. > > > > I usually run nfsroot with modules: > > > > make modules_install INSTALL_MOD_PATH=/srv/nfs/imx8-root > > so we need this patch shipped in the beginning of the merge window, > right? > if there is hard dependency between patches, it's better to send them > in one series, and get shipped via either tree. > > BTW, who is maintaining qoriq driver from NXP? If Anson is > maintaining > and developing this driver, it's better to update this in the driver > or > the MAINTAINER file, I will take the driver specific patches as long > as > we have ACK/Reviewed-By from the driver maintainer. And also, can you provide your feedback for this one? https://patchwork.kernel.org/patch/10974147/ thanks, rui > > thanks, > rui > > > > > -- > > Regards, > > Leonard