Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1899624imm; Mon, 3 Sep 2018 12:23:31 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYzdwwm2Jg//HLxRDsXPwKj0xth1+QBJumGiIRiP0dBMD3y5xCQc0SpfmBruIsfe86CTz2P X-Received: by 2002:a63:352:: with SMTP id 79-v6mr27530640pgd.112.1536002611452; Mon, 03 Sep 2018 12:23:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536002611; cv=none; d=google.com; s=arc-20160816; b=xU5ubtzsehA80fUJmOOIj+SEl8YlcE0oMW0B6djp7TJPmjbUprT9RDN9s9D1K32tXm isN55tOlfMnT7znS0yEcntDtrAtpCBhZu0njti4ak7mt/cq91ix4uxn7MVZisjR/hig4 AoaiIKY8kHdRSezz9XEKIol58C/vBNQIFJcNNoXca/66NUuakZWpp+jS49xRxunIOZ6b +YiFQUCdRu5QutRdzUKglqFlA54LoKooRSF2PbuBF1J7IJeQUNUCrCisq5lkKEmgwjpz uDTZHsUI1NAvcoo4EiZIHdPD4fm1fiW+8FlbcDxpmoCIPmh/z14WKXan1bslGBsC6R0S DKHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=7FHEuzvE/SpSiZhddHdf1IekIZ2xsVjoeaGcMqigOzU=; b=d8HqDj3itedaAQSFQX3UC55oQNFJeOiWgJAw94PEDTD//gqWIjSGSENu2YYV5FU5fg 1rWxfQueIgfK4rwfOMhmi7Qi/wtW/pNEVh7ZfaANTAS6nDbfidLODLMfAOxQqnPISqta SrQ70iaZ0W8HWDX1MLyAzuBYQKcaOQR1Opc5u5r8UGDgDec4IKxxvH97HvjKLhTRtsIo VeSBR3b9IFJWdhuWCyYLl3xFLbG1Urv7gKpuFBEy8oxTvU2IOJUAzDdLcVfbOpCkBA4m 38Lui13x1SQDKF4m5aWKyIxPT+gZXuOhQyPXd0ZkveSMrSCwGHebx4MsHYIGZmbQTmYU rZYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XncqEMlr; 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 k23-v6si17078427pgl.633.2018.09.03.12.23.16; Mon, 03 Sep 2018 12:23:31 -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=XncqEMlr; 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 S1728521AbeICXnN (ORCPT + 99 others); Mon, 3 Sep 2018 19:43:13 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:34252 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728108AbeICXnN (ORCPT ); Mon, 3 Sep 2018 19:43:13 -0400 Received: by mail-pf1-f196.google.com with SMTP id k19-v6so550394pfi.1 for ; Mon, 03 Sep 2018 12:21:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=7FHEuzvE/SpSiZhddHdf1IekIZ2xsVjoeaGcMqigOzU=; b=XncqEMlrLgvQIPw0xoEi4OOTtHLa04HX5UXT/ZdthR7Eir0/DRg5ekV3aViJ25wrbF +g7QYSoT2R05RCjTegY0j0KBz/frsPJpA1sUz7weQMu3L6q9j6cIxK+9WSrAYDU2dCzZ MpnhRHPntinChq+lM+Y3vzroUAqzd+OAs/8Lk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=7FHEuzvE/SpSiZhddHdf1IekIZ2xsVjoeaGcMqigOzU=; b=TRlO3iyxTtD7mHSUlZUE5ByukRjsQVDgqNkpncmrZeVKjn1CvW84hQg0G+DJ/DtSCv u+f3XOZc6XP+TW3/JNeuR6oZ2+v0omsWZFa32od5+sZsFzOyLXzHUr7vWj2ZBY8Lk7xT zk0GXR0+oQduz0NaYIM4N3V50zLx+92VX9b00swUy0WVSL7DBvpSKLfDx9XB07SoHPyI J+zcVguYC1e/QDNv9jt5LXWqgY0ordD4keHEWyZ0Ikf/tqDoeIzB801i8l51t8ttLKm0 M9KJrRF7rHbUixaDBOYIVuq2OsFccS9lsP8RAH9AT+bcX6LPEQfX88C8Ik/Ia0v932BT PF+w== X-Gm-Message-State: APzg51DMNOp5G5icQNNcg5SWWmAKpOYgQMB3tdS6aibMWkXdRLfI4HpS h3ZbhcPDBajt5cZUKhzRMD9nVRLqgMs= X-Received: by 2002:a63:9712:: with SMTP id n18-v6mr26928783pge.92.1536002498174; Mon, 03 Sep 2018 12:21:38 -0700 (PDT) Received: from tuxbook-pro (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id g25-v6sm37062355pfd.23.2018.09.03.12.21.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Sep 2018 12:21:37 -0700 (PDT) Date: Mon, 3 Sep 2018 12:25:31 -0700 From: Bjorn Andersson To: Niklas Cassel Cc: Andy Gross , David Brown , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6 9/9] soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs Message-ID: <20180903192531.GE3456@tuxbook-pro> References: <20180829075724.9095-1-niklas.cassel@linaro.org> <20180829075724.9095-10-niklas.cassel@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180829075724.9095-10-niklas.cassel@linaro.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 29 Aug 00:57 PDT 2018, Niklas Cassel wrote: > 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 Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > 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 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 > -- > 2.17.1 >