Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp833035imm; Tue, 3 Jul 2018 00:22:38 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcAqFdhMenzUa706xF6Ey/iTcQIuL0XQ7VqWxsGHEk4pvTcVMs6tMeIVQqBTMS5vdK1ben6 X-Received: by 2002:a17:902:2702:: with SMTP id c2-v6mr27613215plb.297.1530602558835; Tue, 03 Jul 2018 00:22:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530602558; cv=none; d=google.com; s=arc-20160816; b=tj9aZgfyY/Mjg/l1J09/WzrIsrm9sSCP4bWlADDQN+eYLtA4aS+HjIWpFdULb9hX+8 NClwo7Mzg9XzgXAhwzw/TQLNIhSoP/Tn0qTageQSQP/8IYV7GEOtRePb3dOOikXhyXTg eKx++ipDhBaaLTXiK8AA9w2iJ8DABEdQbWPvTd1FachVrtc6o+A7+rLIVoPnqYBwD7Um 6ZMorGhzhArWdFKo5TefsHE4z0nnzHbpBYZZQemYIxrg5zL/2f9zVmFexPtL+I3RTbtz MBYqshdh3nhaWQA4RsVJGDWWTuRhOr2FyIfQNRffRbdsLWXkKWiKZRpqrd2bfXqEfvyv hEmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=mAhAb6Gx5VvTr8G6mqKdwiVj+JSA81/HtN577BT8Riw=; b=Yan2iDJqbAtQYdnTriUeyPN1ufgocc7x6TTfSr7Enwpa8YcU5VMXjAwqqa9HmQOjrL iEnIlACaQdgndS12HAZnMEzxQX/+qIVJ80hoHeJVjA32pdxsfrC+b+7ceNYGkjrQeQBi oE8u7o1zuDkQdaSLaHzw3sxPyJdzFdfG1GIEXs2lcqaSwD06U4BiyuvF+w3U8r+PxXrS 8fbsoepsWtaanqKaqO2j7ivSP3ZxBjEyPINs4nE3tBUr84hQl02itKt7uYRkPbjaGR7+ 3osyJ8wuv/zY/FmckX/UZCGrVP+EQSM2QORqzlvfM2yQM0NnqlCQKNg6a09ojMzFq3el AQ3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CHI6fezu; 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 h3-v6si489513plt.258.2018.07.03.00.22.24; Tue, 03 Jul 2018 00:22:38 -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=CHI6fezu; 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 S933302AbeGCHV3 (ORCPT + 99 others); Tue, 3 Jul 2018 03:21:29 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:46747 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932802AbeGCHV0 (ORCPT ); Tue, 3 Jul 2018 03:21:26 -0400 Received: by mail-lj1-f193.google.com with SMTP id u6-v6so690896lju.13 for ; Tue, 03 Jul 2018 00:21:26 -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:in-reply-to:references; bh=mAhAb6Gx5VvTr8G6mqKdwiVj+JSA81/HtN577BT8Riw=; b=CHI6fezu+y/PCQXI+UoK/SChwcol8AbaQ7IUN17CiTW9K5vFM6c+RIVwP6PvViHu4M YeJbe5cTTbGl9rcMbHBeILScixsC8Bt3+cioVP5CQeP53Ko1Abvq2GRiVcwKHsCA9fEK Dz9R/68dcH8rLgd45Hub5EOxpTSF0RTjzZBZw= 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:in-reply-to :references; bh=mAhAb6Gx5VvTr8G6mqKdwiVj+JSA81/HtN577BT8Riw=; b=nRs7M5tXrII+T+WfYrfkTaD96JQbzdVGqNIbs+hUFxiQBwdnZGFzccx01vVy/VEmGk ddO78UoPLz4h0LwL3Tuv1bwqN4+RcB2v/hjZCaMBjPLwFCbqZlb4gGOi+qNoEk4VtAdK 3+LEp7zUs8uuwSNcN/JxnirwUaJbdG55pz3ZbXiyFBNLnKM26IF/3aot6a69ezu4gIZ5 auoUs2uHfNdSTyvqfRK58qMgOvcirVBrXdlS9Sb/bG2erxYuzMfTiZPZSVgfRAT7fZIH tEhhz+ksUSXo+b2msvLMmLhGo5WODWOy7kqffrp/8SN+IsB+s7ag2nCl5lRDUWmN5EHm PiOg== X-Gm-Message-State: APt69E2RGK7dNTBBT0N+1A4gCeECAbacZJohVujOiukW/cXqksMBSgtI p2wO78bsGmHMatzCE1TTnreKWw== X-Received: by 2002:a2e:9c82:: with SMTP id x2-v6mr11304663lji.131.1530602485572; Tue, 03 Jul 2018 00:21:25 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id n17-v6sm67580ljg.55.2018.07.03.00.21.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 03 Jul 2018 00:21:25 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 6/6] soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs Date: Tue, 3 Jul 2018 09:20:33 +0200 Message-Id: <20180703072034.20213-7-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180703072034.20213-1-niklas.cassel@linaro.org> References: <20180703072034.20213-1-niklas.cassel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit cab673583d96 ("soc: Unconditionally include qcom Makefile"), we unconditionally include the soc/qcom/Makefile. This opens up the possibility to compile test the code even when building for other architectures. Allow COMPILE_TEST for all qcom SoC Kconfigs, except for two Kconfigs that depend on QCOM_SCM, since that triggers lots of build errors in qcom_scm. Signed-off-by: Niklas Cassel --- drivers/soc/qcom/Kconfig | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index ac657164a136..fd09b95be0ba 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -33,7 +33,7 @@ config QCOM_GLINK_SSR config QCOM_GSBI tristate "QCOM General Serial Bus Interface" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST select MFD_SYSCON help Say y here to enable GSBI support. The GSBI provides control @@ -42,7 +42,7 @@ config QCOM_GSBI config QCOM_LLCC tristate "Qualcomm Technologies, Inc. LLCC driver" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST help Qualcomm Technologies, Inc. platform specific Last Level Cache Controller(LLCC) driver. This provides interfaces @@ -73,7 +73,8 @@ config QCOM_PM config QCOM_QMI_HELPERS tristate - depends on ARCH_QCOM && NET + depends on ARCH_QCOM || COMPILE_TEST + depends on NET help Helper library for handling QMI encoded messages. QMI encoded messages are used in communication between the majority of QRTR @@ -104,7 +105,7 @@ config QCOM_RPMH config QCOM_SMEM tristate "Qualcomm Shared Memory Manager (SMEM)" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on HWSPINLOCK help Say y here to enable support for the Qualcomm Shared Memory Manager. @@ -113,7 +114,7 @@ config QCOM_SMEM config QCOM_SMD_RPM tristate "Qualcomm Resource Power Manager (RPM) over SMD" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on RPMSG help If you say yes to this option, support will be included for the @@ -150,7 +151,7 @@ config QCOM_SMSM config QCOM_WCNSS_CTRL tristate "Qualcomm WCNSS control driver" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on RPMSG help Client driver for the WCNSS_CTRL SMD channel, used to download nv @@ -158,7 +159,7 @@ config QCOM_WCNSS_CTRL config QCOM_APR tristate "Qualcomm APR Bus (Asynchronous Packet Router)" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on RPMSG help Enable APR IPC protocol support between -- 2.17.1