Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1514851
| Path | csiph.com!1.us.feeder.erje.net!feeder.erje.net!2.us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!news-2.dfn.de!news.dfn.de!storethat.news.telefonica.de!telefonica.de!news.panservice.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Bjorn Andersson <bjorn.andersson@linaro.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v10 03/11] remoteproc: Update Kconfig setup to 'depends on REMOTEPROC' |
| Date | Thu, 03 Nov 2016 22:30:01 +0100 |
| Message-ID | <szxK9-Rd-33@gated-at.bofh.it> (permalink) |
| References | <spZol-7cm-3@gated-at.bofh.it> <spZom-7cm-25@gated-at.bofh.it> |
| 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=C0yzY2w1Yr4fDAlooESY3/4nrnszwjxWphfd0qx7Abw=; b=ivkoGRtCOHIfdkbthlc2p2n2TofT/FwI0YxAGkox6TalL+SnF7+Ru+Ri1+LJgcbDrg dZ15l4Pp7nxAXKAtiFRSLAmvNjQ/FWBYKMvwNoELlyohrDfnkjFm/gTufwY72RsY8GYY tfzr62DaNvGVxFXVcHvpKPyc7ziZ1eLTsYEWU= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=C0yzY2w1Yr4fDAlooESY3/4nrnszwjxWphfd0qx7Abw=; b=AowcsjK2AXHCgi6wxAvszF/kCQeGbW1RIyBwcoLsVuhSBrgD9DsvF5TV202sf49DW2 TYmnFR0o1KEDGecAYfM4Sxwe4LfhkzKpSWieqraoF42499Dsq8fXewzFat8GATfuyD0/ polZnmAtHjsF5VMKVRjwHN7HCVrOW3+z/HEAMx4XI0JOC0IE3nRaJ38ks2CaNsHWjgPv 6t73BICH1fMbmPQEQCwpQ5cBUt4dY8zmCVL0d4D3GA4BzdiRfQJDXv8DPmJN4492I1Ec EyfrOZRJ11Hl8Zcw9JsfY/b4AXkyCqCMj2oOMUSdUuJIGbgJTSfbeOpodsk/5Z92N1k8 IEhA== |
| X-Gm-Message-State | ABUngvcbJhvkD/20YdsKU4O7DPzFAR8oOJfa+z8qkdWnEzLMxuwSpfpEFoY2X1ElnWS2DkUP |
| X-Received | by 10.99.116.15 with SMTP id p15mr16902449pgc.167.1478208283351; Thu, 03 Nov 2016 14:24:43 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.23 (2014-03-12) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 134 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, dan.j.williams@intel.com, patrice.chotard@st.com, ohad@wizery.com, arnaud.pouliquen@st.com, lee.jones@linaro.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org |
| X-Original-Date | Thu, 3 Nov 2016 14:24:39 -0700 |
| X-Original-Message-ID | <20161103212439.GS25787@tuxbot> |
| X-Original-References | <1475931154-1021-1-git-send-email-peter.griffin@linaro.org> <1475931154-1021-4-git-send-email-peter.griffin@linaro.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1514851 |
Show key headers only | View raw
On Sat 08 Oct 05:52 PDT 2016, Peter Griffin wrote: > Make REMOTEPROC core a selectable kconfig option, and update > remoteproc client drivers to 'depends on' the core. This avoids > some nasty Kconfig recursive dependency issues. Also when using > menuconfig client drivers will be hidden until the core has been > enabled. > > Documentation/kbuild/kconfig-language.txt: > > Note: > select should be used with care. select will force > a symbol to a value without visiting the dependencies. > By abusing select you are able to select a symbol FOO even > if FOO depends on BAR that is not set. > In general use select only for non-visible symbols > (no prompts anywhere) and for symbols with no dependencies. > That will limit the usefulness but on the other hand avoid > the illegal configurations all over. > > Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Sorry, I missed this patch in the set - but spotted it in linux-next. I still don't like the change, but remoteproc has dependencies so I guess I have to pick it until we fix that. It's however not okay to take this patch through the DMA tree, as it effectively stops me from introducing any changes in the rproc tree. Further more, it's not based on v4.9, so it currently introduces another Kconfig dependency problem - that I can't fix in my tree without conflicting with Vinod's. So, Vinod, can you please drop this patch from your tree? I'll pick it up for now. Regards, Bjorn > --- > drivers/remoteproc/Kconfig | 21 ++++++++++++--------- > 1 file changed, 12 insertions(+), 9 deletions(-) > > diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig > index a7bedc6..decdcbe 100644 > --- a/drivers/remoteproc/Kconfig > +++ b/drivers/remoteproc/Kconfig > @@ -1,20 +1,21 @@ > menu "Remoteproc drivers" > > -# REMOTEPROC gets selected by whoever wants it > config REMOTEPROC > - tristate > + tristate "Support for Remote Processor subsystem" > depends on HAS_DMA > select CRC32 > select FW_LOADER > select VIRTIO > select VIRTUALIZATION > > +if REMOTEPROC > + > config OMAP_REMOTEPROC > tristate "OMAP remoteproc support" > depends on HAS_DMA > depends on ARCH_OMAP4 || SOC_OMAP5 > depends on OMAP_IOMMU > - select REMOTEPROC > + depends on REMOTEPROC > select MAILBOX > select OMAP2PLUS_MBOX > select RPMSG > @@ -34,7 +35,7 @@ config OMAP_REMOTEPROC > config STE_MODEM_RPROC > tristate "STE-Modem remoteproc support" > depends on HAS_DMA > - select REMOTEPROC > + depends on REMOTEPROC > default n > help > Say y or m here to support STE-Modem shared memory driver. > @@ -44,7 +45,7 @@ config STE_MODEM_RPROC > config WKUP_M3_RPROC > tristate "AMx3xx Wakeup M3 remoteproc support" > depends on SOC_AM33XX || SOC_AM43XX > - select REMOTEPROC > + depends on REMOTEPROC > help > Say y here to support Wakeup M3 remote processor on TI AM33xx > and AM43xx family of SoCs. > @@ -57,8 +58,8 @@ config WKUP_M3_RPROC > config DA8XX_REMOTEPROC > tristate "DA8xx/OMAP-L13x remoteproc support" > depends on ARCH_DAVINCI_DA8XX > + depends on REMOTEPROC > select CMA if MMU > - select REMOTEPROC > select RPMSG > help > Say y here to support DA8xx/OMAP-L13x remote processors via the > @@ -84,9 +85,9 @@ config QCOM_Q6V5_PIL > tristate "Qualcomm Hexagon V5 Peripherial Image Loader" > depends on OF && ARCH_QCOM > depends on QCOM_SMEM > + depends on REMOTEPROC > select MFD_SYSCON > select QCOM_MDT_LOADER > - select REMOTEPROC > help > Say y here to support the Qualcomm Peripherial Image Loader for the > Hexagon V5 based remote processors. > @@ -94,7 +95,7 @@ config QCOM_Q6V5_PIL > config ST_REMOTEPROC > tristate "ST remoteproc support" > depends on ARCH_STI > - select REMOTEPROC > + depends on REMOTEPROC > help > Say y here to support ST's adjunct processors via the remote > processor framework. > @@ -102,6 +103,8 @@ config ST_REMOTEPROC > > config ST_SLIM_REMOTEPROC > tristate > - select REMOTEPROC > + depends on REMOTEPROC > + > +endif # REMOTEPROC > > endmenu > -- > 1.9.1 >
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v10 03/11] remoteproc: Update Kconfig setup to 'depends on REMOTEPROC' Bjorn Andersson <bjorn.andersson@linaro.org> - 2016-11-03 22:30 +0100
csiph-web