Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2957286ybf; Mon, 2 Mar 2020 19:37:53 -0800 (PST) X-Google-Smtp-Source: ADFU+vsgT9XjMCI8gpGzbwX7DawsbbrMon5gU5pT9jqVQvXwGT89vnjpj4DfqStoIORt2IfMgQho X-Received: by 2002:aca:fd4f:: with SMTP id b76mr1170371oii.140.1583206673642; Mon, 02 Mar 2020 19:37:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583206673; cv=none; d=google.com; s=arc-20160816; b=Rh6L0n4or645KHSkdvon90kcRcWZq/yfk0r68UenFToRZ0/2c0EVG0EFPJhCEcGsW5 YPURrzsAQD76gWcQdZgQhf54wRlB3GC1XLpOmxDvT/l/hIEEILv/K+bTGlzKMRb6L/4W PL0/7rVHh10hNzDujBatg5r4UtAIgipRncQYmcM4cJ3fJLV7FqDHyjTQf9Ja5ONYmY7p WO6ldA1eXMHC25Y4eNGILJ1NvirxPB2NE7y3KiBe2rGoypL5phBUJIPxrYBpGS0waE0S /R4e62SqlzhapdkAE2dueAppsdUOq/iUTr+jCNYWPYCD5zaOWHuX2Mbn15AcPjmqdVSZ 5JBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=uVGL9uuaMMa4hT/jcT+fIzNaxEyNYY7bDVeatQkcXwY=; b=ppI4fJ9Cs4T16N5O8vmusICbligemNjAQp7JnFrV5ctJpWG+ALGkFd16jhckJ9iF/L pgcqa1Ackq4ma1O9qpk9Z8JOz+hE5+lOb58ymzpcXUjqyW8p6kwnxgQBVAywaeJO3ZbL oJSAfibDh0/6O0o41WenTKngGgGU+u76zJT+IzjMCdw3sf0kv8/jBp0Xtzvl0IVZ7EUp mc9M6KAT2nhwW980SfUrHy1JSZWD7kNKhQs6er/1WU48JYYEGGaedBGqDkm/pwWSkH+s qhBIu5CupmIHnGHw9+b1DE+gP3x1VkklYVL5yPLzFFKIlzSdaHYZL8Ua+ZTsjukooqS4 UhQQ== 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 t3si7447579oth.247.2020.03.02.19.37.42; Mon, 02 Mar 2020 19:37:53 -0800 (PST) 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 S1727067AbgCCDh3 (ORCPT + 99 others); Mon, 2 Mar 2020 22:37:29 -0500 Received: from mga04.intel.com ([192.55.52.120]:27777 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726947AbgCCDh2 (ORCPT ); Mon, 2 Mar 2020 22:37:28 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2020 19:37:28 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,509,1574150400"; d="scan'208";a="258229584" Received: from linux.intel.com ([10.54.29.200]) by orsmga002.jf.intel.com with ESMTP; 02 Mar 2020 19:37:27 -0800 Received: from [10.226.38.56] (unknown [10.226.38.56]) by linux.intel.com (Postfix) with ESMTP id D289B580274; Mon, 2 Mar 2020 19:37:24 -0800 (PST) Subject: Re: [PATCH v5 2/2] clk: intel: Add CGU clock driver for a new SoC To: Andy Shevchenko Cc: Randy Dunlap , mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, mark.rutland@arm.com, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, qi-ming.wu@intel.com, yixin.zhu@linux.intel.com, cheol.yong.kim@intel.com, rtanwar References: <6148b5b25d4a6833f0a72801d569ed97ac6ca55b.1582096982.git.rahul.tanwar@linux.intel.com> <4fb7a643-cbe1-da82-2629-2dbd0c0d143b@linux.intel.com> <20200227100239.GD1224808@smile.fi.intel.com> From: "Tanwar, Rahul" Message-ID: <12c16eb0-04aa-79cf-fa76-3f45b8972319@linux.intel.com> Date: Tue, 3 Mar 2020 11:37:23 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <20200227100239.GD1224808@smile.fi.intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27/2/2020 6:02 PM, Andy Shevchenko wrote: > On Thu, Feb 27, 2020 at 03:19:26PM +0800, Tanwar, Rahul wrote: >> On 19/2/2020 3:59 PM, Randy Dunlap wrote: >>> On 2/18/20 11:40 PM, Rahul Tanwar wrote: >>> >>>> +config CLK_LGM_CGU >>>> + depends on (OF && HAS_IOMEM) || COMPILE_TEST >>> This "depends on" looks problematic to me. I guess we shall see when >>> all the build bots get to it. >> At the moment, i am not able to figure out possible problems in this.. > COMPILE_TEST should be accompanied by non-generic dependency. > There is none. > > So, I quite agree with Randy. I see COMPILE_TEST is mostly ORed with ARCH_xx. How about below? depends on OF && HAS_IOMEM && (CONFIG_X86 || COMPILE_TEST) >>>> + select OF_EARLY_FLATTREE >>> If OF is not set and HAS_IOMEM is not set, but COMPILE_TEST is set, >>> I expect that this should not be attempting to select OF_EARLY_FLATTREE. >>> >>> Have you tried such a config combination? >> Agree, that would be a problem. I will change it to >> >> select OF_EARLY_FLATTREE if OF > Nope, I think this is wrong work around. > See above. With above proposed change, i can simply switch to select OF_EARLY_FLATTREE since all dependencies are already in place.. Thanks. Regards, Rahul