Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp442623imm; Tue, 5 Jun 2018 23:40:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJw/qKj5J6d3JUetArwJKHRcDZohRWpn08LYl0mWost96v5g8fflKLkqFXoKmZnePj36kDy X-Received: by 2002:a17:902:654c:: with SMTP id d12-v6mr1965567pln.8.1528267244642; Tue, 05 Jun 2018 23:40:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528267244; cv=none; d=google.com; s=arc-20160816; b=TnsSMEjsYGUxN/VQ/0YuqH5Ues1VuXvrSxapIx8X5NsElC3vz9NG5K5FgNy1MSDjR1 4bujC7JEtIbjsHfBnURFT2GpUMBmq+Roav8QkZaczn7dMS7CfDNhOaex55invegUvq/z xE15+m4KZN3Yba9QJBDiTWLtexn348tzyy/EWer8bRtVUr0ZqPtvqddu4eeplPBgnauB 5BfJ2aezkoxzMfGARM5ej1g7kTVR3zAZrSq4vaitwmeCXmzMnPSEqGfPppyLvXOeIMmk LurFdA6cbjdptjGVlxarQWGrKnsEY8iy5H6+wSgmETNGj+v8La1/THjttjONzuVZ27FX phmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=ca9w5xJGvswrNGcnTcbAv9eIMjuG/BR2c8nVFweQEEI=; b=RhrcIf82FvooJj3f6nlQZzoRlELN1v6n7TjtbgV9nHmSfIMBoCO+GcMTWhdtFbGKuV VzEq3ZVJGt8IDrngZMGHCEpzuB69lKzLU4549/uLaEqM15Sxq0mMfCc4CwK9JDnPRVBb boCXN/vxqafjix13wpmMoSZ78WCfVHFEWBmhxwdrGhPKvvqTvdR+aUIOCGysLRoPgAjk xMmURKUTIeU/pyAO9gRn96lPbNuNLmHYjAeOCa7v7jgiLpBfPvdSs7D8Q+XjAKlMIjRs prdr2fHvEkS7SFA7qYC7ZXWpj2Hc69biLHbGO9c2CN/wGjtCtQhzAe30E+9Gbjft3KKc uA6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=dRDLI0T6; dkim=pass header.i=@codeaurora.org header.s=default header.b=BSCaqDAX; 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 m3-v6si1036508pfc.312.2018.06.05.23.40.30; Tue, 05 Jun 2018 23:40:44 -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=dRDLI0T6; dkim=pass header.i=@codeaurora.org header.s=default header.b=BSCaqDAX; 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 S932253AbeFFGkF (ORCPT + 99 others); Wed, 6 Jun 2018 02:40:05 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:45620 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932103AbeFFGkC (ORCPT ); Wed, 6 Jun 2018 02:40:02 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id F08ED607CF; Wed, 6 Jun 2018 06:40:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1528267202; bh=wD2klMEx78nc0EmLaqItzXEj6vkevEBVNwJrDFFUMRw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=dRDLI0T6gTJEBLkCwTEdLaQ/zI+0lvqWmh0yKEYTpR3kUVIaRpdyx5/Q6/TZiigwK MXsnQABaCySQQJ7xhwo09QzI0rLicfCp8IZWDKfXIlemQXPWkeoftlv62hZTz8Z0To eczemhyFsLk5ATXB8hqqviDNCuni58JNzs38NLCs= 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 [10.201.3.39] (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sricharan@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1A720607C7; Wed, 6 Jun 2018 06:39:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1528267201; bh=wD2klMEx78nc0EmLaqItzXEj6vkevEBVNwJrDFFUMRw=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=BSCaqDAX/+gd330e9UfbhNoYDoRw9LYshllHo20sfpHGbwK/EPGY4JOR3o530VENQ yhmdjKWqBRtV9kfEJtSuqVNAgdUnAJuN8TZdAiYSNGh/sMAeDptsMIvN810NPKf0gi V+skvcnQcVo2lQcbR7S+1DcGeCqZdwsNcBofRxsc= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1A720607C7 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=sricharan@codeaurora.org Subject: Re: [PATCH] remoteproc: qcom: Introduce Hexagon V5 based WCSS driver To: Vinod Koul Cc: bjorn.andersson@linaro.org, ohad@wizery.com, robh+dt@kernel.org, mark.rutland@arm.com, andy.gross@linaro.org, david.brown@linaro.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, sibis@codeaurora.org References: <1528177361-8883-1-git-send-email-sricharan@codeaurora.org> <20180605061919.GQ16230@vkoul-mobl> <3a4c102b-7228-153a-c588-b1bf00291fa8@codeaurora.org> <20180605164031.GZ16230@vkoul-mobl> From: Sricharan R Message-ID: <1b376fc2-6a1b-1457-ffff-332954d1bef8@codeaurora.org> Date: Wed, 6 Jun 2018 12:09:55 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180605164031.GZ16230@vkoul-mobl> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Antivirus: Avast (VPS 180605-4, 06/05/2018), Outbound message X-Antivirus-Status: Clean Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vinod, On 6/5/2018 10:10 PM, Vinod Koul wrote: > On 05-06-18, 18:26, Sricharan R wrote: >> Hi Vinod, >> >> On 6/5/2018 11:49 AM, Vinod wrote: >>> On 05-06-18, 11:12, Sricharan R wrote: >>> >>>> +config QCOM_Q6V5_WCSS >>>> + tristate "Qualcomm Hexagon based WCSS Peripheral Image Loader" >>>> + depends on OF && ARCH_QCOM >>>> + depends on QCOM_SMEM >>>> + depends on RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n) >>>> + depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n >>> >>> Is there a reason why it depends on RPMSG_QCOM_GLINK_SMEM=n? What would >>> happen if distro wants both this and RPMSG_QCOM_GLINK_SMEM >>> >> RPMSG_QCOM_GLINK_SMEM=n should be for the COMPILE_TEST. Probably that > > why would that be a limitation? I am more worried about > RPMSG_QCOM_GLINK_SMEM=n being the condition here. In new drivers we > should not typically have dependency on some symbol being not there > Without that, if RPMSG_QCOM_GLINK_SMEM=m is compiled as a module, then it would break the build. >> means that it should be corrected here and for ADSP, Q6V5_PIL as well. >> Bjorn, is that correct ?, should it be, below ? >> >> depends on (RPMSG_QCOM_SMD || (COMPILE_TEST && RPMSG_QCOM_SMD=n)) || (RPMSG_QCOM_GLINK_SMEM || (COMPILE_TEST && RPMSG_QCOM_GLINK_SMEM=n)) > > that doesnt really sound good :( > Hmm, but i was thinking it should functionally depend on either SMD or GLINK and not both. Regards, Sricharan -- "QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus