From patchwork Mon Jul 23 08:21:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 142555 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp5779230ljj; Mon, 23 Jul 2018 01:21:17 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcTocIFlD4IrqdFVuK38bPs/wE/acWuEqv3EctpG1FEosxXFCUNZt83sgHtjTJWCWpZJgQP X-Received: by 2002:a62:ca0d:: with SMTP id n13-v6mr12122611pfg.69.1532334077610; Mon, 23 Jul 2018 01:21:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532334077; cv=none; d=google.com; s=arc-20160816; b=vjFGymAngMiPsbS+HI7KuW18LPfTS4UW0E5+NYBoFIIMvSlGY+WvOuFqfrLVn8ZPOg OV25evHE9LyLTjbRkJ5PIPDBnY/aYQRr8mDNNrkbJ8O2810/Qab4oi2yUADBFmX5DZRZ a13NaT6XTA2unYqfmAA0jQ+3JO/f+3dr+sh2gOcbPNwNe5dEf96HXV1SpxkwfYy57Nj7 09RuI9Y/CvdlYWMl9XPqApnmJVNdoNWKeisBf3nnht66j1h0jhoVe60a6EZD5z4mOFen 67VLyENMSy1x7/VxaPwYEIEYHxGKJNlyX0jru3NkgCWJYo1NxZ0Kq35/P6qb2d6jDXjw 99SQ== 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=Yf3zkFOK1J4ECAO5WW0Fb13wpcsCE7+v3M4XMBeb6zY=; b=l/MRu1nkNLDRBL7C6b+qdv3fhfO3UBuEL7P+74QrGEXOt3Qk4VsCj8G92kdYDL7Iio XdkZImY/wAhnRjqasIMXXi+znSFZLuF5dhdYr6yod3TDodboy1uHdd+Bdj9IdtCnniqa 78ZIMePAbluBLYEdAf0Dx9BcyffemLs0Qk03nW5Hu/EmV6EDKIORCTNVb99Sj9F+pZIR vUgUfqrGa0j7IYlde9oPygf3SPvIoU35XcFBQfzO/DOM5MOruTxv2cO4dYHkidjRvoYC jnCX96NE5v+1ebLhE8OxEIpEoHnxKJLICsfYdGXqIru//oQn73BdQXqDfNK7NwAaI1qM 6N5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Bj9g3LMT; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (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 u1-v6si8141388plj.43.2018.07.23.01.21.17; Mon, 23 Jul 2018 01:21:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Bj9g3LMT; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387913AbeGWJVS (ORCPT + 13 others); Mon, 23 Jul 2018 05:21:18 -0400 Received: from mail-lj1-f173.google.com ([209.85.208.173]:44430 "EHLO mail-lj1-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387908AbeGWJVR (ORCPT ); Mon, 23 Jul 2018 05:21:17 -0400 Received: by mail-lj1-f173.google.com with SMTP id q127-v6so16091144ljq.11 for ; Mon, 23 Jul 2018 01:21:15 -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=Zn6AGVTF8FvDYiiV0DBK5fZcXVpEs6QoBygpvkQPuTs=; b=Bj9g3LMTVtYwJaWx+u4JPrGW3eIHMUt7qiD6KQLf7yafqcl14GJ4lxULZT6yMO92Qu 1uCmBl9XhIiSs8cHHVolfyAvGXP/4VbHfiXtYh+X8zqFE2Rcpg7ALcg0m72IR1hW4mKh C4jEJIqFhwslUA6gmb3Xjn14wHaCqX7Cg+q0o= 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=Zn6AGVTF8FvDYiiV0DBK5fZcXVpEs6QoBygpvkQPuTs=; b=iWA+hAj92t1qWReqKjdGTxaaa5StICl4MphP2mMSKYMxP8rzyi8Yptj2MLiAObtM1G ato7QcZfK2Ytz6NojLyLoOg8Vj0mGsdqvfipzEyN0zQ8YrrH+7Bazv/55ttrEXrrB8mv kOOGt8W46R/GEAzUd93LlgDusO3YuDPFS/vCvH/PKuKSItNSt95cMR31Hb4DcBzplZYg NKNIlARqMDTjBy9gfXj8+sS5LQhvUPGWTVEaSkXxZWeipeT3Z4eMBGbTGeM1/5mS89kK C4uZjLXIP0qteF5AmJhyhSnZfsvhom5vpMdUXeKoaHN5GR+QLOHCN4QQI9ATJzp4NT62 m6Ow== X-Gm-Message-State: AOUpUlHaeKjkbtlUVptuEHBnL/KfEZfj5d7/lYENcJxmZgEpC7irKA1B DQha5q8oEoZNetxn5dK59wwDJKgG5V0= X-Received: by 2002:a2e:2096:: with SMTP id g22-v6mr7945540lji.37.1532334074822; Mon, 23 Jul 2018 01:21:14 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id a14-v6sm1711120ljb.49.2018.07.23.01.21.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 01:21:14 -0700 (PDT) From: Niklas Cassel To: Andy Gross Cc: Vivek Gautam , linux-arm-msm@vger.kernel.org, Niklas Cassel Subject: [PATCH v4 6/6] soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs Date: Mon, 23 Jul 2018 10:21:02 +0200 Message-Id: <20180723082102.29673-7-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180723082102.29673-1-niklas.cassel@linaro.org> References: <20180723082102.29673-1-niklas.cassel@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@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 --- drivers/soc/qcom/Kconfig | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) -- 2.17.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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