Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp567685ybl; Wed, 28 Aug 2019 02:03:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzaCbrxuWbZ9Nmy7Rn2IGsXP9GWYuI7j0LSvipNEkSr/n+iWL9HK2B9/+V+sJncvn62kgja X-Received: by 2002:a63:9e43:: with SMTP id r3mr2589882pgo.148.1566983037406; Wed, 28 Aug 2019 02:03:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566983037; cv=none; d=google.com; s=arc-20160816; b=SE4ATzhLNfPAFzhosnbtiGZ7DHBg1i390hlXbk2Ej1w+qMKhmG8WHwiIae7vieRfPC wa4Dp/ClKCkS2321IrV/kDyRgu639Z32hPltGXSkisja3vS+Z3X47KJkS7f9mlaT0qXV lGkLADSx1BqRXx/NXdsDAtEw/i4qmQiVFeYMixMbBXKP4s0LHegMoWKSgssByxXcpEqc UY7NNblBmAk+WfasZg7nrgFj88NQl6wvwa2UZOHiyRZilss54zFYSTdLwIs5SB0wulPV 7qJNVVSDsg385X5IBU7oVZHiZ96GTyUBJ92HMxDgQftfFqU+IKBf0Nka9OfwrNcQG217 JS4g== 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=cWVbKUMwoinSnGU+DcMUFb0TtENujfu3mOBSfwePhvE=; b=QDx8/9DYJzrAPVz4WJwRT5X+6CAsHuu2Ir65tHztLEOhvyHgKnlLYNn9wMnbMV2Fy5 ZSNiq//oyQfsQtfJ6e4rB04L9fHVlu8xNOn24uAxBS95+Gd0PZM1d0dGK4oo8a2lKg7d mirILhlsCuBfY05L6B/tdPP0CsnSEpGk+HxTW270r55q+0r+DsgmadL1RunRWrw+mDIZ m18pC44I3fV/uMnVKln9AbGx14f1JaKqFpe/JnBlFZh+Nmuyxc+R64LDaLjsCjnaWvMo wOmxfDaljsFHBdw7zMqhzf0BRG7PCxwyPCjfVYR6amp7uvEDyt6toZfphiSXJsLJ9a7+ BwLA== 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 g12si1705361pgu.319.2019.08.28.02.03.39; Wed, 28 Aug 2019 02:03:57 -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 S1726583AbfH1JBQ (ORCPT + 99 others); Wed, 28 Aug 2019 05:01:16 -0400 Received: from mga18.intel.com ([134.134.136.126]:3046 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726232AbfH1JBO (ORCPT ); Wed, 28 Aug 2019 05:01:14 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Aug 2019 02:01:13 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,440,1559545200"; d="scan'208";a="180494977" Received: from deyangko-mobl.ccr.corp.intel.com ([10.249.168.35]) by fmsmga008.fm.intel.com with ESMTP; 28 Aug 2019 02:01:09 -0700 Message-ID: <48e367965797001409b66f1f65d7bc4df2e927a5.camel@intel.com> Subject: Re: [PATCH V3 1/5] thermal: qoriq: Add clock operations From: Zhang Rui To: Anson Huang , Leonard Crestez , 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 17:01:17 +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 08:49 +0000, Anson Huang wrote: > Hi, Rui > > > 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. > > I am NOT sure who is the qoriq driver from NXP, some of our i.MX SoCs > use > qoriq thermal IP, so I have to add support for them. The first > maintainer for > this driver is hongtao.jia@nxp.com, but I can NOT find it from NXP's > mail system, > NOT sure if he is still in NXP. The MAINTAINER file does NOT have > info for this > Driver's maintainer, so how to update it? Just change the name in > driver? Or leave > it as what it is? > > MODULE_AUTHOR("Jia Hongtao "); > MODULE_DESCRIPTION("QorIQ Thermal Monitoring Unit driver"); > MODULE_LICENSE("GPL v2"); > I see several people are actively working on this driver from NXP. If you're okay, I'd like to get your comments on all the patches for this driver before I take them, and I can update the MAINTAINER file later so that you're CCed for all the qoriq thermal driver changes. > > > > And also, can you provide your feedback for this one? > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatch > > work.kernel.org%2Fpatch%2F10974147%2F&data=02%7C01%7Canson.h > > uang%40nxp.com%7C887e7c90f7c943ff0d9b08d72b92aea1%7C686ea1d3bc2 > > b4c6fa92cd99c5c301635%7C0%7C0%7C637025781325203384&sdata=Xg > > tX6mPdA50Nbb%2FmnS2om2bJNepTd1th6HmfwGuU9Hw%3D&reserve > > d=0 > > I can take a look at it later. > thanks! -rui > Thanks, > Anson