Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1953159ybl; Thu, 29 Aug 2019 01:08:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqzMzF7MZKEgfrVQBBvynACob4WsRYNb35sWnMa/jrHoCMcDD+UMSurjujlIqRyKTsKqmLye X-Received: by 2002:a63:1f03:: with SMTP id f3mr7014093pgf.249.1567066124840; Thu, 29 Aug 2019 01:08:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567066124; cv=none; d=google.com; s=arc-20160816; b=htRXrtlXOh9iZ/ngZUInSFW7VpTHMkKuXeiiMf3AkiDIW2dVrWk1dUR0GO5FWDlDBd Lp1XuX5JbgJo9sr4L80A3IjNry/E4XASgoIBTyDubVnJ9xefYFhBeiTw/W1bre0sVqbB pgu7Xnn+qC7CHLoh8h0ofKT/wRQyIirxeMVkFuEGMJ3Q+UKcGf66lsWgxJKCL/l5AYxP jUsQq9PebrDmq6101RsA+23v9ws6pfwI3gw4U8uPtNZO2RUhlGUCsSk3WowHhKVG2HfT hqc+XzCUR4Rp72ZDbcqTAxRvLCVLLtQcFxwd6OzJfJF4jJXVU1TbzVL44sXMYH4p///F 4shw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=nq8To/7J1PSl3z5Lxbp7yzGH/kF9sw7bMQzb25E4PoY=; b=a0cPRgXD9E7vgA6Q3idSMo6+VNZYase9QKjn6/zXX8/s4ecnG70ghinaelpO/kG8Ak ciVBZvBoxxsuGx1H496EP5Qmy0+H0wcbWuQySmM0v57f27gtwAe+Rcr1ll0BVphz7ezU i8wNAnFAp8284Kgv0aHrDZWEutnUrE2yfZbqsDombRxYPD+uphPLJ2ucHJC9nI+c/0Nx 3+YgpCqy0VTNtYm3BjRooaKQUw/taw8zq/k30rCfVR7zgFppe0uDEpJ3iZyCYwsB4neD bEfpHIOnPoMkaxgesalU07qYmPd/jN9W/E1zfSAuBlSD2pFHqr8GmbkDXOpRwxT4ri+b HzNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Iy0ht6TD; 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 u20si1148161pgg.565.2019.08.29.01.08.28; Thu, 29 Aug 2019 01:08:44 -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=Iy0ht6TD; 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 S1726384AbfH2IHf (ORCPT + 99 others); Thu, 29 Aug 2019 04:07:35 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:33937 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726070AbfH2IHf (ORCPT ); Thu, 29 Aug 2019 04:07:35 -0400 Received: by mail-pl1-f195.google.com with SMTP id d3so1224816plr.1 for ; Thu, 29 Aug 2019 01:07:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nq8To/7J1PSl3z5Lxbp7yzGH/kF9sw7bMQzb25E4PoY=; b=Iy0ht6TDTmGshmaHrPiBh24TX0AOyLc+aZTieNTwrNKdltnBow1I+wT9how0xATzcy T8TdaugNXk89y2QVrWB796cybqqB4Dikq5iXUtErxvtwGNX7tSit17FeRbUsp3NRs+XB kLuHjobpjXTEZUFzCJRlDt5rNF6mo6brysZcwCcfPefgcXv73TJZVhykZXQHH6LMB4ZJ zKwzC5lHD5weE9RZ8BP5IclarFlphjIqZ1UiVrzies2f0YDEk7uWIFKe2s/27GDnQ8pS LnzbkLLv1Zr4UFJThGWzARqALmWXqEkX6oWv+rdR4zpDv7gRNVjTy1tJrvjcoPRsDNCX uGGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nq8To/7J1PSl3z5Lxbp7yzGH/kF9sw7bMQzb25E4PoY=; b=cF0CJ6pCvhqHAT9miSI9n6TqG1E+Dy5C9z8XcRjEAu2BVKR2zhvl6uP4i1+ikgPATf VeOIP/uGBZM6XR4nm62nT838D9c1sibXU9cMprasE1jPhhDH2vm7N7afFITV0sR26N2Y zzjSy0vo+UC16gzPoSYXu4ZyrgDbi6wfktxMS7slIpfa4U7BA2fbeMyZXmHGMEND9Z4/ /V1Wo25Sqqb3YHkvz/qFsEf5QuFZaEAFfx2E2Nulect467kar0u10IORm8nANr0vzdVA lGvPWZFuA4NDjpGQ7VWde50VntJPo22zIzrnRZy3jAvlJ1ANW9ku+CtUWluPiltLmJjF Aeng== X-Gm-Message-State: APjAAAW9ISJxkRmArcU2H7bmDaiSrOGU2zUbC0JBedECIJKjexEWae89 E/MLMFYI7W8Fhe6nttNxVr+Q7A== X-Received: by 2002:a17:902:8f85:: with SMTP id z5mr8752168plo.328.1567066054551; Thu, 29 Aug 2019 01:07:34 -0700 (PDT) Received: from localhost ([122.167.132.221]) by smtp.gmail.com with ESMTPSA id p2sm2637128pfb.122.2019.08.29.01.07.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Aug 2019 01:07:33 -0700 (PDT) From: Viresh Kumar To: Georgi Djakov Cc: Viresh Kumar , Vincent Guittot , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] interconnect: Disallow interconnect core to be built as a module Date: Thu, 29 Aug 2019 13:37:29 +0530 Message-Id: X-Mailer: git-send-email 2.21.0.rc0.269.g1a574e7a288b MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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