Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp5799812imm; Mon, 27 Aug 2018 04:39:14 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYUv8DFzD5YCJLWXfoqbubwYpfXiyI1x7dXXfluZSEyM+rlAIMexXEy+y9pKXFtK1XjTTAk X-Received: by 2002:a17:902:6501:: with SMTP id b1-v6mr12914346plk.31.1535369954142; Mon, 27 Aug 2018 04:39:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535369954; cv=none; d=google.com; s=arc-20160816; b=A+n8IeosUaqrdY18Vj7rWtXqjvDvwPVTVz9IGtCyN7qvxvK5pEayhLMtn4fu8wud+C O36ZbjWIonHCTszVlWXKRQFQEhqkauKnbOHXRd+V8wIMQiczS1Ao9qYj39syIwF9ngHe wyNaKIImzDy/U9kFdRh7wbKEPxZ7DGw+jKGY3gJfxupm2ESBR5AsuxWFKMiiJ64+2M8B /lxm7DfVeE75HkhIwvsOkqZb7OF7apy7MHtu8Aovnf7fh6f2+3WwkO4uTyQe/ZrYWtPa 79KqWpLzDG+ObouqvP4OpvsVK5J5qA+xZuLmwN2z8hPkzCM3+kNOuRQBdvsgl47Qfp5l kZ3A== 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=NtiMjRzmWzHX4uiypyPK/pndRvCDAWXrFCNoaRIqQmY=; b=CgU/bRAIjqDJ34qCWcxYfMmeuPzkso8JKLLNhO8M7bilTVIAyj8b0BPH+LYxgN+xRl ExSte8RaiQJAd/Eme5EqDXaNHn3o0nZYY8AOqbLDNiBclnp+TQUeFasOEa6h/BP0shnj EUb5XuH6W8MxhlmTFG0Vr2wyTKT6c35l/GYnUBjwcs77IFi/n2XNzvLT63bcOHp1Lv7L CijUYcOdXPPm7V3DCbdxk2QttexKMM0veLHFeUNdpNKgU126UldEywhkqSMpyJuz0ptZ s6UmmB7quH32ojRtPd3NXgTXdzFI499RFxWYfZdVzRQwJaFThdE/PJqXZRdxOXyvIP84 QNLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cr+cDwc1; 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 u64-v6si14319136pgu.533.2018.08.27.04.38.59; Mon, 27 Aug 2018 04:39:14 -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=Cr+cDwc1; 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 S1727524AbeH0PXY (ORCPT + 99 others); Mon, 27 Aug 2018 11:23:24 -0400 Received: from mail-lj1-f181.google.com ([209.85.208.181]:40108 "EHLO mail-lj1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726953AbeH0PXX (ORCPT ); Mon, 27 Aug 2018 11:23:23 -0400 Received: by mail-lj1-f181.google.com with SMTP id j19-v6so12056624ljc.7 for ; Mon, 27 Aug 2018 04:37:05 -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=NtiMjRzmWzHX4uiypyPK/pndRvCDAWXrFCNoaRIqQmY=; b=Cr+cDwc11T1tliNfeRdHr9TicTVGlDmvlWSLki2DA6tI0LpTzCi2vNMUHvd07rs2u8 fPLCcQWkUnH8uBpEADVjrV78txbJQiHWL3JQwB2n6QumHNUJ6vlMgVMp+1wUlvb3vfmQ cA4P3sbeXbGdT2FTx6QdKT1gC/oGOBCFoR2Uk= 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=NtiMjRzmWzHX4uiypyPK/pndRvCDAWXrFCNoaRIqQmY=; b=VO2q8BDOfqlQUCkVxaFA6hQYC8c1wdAq8WBA3hzAHCyU4n5c1/2+UGlw/1aeVvkK47 33RXJKbVpGhIVSXcY959RuPRcgDvw5asbtBPxJFo0S2dOFaR7diZzX+zGetkY5xRH96u L8831mZeGe0FxMHWrHmZWtoSg0m5fxTO+NB868srHjw+NBmzgcgmyuSv/GwHeJMS7jIH H3Y5pzi6SfvWEUYu0z0IMaCUzhcV+ogFzM4U8WTyj63XOxLfr0zbrYP06FhiRJZtJK/p VBQnmqkIp1XspBWeFUcDcE+IRN/OqEESgQ3Sk2J5GrNp6P4Fn21OU+frY0TjCl+dAyGp hy4Q== X-Gm-Message-State: APzg51DFiLO8rKgsRO6pxkyTxvphKxg9GrNu/eV1G0SCjsbm9ToPfA8S T83zjFwSoCcShPxOdx1wjlAEoA== X-Received: by 2002:a2e:8957:: with SMTP id b23-v6mr8897187ljk.50.1535369824487; Mon, 27 Aug 2018 04:37:04 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id u28-v6sm2241961ljd.61.2018.08.27.04.37.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:37:04 -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 v5 6/6] soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs Date: Mon, 27 Aug 2018 13:36:04 +0200 Message-Id: <20180827113605.9594-7-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827113605.9594-1-niklas.cassel@linaro.org> References: <20180827113605.9594-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 Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- 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