Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1884209imm; Thu, 7 Jun 2018 01:45:51 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLveGuWBd1ibiuPp0nVptlKCQjtIPHDkH0777oRTo5n8rjXfJgxYMVr4Qh6MUwAaI0AYm6D X-Received: by 2002:a17:902:9689:: with SMTP id n9-v6mr1036131plp.363.1528361151279; Thu, 07 Jun 2018 01:45:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528361151; cv=none; d=google.com; s=arc-20160816; b=BKRpesMCz+1/KqGMn0RkJN5peig346j8IyNn3NwvTjeNsezuYGFWCUn2NfK2BeTJaj XerV0J73szInATZgRxIPpbP/hcaUEtNUBrLo9LxS+P/gTpWe9/7PLVUYFHsh5BoJBsS5 FCRaFwUyxyrkFBpWZEM0g02p/JVzcTv+Vfz4RaI+4by54aqXnRbokFLMP2cU64AJqz64 GWAmhv5QHjmpmu2E5dz1lHdONgMzlpNefnW34Mwaati5QUAkJShOecg56/KokpUmaA0y aVX8EfBtNmXQBlClfm1pEV6h/O/T5FpeAK8DjHL8lFLxC7Dz2+fSXhC4g9SLUigSGgS1 K8VQ== 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=5LKljAHcljjyEpuhaoWrHNHB2yhFblBR0PIlZcwY/Ow=; b=jXn9LFiijkpmF3kQppYZeIgoTQ5YswiKcw1qA3P1BVnHfir+loHzfp0HkYzinfrKVU P8HalR+J/0Pl7VFqknaU4pEGqbtA7lAoaxsvqY5XnwHkBZRLk3smyUuCdSy0ZlbS9Sjs 1yN3CHGs0OrSRZhtQcxz8+Ox0dEZHQnwwhxRXJHEdo7LfXJX49JziaIejyTPruGO/hrt 1zRMhmOIpaGDIRMj8v37wanjkrAY3CDLmjdmWIw0oJMbJ+FtXVRrTteobs1+xDJaSzL5 SXVTXoIFfOC4M3kMc4T7gx7BOUzveLFlT5HiXiRzNqudvGiN2j7zthYkNueQm/Vfxd3N kC7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=aBYMSzGs; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w9-v6si56195808plk.28.2018.06.07.01.45.36; Thu, 07 Jun 2018 01:45:51 -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=@kernel.org header.s=default header.b=aBYMSzGs; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932722AbeFGInz (ORCPT + 99 others); Thu, 7 Jun 2018 04:43:55 -0400 Received: from mail.kernel.org ([198.145.29.99]:33822 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753325AbeFGInx (ORCPT ); Thu, 7 Jun 2018 04:43:53 -0400 Received: from localhost (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9AF3920874; Thu, 7 Jun 2018 08:43:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528361032; bh=hhXggZSPIex5OVyje2bgD2/buuhR4/3e/H/xnhmFMcc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aBYMSzGsq1D/RHoG1e7t9KgJUD0ts/jP6F32If15ScBiDcratuknuN3VsVqOf/1k1 n8l49Wb9K30yy71dWdxoCfKf2m50J/Y2Y3sIN7na7iOTISSCsnly47q98EmdqL47cV 3Utd2WBHly3h9Vg0IGzBbpAbQSTOMQsEPmidxj+I= Date: Thu, 7 Jun 2018 14:13:48 +0530 From: Vinod To: Bjorn Andersson Cc: Sricharan R , 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: <20180607084348.GG16230@vkoul-mobl> References: <1528177361-8883-1-git-send-email-sricharan@codeaurora.org> <20180605061919.GQ16230@vkoul-mobl> <3a4c102b-7228-153a-c588-b1bf00291fa8@codeaurora.org> <20180606161733.GE510@tuxbook-pro> <20180607041134.GF16230@vkoul-mobl> <20180607042443.GK510@tuxbook-pro> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180607042443.GK510@tuxbook-pro> 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 06-06-18, 21:24, Bjorn Andersson wrote: > On Wed 06 Jun 21:11 PDT 2018, Vinod wrote: > > > So, wouldn't Kconfig syntax something like where we say: > > M if RPMSG_QCOM_GLINK_SMEM=m > > bool if RPMSG_QCOM_GLINK_SMEM=y > > > > If we ignore SMD for a while we have the following combinations: > > glink/wcss > y y - valid > y m - valid > y n - valid > m y - link failure (invalid) > m m - valid > m n - valid > n y - valid (platform uses wcss, but not glink) > n m - valid (-----"-----) > n n - valid > > So to distill this we have the two valid cases: > module/no if RPMSG_QCOM_GLINK_SMEM=m > yes/module/no if RPMSG_QCOM_GLINK_SMEM=y > > and the way you express that in Kconfig is the somewhat awkward > > depends on RPMSG_QCOM_GLINK_SMEM || RPMSG_QCOM_GLINK_SMEM=n Understood now :) Yes it is awkward.. Btw we seem to have issue with link fail here when glink is m and wcss is y. Why don't we see link fail for glink being n? Yes I understand that platform uses wcss but am curious how that works out :) Thanks -- ~Vinod