Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp380575imm; Wed, 13 Jun 2018 01:48:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLyFxxdIanrD6qie5B319FmNOKfNCZ2WA2KLpbhm9kO+na3isQhnHs4KOspAbkH/UllTLCZ X-Received: by 2002:a63:7f15:: with SMTP id a21-v6mr3299937pgd.21.1528879702054; Wed, 13 Jun 2018 01:48:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528879702; cv=none; d=google.com; s=arc-20160816; b=WMhSIuL5Zh2XR+Me/vqCa7Z0yHd0Nl4B0fg8BdzoBWmbu7EYbc8mBL1gkiY6hmwzYk ISd+nl/9tIE3nQlD+KT9UjoyGsErYdGwmuuEgoG5DUmgSwiwUt61Q4gpRFDNL/4IMepv 4FMXXrrlKO0VRNBR8qvXCC/fScAbe1Vy04UrC8K3dAjLV8V9eCCLCQtTR4eNOg9qUot6 C30o9PVbZ2bI6njGVT2BOBLmfKV7n3IKa9ywV5KRhbwcBZsVl6kv6HC+Nwj1UF/cnLDC TSd7xf+Vz6rgvdlFZYiInr2b/XwS0z6CegiNZhgKoIploNQ+VghJDOaJeIaC2VPukpTB Ou9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=x1X2W6EnTFdI6fKY+hcKEhc5CKUk7T79bFmdK7IkvOk=; b=XoJZ+qULJb+lacu1gFMf4TdBEli8tsDDeuA5cZhg6bVnE7mcs4H4VbqL/EhgzF8GrR pSeTSRwVs6S26vFfR81NxFM7cn9znGLcaT6nzu84sKd1pqWcEMjWgCDPTQYYMCEdxhgW xFy8cqLH0B992Oi/z9KSFMt9caS7aa3FySlz1nDjGzmvVpXGjp8ewNAkHhAWSN1tSSGi 6FTSydX76amUujsBWq6Gy6U3f/Prvlrc0HuCyWZieuWYHL2IGaRSXB7zG3bZeyuLqqHp K1a79hAp57ZFhLt8SqRDP/2EDPv0DrNujjnjZ2slePqLvr1IDCvYD9Nmb01CqQUZmf2L JkVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=EfOWUmBZ; dkim=pass header.i=@codeaurora.org header.s=default header.b=GM3Z1D2o; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a29-v6si1956045pgn.423.2018.06.13.01.48.07; Wed, 13 Jun 2018 01:48:22 -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=@codeaurora.org header.s=default header.b=EfOWUmBZ; dkim=pass header.i=@codeaurora.org header.s=default header.b=GM3Z1D2o; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934884AbeFMIri (ORCPT + 99 others); Wed, 13 Jun 2018 04:47:38 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:54506 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754478AbeFMIrf (ORCPT ); Wed, 13 Jun 2018 04:47:35 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id BDD1660717; Wed, 13 Jun 2018 08:47:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1528879654; bh=neL9P2Gg6akSs002R1vITZFPgP+UJ8ozeRvVXtosxaU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=EfOWUmBZYTX7q96u8xtfPtGHxcjum13JrwULHFhMeDxDiPFcjEGMPUeRwlT390bV6 Giv1jksJtDSLVG06FSL9HLWuMxZcmPRHpTQS1J61KaYhBYeO1IzkRhDsw9Ki0E6lqJ IO0MYi6jMgGjagKb5bJZVxaWuZ3IpbsCLgTYBows= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from purkki.adurom.net (purkki.adurom.net [80.68.90.206]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 89BE060351; Wed, 13 Jun 2018 08:47:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1528879653; bh=neL9P2Gg6akSs002R1vITZFPgP+UJ8ozeRvVXtosxaU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=GM3Z1D2oqKddMXmnSORoCfJOlUevnNJu98XPUsc+CvN3kQdq09jYm6UABiNJY3B+E M8N8CVtRD0oMUZrzRA8hiQZFUrpOvBrUkoWT7TFsu6kG+1rs7CjlHjKBkWAJo5eZbi MiJn7dOxOczWyiwJIKPd97efc8DcOLwaGECKHSj8= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 89BE060351 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=kvalo@codeaurora.org From: Kalle Valo To: Niklas Cassel Cc: Govind Singh , bjorn.andersson@linaro.org, davem@davemloft.net, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, ath10k@lists.infradead.org Subject: Re: FW: [PATCH 2/2] ath10k: allow ATH10K_SNOC with COMPILE_TEST References: <20180612113907.15043-1-niklas.cassel@linaro.org> <20180612113907.15043-2-niklas.cassel@linaro.org> <7058492257914633b55fcd423e4c0b59@aphydexm01b.ap.qualcomm.com> <47cf8ec1b11d727ea928a307a431d4a2@codeaurora.org> <20180612124403.GA26986@centauri.lan> Date: Wed, 13 Jun 2018 11:47:29 +0300 In-Reply-To: <20180612124403.GA26986@centauri.lan> (Niklas Cassel's message of "Tue, 12 Jun 2018 14:44:03 +0200") Message-ID: <87a7rzax9a.fsf@purkki.adurom.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Niklas Cassel writes: > On Tue, Jun 12, 2018 at 06:02:48PM +0530, Govind Singh wrote: >> On 2018-06-12 17:45, Govind Singh wrote: >> > -----Original Message----- >> > From: ath10k On Behalf Of Niklas >> > Cassel >> > Sent: Tuesday, June 12, 2018 5:09 PM >> > To: Kalle Valo ; David S. Miller >> > >> > Cc: Niklas Cassel ; netdev@vger.kernel.org; >> > linux-wireless@vger.kernel.org; linux-kernel@vger.kernel.org; >> > ath10k@lists.infradead.org >> > Subject: [PATCH 2/2] ath10k: allow ATH10K_SNOC with COMPILE_TEST >> > >> > ATH10K_SNOC builds just fine with COMPILE_TEST, so make that possible. >> > >> > Signed-off-by: Niklas Cassel >> > --- >> > drivers/net/wireless/ath/ath10k/Kconfig | 3 ++- >> > 1 file changed, 2 insertions(+), 1 deletion(-) >> > >> > diff --git a/drivers/net/wireless/ath/ath10k/Kconfig >> > b/drivers/net/wireless/ath/ath10k/Kconfig >> > index 54ff5930126c..6572a43590a8 100644 >> > --- a/drivers/net/wireless/ath/ath10k/Kconfig >> > +++ b/drivers/net/wireless/ath/ath10k/Kconfig >> > @@ -42,7 +42,8 @@ config ATH10K_USB >> > >> > config ATH10K_SNOC >> > tristate "Qualcomm ath10k SNOC support (EXPERIMENTAL)" >> > - depends on ATH10K && ARCH_QCOM >> > + depends on ATH10K >> > + depends on ARCH_QCOM || COMPILE_TEST >> > ---help--- >> > This module adds support for integrated WCN3990 chip connected >> > to system NOC(SNOC). Currently work in progress and will not >> >> Thanks Niklas for enabling COMPILE_TEST. With QMI set of >> changes(https://patchwork.kernel.org/patch/10448183/), we need to enable >> COMPILE_TEST for >> QCOM_SCM/QMI_HELPERS which seems broken today. Are you planning to fix the >> same. > > > Argh.. > > qcom_scm seems fine, it is just missing a single definition in the > #else clause of include/linux/qcom_scm.h. > > +++ b/include/linux/qcom_scm.h > @@ -89,6 +89,10 @@ static inline int qcom_scm_pas_mem_setup(u32 peripheral, phys_addr_t addr, > static inline int > qcom_scm_pas_auth_and_reset(u32 peripheral) { return -ENODEV; } > static inline int qcom_scm_pas_shutdown(u32 peripheral) { return -ENODEV; } > +static inline int qcom_scm_assign_mem(phys_addr_t mem_addr, size_t mem_sz, > + unsigned int *src, > + struct qcom_scm_vmperm *newvm, > + int dest_cnt) { return -ENODEV; } > static inline void qcom_scm_cpu_power_down(u32 flags) {} > static inline u32 qcom_scm_get_version(void) { return 0; } > > > > include/linux/soc/qcom/qmi.h on the other hand doesn't have any > dummy defintions at all. > I think that it makes sense to be able to compile test > the QMI helpers also on other archs.. > > Bjorn, any opinion? Please don't drop ath10k list, adding it back. -- Kalle Valo