Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2581487ybe; Thu, 12 Sep 2019 11:36:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDM3ZOeHrb6vOemcRGpkhVCofyrAIXoRq1S6+4U1mWRZKzab2NlsI2KqXEACHVtYvLkBa/ X-Received: by 2002:aa7:c347:: with SMTP id j7mr40143427edr.173.1568313401255; Thu, 12 Sep 2019 11:36:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568313401; cv=none; d=google.com; s=arc-20160816; b=HPHz6AZZ+L3krgDCzTpqiVZCrqyJW0wGzhwDDku3TD38kJNni1wIJVVqLeckoilO+R NEER02JHpa/7bgaVSfADCpWj2JflNCCKKtR+2Hap0XFO7nYXUWn3mQjBie57ws8hjyEc 1Uxg48z5+Go0xx0v+ShnnoGIEiGR5BNAH14INKP6fpH6IUVdWn4iU3IyiDY/ebkijsG6 PapZ5nTD4X6/OJ0kMTEEFZJ1h7RiKruC52VzcWH8MiA+lNDaWZ65hQcRMUwLKwL5saqM HiXRkQ7Os6IPx6EHGstxDDs5nu4PRrNrIps4uAS+1+73sI1T6efUxR2AK8v0JxxqlX16 Ny+g== 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=msUdi5YBel2OVDrDo1+uyLwwUusTvM/xvzLZubYz7OA=; b=RzjVJE9SGQdol6WD/BG854nGfjOdBUe2Gz3z+1csolU3ehPkfgMYQDTOUVP0fZh/Y4 PX7JDKvIRoofclnuVAmKQf3Lmjkpet4j/OOl8236vBzxvkyC9medLdS80swgO0KQbFTH YYugVJi5/yUIAPaX/XjFSCSRVYpdrOqX7e7/RbopcVloycJlEpWRSgENqkQ5GLquIlrn qxdQvMWAU67369+91vqgs3qHmANOJBr99M9v4MWOMbizV8VxDMp9Atw31dWyT2JAgSeu 6KtSa3Lr+OxvrMUbZzei1gyOdwjf/AvVhOtOBm088NNQSNKcibMO6QUB7CgpLrtwA/Na yMww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GBJCBWPg; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f33si16289986edb.281.2019.09.12.11.36.16; Thu, 12 Sep 2019 11: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; dkim=pass header.i=@linaro.org header.s=google header.b=GBJCBWPg; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733227AbfILQdm (ORCPT + 99 others); Thu, 12 Sep 2019 12:33:42 -0400 Received: from mail-ed1-f66.google.com ([209.85.208.66]:43101 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730723AbfILQdm (ORCPT ); Thu, 12 Sep 2019 12:33:42 -0400 Received: by mail-ed1-f66.google.com with SMTP id c19so24475048edy.10 for ; Thu, 12 Sep 2019 09:33:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=msUdi5YBel2OVDrDo1+uyLwwUusTvM/xvzLZubYz7OA=; b=GBJCBWPgl2dc8+HNuQf1RTfy6jPLqbTh7mDxwpHH1oyPHvV3zzKhsqGVQ3FrC+IVIg 3i5IOdDOe/aB8PktDA3fGkFDAavYUp5fM99tchMLrXKSpBs9HTJgC37+nGripDuJoXqi IJnQ2CIiUJPqgf4kIqQq2OlnURdj0mHSz5wYNccZ0O2kOy2oBC5kEheb90BvkailMY0j AuV63Y41t4Mwh4bnFZLN9Iot9xz0UGLhyb9sDwWsuCOjZdjEmABHXwLfm2Lsl5gicOYP ToveXkW0adFoiSyrL3Tmv4jJvj1lKiiTS0txnouBBy3qchwB+2zEnvsAucyePTpRagZS MgKA== 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=msUdi5YBel2OVDrDo1+uyLwwUusTvM/xvzLZubYz7OA=; b=XdcTkSxzPiBZVXu4jPeoBj+IS2BZZMCRXlMR7JSkyt6i2QWaP2e9wIJ8ms4Xqv+AvN h/Qs6ra6UePIccMG5ZffRy7obyo4tx3j1TFrVaColhSEkF3q4cP0mEv4bYj5qzgfjoPf z4SRR3BKPXHDw22vcej2jVLUqWMAvxTfGx/JDkBFD+NSstzavnrhmX5Blk82I58oqxB8 fxkseSSsKgERTwbpfhuVIh75MWsO4j9VY3jQG43hnCKpFcl7I9mCeMHPWrMDSQbRF3Yp Gk30o2C5Fxs2MsgQSjhQsk/5TnkO21fdLfIdwg8hXl22Jg9b07P5dUq3VaMoiTnUaaEL teaw== X-Gm-Message-State: APjAAAUFRDGZtYhyfWV7UhZd8x8+sXiuehNa1wNEnSdLEZlfsiRJgws2 x4TDBRoJpXk+dcoF9uIox+LpTY4/opmEwwqbHeLDVt9J X-Received: by 2002:a17:907:20f1:: with SMTP id rh17mr4026893ejb.71.1568306018629; Thu, 12 Sep 2019 09:33:38 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bjorn Andersson Date: Thu, 12 Sep 2019 09:33:27 -0700 Message-ID: Subject: Re: [PATCH] interconnect: Disallow interconnect core to be built as a module To: Viresh Kumar Cc: Georgi Djakov , Vincent Guittot , Linux PM list , lkml 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 On Thu, Aug 29, 2019 at 1:07 AM Viresh Kumar wrote: > > Building individual drivers as modules is fine but allowing a core > framework to be built as a module makes it really complex and should be > avoided. > > Whatever uses the interconnect core APIs must also be built as a module > if interconnect core is built as module, else we will see compilation > failures. > > If another core framework (like cpufreq, clk, etc), that can't be built > as module, needs to use interconnect APIs then we will start seeing > compilation failures with allmodconfig configurations as the symbols > (like of_icc_get()) used in other frameworks will not be available in > the built-in image. > > Disallow the interconnect core to be built as a module to avoid all > these issues. > Reviewed-by: Bjorn Andersson > Signed-off-by: Viresh Kumar > --- > drivers/interconnect/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/interconnect/Kconfig b/drivers/interconnect/Kconfig > index bfa4ca3ab7a9..b6ea8f0a6122 100644 > --- a/drivers/interconnect/Kconfig > +++ b/drivers/interconnect/Kconfig > @@ -1,6 +1,6 @@ > # SPDX-License-Identifier: GPL-2.0-only > menuconfig INTERCONNECT > - tristate "On-Chip Interconnect management support" > + bool "On-Chip Interconnect management support" > help > Support for management of the on-chip interconnects. > > -- > 2.21.0.rc0.269.g1a574e7a288b >