Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1141705imm; Tue, 5 Jun 2018 09:41:21 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIUZg7LQW1rxi07gxdv/9cjQVwCw/Xw7YCphAsS95ZAq/uboMmFyVpu3fGh5ymJAVcTTHj7 X-Received: by 2002:a63:2f04:: with SMTP id v4-v6mr21428282pgv.33.1528216881127; Tue, 05 Jun 2018 09:41:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528216881; cv=none; d=google.com; s=arc-20160816; b=np3BuK4QmunRRwM6d4GtlAi8pV5r9mAgu0QMgAbUHviMWj+nkOMsBxp1c9Dq7j8l4x 7w4ifR2x+WQL8yVBdW9pFbOX8nfifamO5bwfaSRc/Mo0I4KPo/bcWqgbIlIhRBLZwzBo Anc1obaMXXXQ5qrNTQ4J4rUhos7H3fk7gTme43iDuZyFPZANANBCz1MUZ0WFCNEwlGKu KqjBArcFFbZ3Q19YyGhxYDNyfrhXoL2gj2Wy5bsv+KLTM9QilPZJ6SZTyf9urdqw3xyG b/c1xTpmqOiIIswSv0nYUX+rIcJ2NXCwTL9qgIuGSxYJv8mSZOMgST2OxWV7D9gZBDh3 erVA== 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=LigE+cFE144evRNT4E4x2/ruPOfMmEMax8vzpoRnXFE=; b=ZtB7Kqg5gd+k3wEOI4Z778uKary1Hz4NrSno3h3kYdAVxSpV+/1Fm1U8p6CST6PAJS PelgM7vE/zcWI7xQj66exW3v/GlICunn4Okavryon/jx5NxqeI8I7JZQKlhf/ZpRu0ke t+puaB3Oo8VDy4O32U63rK+PyB37GyYx3RBpzJciRKegPmRc5n+Pylgv57Pi6aojgVwN TgIIDFoVBSY2Qh7i5NuF/PeDouclpTP74GLFQvlliUfcDoNpB0VCzlslge+3eAJ1yBl+ SvV3qvEnqOjR4RqSCdG14fEBYrsiLjAHHznaNWuZgFffjbr1h38mZLqjloby81VY3VGf Fbeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Vh9PpeHU; 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 j11-v6si22243760pgn.129.2018.06.05.09.41.06; Tue, 05 Jun 2018 09:41:21 -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=Vh9PpeHU; 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 S1751968AbeFEQkh (ORCPT + 99 others); Tue, 5 Jun 2018 12:40:37 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:41839 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751805AbeFEQke (ORCPT ); Tue, 5 Jun 2018 12:40:34 -0400 Received: by mail-pg0-f66.google.com with SMTP id l65-v6so1485350pgl.8 for ; Tue, 05 Jun 2018 09:40:34 -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=LigE+cFE144evRNT4E4x2/ruPOfMmEMax8vzpoRnXFE=; b=Vh9PpeHUNDrXqQgPuNzMvLWLO5KPvp4ufvar8wEjKU41sYQw16NH5OzBYMDA5uvCbi QJSm9rIJfgPi4i8LPb546k7mvMc0TUOJAQSvh1cDgPtkHeapk09et785j7JyVRyvZjmi 751x2BebVaqD4IR4XaXmdbupqWhC4LnAHUlUM= 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=LigE+cFE144evRNT4E4x2/ruPOfMmEMax8vzpoRnXFE=; b=s8X5UNLG5KWNFiiz7+W9OHA5niBwez7Y8TWzGMp25DKcEBblrgqhDCvZRy8TGmCntI emEvaBApEbK0DiaLvMOC/TbSPtJUNw7dKiCEhk00Z5ZsPATcW0hhCHcbtp8tRTn29nrd w74LL7nTjrAW+1HO4rcLV0PdtgQMte9jROD6nJN3hMlYNuV/VbtmDEXsx22mibhXEfZZ aBOVXgc7Xl+v/KxnX2ADNmfNeE7Nf1IpiM6Pg+ETlMpCCTpeB0Gw033nJT08D9K4Nr9N PnZfSQ4PgCfQNKqwJdKM2Fy20sl+/1eYAotsNdUnGNRHe13PyxRqYZq2KQdyxN3WDL3f bY6w== X-Gm-Message-State: ALKqPwdOb1ba1jW8bo+HPvv3c1khLsI2PsS4jRN0UlvOd4LlCtagRjp7 m794GSUxsqIqIDYb+vM+wRQWfw== X-Received: by 2002:a63:ba56:: with SMTP id l22-v6mr21734423pgu.161.1528216834469; Tue, 05 Jun 2018 09:40:34 -0700 (PDT) Received: from localhost ([106.201.35.237]) by smtp.gmail.com with ESMTPSA id i7-v6sm58854834pfa.34.2018.06.05.09.40.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Jun 2018 09:40:33 -0700 (PDT) Date: Tue, 5 Jun 2018 22:10:31 +0530 From: Vinod Koul To: Sricharan R 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 Subject: Re: [PATCH] remoteproc: qcom: Introduce Hexagon V5 based WCSS driver Message-ID: <20180605164031.GZ16230@vkoul-mobl> References: <1528177361-8883-1-git-send-email-sricharan@codeaurora.org> <20180605061919.GQ16230@vkoul-mobl> <3a4c102b-7228-153a-c588-b1bf00291fa8@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a4c102b-7228-153a-c588-b1bf00291fa8@codeaurora.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > 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 :( -- ~Vinod