Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751108AbdHRH5l (ORCPT ); Fri, 18 Aug 2017 03:57:41 -0400 Received: from metis.ext.4.pengutronix.de ([92.198.50.35]:60067 "EHLO metis.ext.4.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750807AbdHRH5k (ORCPT ); Fri, 18 Aug 2017 03:57:40 -0400 Message-ID: <1503043012.7730.5.camel@pengutronix.de> Subject: Re: [PATCH] ARM: imx_v6_v7_defconfig: Add CONFIG_FW_LOADER_USER_HELPER_FALLBACK From: Philipp Zabel To: Shawn Guo , Gary Bisson Cc: kernel@pengutronix.de, fabio.estevam@nxp.com, linux@armlinux.org.uk, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Fri, 18 Aug 2017 09:56:52 +0200 In-Reply-To: <20170817141243.GG7608@dragon> References: <20170817140424.4614-1-gary.bisson@boundarydevices.com> <20170817141243.GG7608@dragon> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:3ad5:47ff:feaf:1a17 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1402 Lines: 46 Hi Shawn, On Thu, 2017-08-17 at 22:12 +0800, Shawn Guo wrote: > On Thu, Aug 17, 2017 at 04:04:24PM +0200, Gary Bisson wrote: > > Allows to load firmware files which aren't built inside the kernel. > > > > Especially useful for CODA firmware (vpu_fw_imx6q.bin) which is > > usually > > located in the rootfs. > > > > Signed-off-by: Gary Bisson > > --- > > Hi Shawn, > > > > I'm not sure if this patch is acceptable since I've noticed that no > > configuration currently has that option enabled (why?). > > > > As mentioned in the commit, I had to enable that in order to have > > CODA > > load the VPU firmware properly. > > > > Another option would be to make the CODA driver a module... > > > > Let me know your thoughts. > > @Philipp, do you have any comments on this? > > From reading of the option help text, I feel the option is not > recommended? > > config FW_LOADER_USER_HELPER_FALLBACK > > This option enables / disables the invocation of user-helper > (e.g. udev) for loading firmware files as a fallback after the > direct file loading in kernel fails.  The user-mode helper is > no longer required unless you have a special firmware file that > resides in a non-standard path. Moreover, the udev support has > been deprecated upstream. > > Shawn Building coda as a module should work fine, so I'd say this is not necessary. regards Philipp