From patchwork Wed Aug 29 07:57:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 145403 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp380290ljw; Wed, 29 Aug 2018 00:58:27 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYPFDOaRyOGOS7jGsesoVdTTuP/yQ6LszYBtDMdVODu7Z6d+SVYgy5cGU8Vi6oN+rb3abgK X-Received: by 2002:a63:5a13:: with SMTP id o19-v6mr4611058pgb.75.1535529506926; Wed, 29 Aug 2018 00:58:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535529506; cv=none; d=google.com; s=arc-20160816; b=uO0I9Xa14q+OdEpGtg93aTwgj5SahZi+GmVwZrohRq1U5v0x/Kr0hxFJbVziGppF8z qWxrTZ+lY96rdO/ayV2At2Fw+jFGhMOG+gX7DfpbkplHri73y3N9rf9KYIGJdqYsyXMy 08/StfHj8g56eX91qVrgejM9zO9tPrFYa5ETq1lGe0VIf61PtToY7cdIJ8U21owYm+Ka 9O71SsSFB3T/xB3GxKr/xJxUISyjUp2KdKOUFY15i5ihlCF+rgm/CZkIzCBmvSnoPJLB jV2nCVFMydSbei2XlD4fpsdE8fKqq5vt/5KT8wk+g3qLfgSvUiK3Su/eVuwcgzV+J/Kn ROLQ== 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=RPmzBAaCwGcvI/sAuYQ1Clo4rSi6tAkAe6FRcMV4N8Q=; b=Zb3rMTCDiGO/mgh+tAluIL21o0E1P48kwipUYdVqcQXo8fs/iyRZUZ3Kn7PO4K7j+Y my5OS/jtPmtCnGnctCRpdn77UNE6opixBQI+kGIC28aUJH0UfTL6CMbmNQKHdkgHpMGb 3LbyrZzYpJGSmaX+fKByN+j/zHn0bDpO1Ez10joRIC7p8vod6ID0gzqlpmWNfNWvhehO 56WZt61hZqutCPaQlZdteqjrjy3PU3tpBR5STMgG5lUFkJWXs3IvBXk9PZ4pSAdQbsPo BedqpnVpEhLVTp7SMfZJnwhvCzvRF56YlwBkALCznIIOw/clyGfInj7B+HFN7caHr5R3 BjRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="HW5/fEmg"; 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 d36-v6si3094727pla.446.2018.08.29.00.58.26; Wed, 29 Aug 2018 00:58:26 -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="HW5/fEmg"; 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 S1728096AbeH2LyB (ORCPT + 32 others); Wed, 29 Aug 2018 07:54:01 -0400 Received: from mail-lf1-f44.google.com ([209.85.167.44]:41552 "EHLO mail-lf1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727658AbeH2LyA (ORCPT ); Wed, 29 Aug 2018 07:54:00 -0400 Received: by mail-lf1-f44.google.com with SMTP id l26-v6so3506213lfc.8 for ; Wed, 29 Aug 2018 00:58:22 -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=RPmzBAaCwGcvI/sAuYQ1Clo4rSi6tAkAe6FRcMV4N8Q=; b=HW5/fEmgKIUafjeUg4zbJPEGYLu/s0WsK6ytwflfgvJ9MHT7krbYvZXp1jujKnYoGf 7CKQ21h+087UWapk0Wg2LFKg4us//HMcr0pPT1KBMoueiYdGndgsCQKOg2tlWWv4MyII Q6w5V44OtoZ7MTO5MUDKg/S2UmrcSQ0P/G5i4= 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=RPmzBAaCwGcvI/sAuYQ1Clo4rSi6tAkAe6FRcMV4N8Q=; b=I0AMIMZbOgTcjaQC8dH5FsOekGLInSl8sNE07hiclxwDWuCp58EmAUrw5z2THiOKTd tqgZ0NlqU2BSYEuu/POoi3xi/yNqGD3ttTujj31GW2GtuqRdzC5yZJt4PcvHRvHBCGiV aMUPCiyFAJ1ATPvWHJP8X+1xOMnvhueoOdF2xXlpaI/rQLJscObAsZQ0rav3h3THGKd2 I2LhY0DOu0m5l+44T0ay/1Jm21s6g1A9OHe65NhrJVhXlhBZaB/UNGLd/vms+pa+w/KY sY4o9AE+TFl3aXnJnTBW0jSSalU3xfMMwqZTA9N1EuErR2eTeCaeG6vfXthcQ5WnyRco 6ZFw== X-Gm-Message-State: APzg51DmSIeo99hzDsZTmZWczi5aO6BnDzw1AVtJNfF5c6ZnW4TDhZEl /WoajScm8AVEouYkFaaG02BE/eOOwe8= X-Received: by 2002:a19:290c:: with SMTP id p12-v6mr3374579lfp.124.1535529501784; Wed, 29 Aug 2018 00:58:21 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id y16-v6sm596945lje.30.2018.08.29.00.58.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 00:58:21 -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 v6 9/9] soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs Date: Wed, 29 Aug 2018 09:57:23 +0200 Message-Id: <20180829075724.9095-10-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180829075724.9095-1-niklas.cassel@linaro.org> References: <20180829075724.9095-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(-) -- 2.17.1 diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index cf4ece232897..684cb51694d1 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