Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933486AbbKRVHI (ORCPT ); Wed, 18 Nov 2015 16:07:08 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:64889 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753395AbbKRVHG (ORCPT ); Wed, 18 Nov 2015 16:07:06 -0500 X-Greylist: delayed 86699 seconds by postgrey-1.27 at vger.kernel.org; Wed, 18 Nov 2015 16:07:06 EST From: Arnd Bergmann To: linux-arm-kernel@lists.infradead.org Cc: Bin Liu , George Cherian , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, balbi@ti.com Subject: Re: [PATCH] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support Date: Wed, 18 Nov 2015 22:06:36 +0100 Message-ID: <4749121.AD5OMAAsPq@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <4370741.70D0kgBgnp@wuerfel> <3958456.qUtBLJFy2S@wuerfel> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:T8g/KgmliPaD2fVfolnVhttfSvUjAPK8yT6kQLZJYRDBQbicONw iyq6LgL3AVV/kFvs4xSbJ8oaaRNPjl+HYqJGMrgiZmYhg1tGW/qFopK42baJiek3Hl+mOhR CPIuLMkfnSFl+uyhRgntA9qB/M6hC3h6KyuIP3PzDCf1p31RLBFzXLh/a3OtEANLKv6iLGJ w6OSmwNxVE3xnHMe2qkcQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:FvLm54yaMUo=:j4qmL40ooJmihBfJOcJb0c GTiqXPwPR3hnvSm7uSoMPBEN0SV+T9bLYmn9SSxBWeAfmvLJm8B1lZxZU1dyav2OlvuLNRN9N 3uldcU+h0RW1MdHnc0buEnQGpwLcWtfUX7JRLwQTNQv0ifTrGTXrOqDz28vDrVIlbDiOWR3Yb /QbITu0zmet/PcTYcvqwv1PZFJlenSas5T6Yhl+a6hqCx6hgt0dCESjLdUkpt+hz7Oxc9Sm93 8PNU1AcQVHAk/UyrLOwGXltmFOz0xMhfwxRwcjkxvooGn5zjbSOEc4tbPoCXdjK50it1gEUSA 7zMzTU0VHCOrGT9WK1nkT1FJMLslid5AhAXdhYb6gXlO+jT9kvoBWdxm3sjMgkMYVxbKEJPOI kbjCJj7QffVx351EdkSJPGlWCVFCEZnJRPvXcelxJiAF5VxTfc5tBnrL1zhtfcJ+SUZKjZe+z 0Bv4zezDk/4VOyEHP/oYGFtGm1oWfwdqy4yL3mFol1ewou2uSZyekvz8iPGAX4LwDn9kptqdy uWksf/9YjOI9AAWVAm0zGGt9HYzn3/cFOmuPaNzE8LEuXQX+l8EGlhSLKfVuQJN4OiLKPYmNW kSL1zRwMnIWfHwo9gcNyl8PmxJsAlNZqzMuViYKks+r9KtD+5NvmiInU94i/bDrnNceZ8ypE0 5OpRm0QOw8ftyyS7ECUj0b0O0uTOWRvvTNgDyP9HVYvikNOCVoQv+6VbgnEQJmk0V4NsRKxP3 VJc0VaeDpTYWTcYg Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1303 Lines: 28 On Wednesday 18 November 2015 14:39:10 Bin Liu wrote: > > Ideally we should remove the 'select TI_CPPI41' here as well, but > > what we could do instead is to make that a silent symbol and remove > > the prompt so it always gets enabled implicitly when USB_TI_CPPI41_DMA > > and DMADEVICES are both enabled. > > But what if DMADEVICES was disabled and USB_TI_CPPI41_DMA was enabled? > I would think I had CPPI fully enabled for MUSB, but it didn't because > TI_CPPI41 was disabled. That would cause a runtime failure, just like any other configuration that does not enable all the hardware you want to use. > I would think this patch is the test option so far, we might have to > document somewhere that to dmaengine has to be enabled to use MUSB > CPPI, but I am not sure where the best place is to document... There are hundreds of device drivers that use dmaengines as a backend, we don't normally document this, just like we don't document the fact that you need to enable the right gpio, irqchip, timer, clock etc drivers for your platform. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/