Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3405496ybi; Mon, 17 Jun 2019 23:49:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqwuXeuNkI3mUOMuwhiqUcfQY+JLKvnXba9ISqa8h5PZTOYrm0b3BQNaKIT4IsEQEPH80A3I X-Received: by 2002:a63:2224:: with SMTP id i36mr1250881pgi.70.1560840552194; Mon, 17 Jun 2019 23:49:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560840552; cv=none; d=google.com; s=arc-20160816; b=BMxdTP5nt2fh4wvyrc/PQlHi6NBPZQ7N3jXnZrPAUiiClVKwfEvVicgS5UOAdrxCsA YPLddo8aQN3yADLDRHWZ08fXeirIheFcUskPIfvxpVUwjcBbvGo5D0H/td7dgxBJXpdT X0TEFOGDp5GLoKiRehACg63xFxQHMn2eDzmGD+FDzMhSWieCtyl0MTUNC8WBVuPurwNf L+d82gFbedHv7k6zr+2raXlRzQO+YtgG4yPxDrxLNGFwIaN2X3/g0jwLs4clRbSAyuy9 hQi+LZu6IOc6TAfc4fZ0xdjuBCJtwvMaaNeTp0KvCa+vC9S/Pkqdq61elK0fygtqNw3u 4M5w== 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; bh=Ii3D9IiZh1qGMzm2sasKAic+ivSrxAXRNSpmiPbqQSo=; b=vBLrpm6uD81dZjIYEWwSPKsSnDS/qLoODQ0colchpqI7mFWgvwLrwzbVwHRP3kA+Pm IIjeIegbdcERzXE8bNRR3Vy5eDiNhUprjpNmQfH43w79lDmzLVvv6o3vLh9aQ37NBRwZ diwnr0STYh3YlASUIuU+e1XG9pH+PwJvqKhraxgXTjGqmzKNPHI2pdcud4TueeM+7xI8 3F/tNbB+goyqVGIqOljXt2wY551rE28/vp11ybiK6sXjOmUEr1sqk1fmFaaAwpwwEKwU bUpPITOyP5Oso6iXb2ZLY95OFObPqlGTELC1RRl+xX+y+z1re0l0DlsOmgoq7MrCwstJ m6Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=o9lgizXW; 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 p13si13432839pgd.347.2019.06.17.23.48.56; Mon, 17 Jun 2019 23:49:12 -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=o9lgizXW; 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 S1728654AbfFRGrZ (ORCPT + 99 others); Tue, 18 Jun 2019 02:47:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:53896 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726238AbfFRGrX (ORCPT ); Tue, 18 Jun 2019 02:47:23 -0400 Received: from dragon (li1322-146.members.linode.com [45.79.223.146]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0ADC12166E; Tue, 18 Jun 2019 06:32:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560839527; bh=VejpOgqd5R4dMXfFuMAOUrMQQHjjtWsjAe1WJUq7tzE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=o9lgizXWTgD+9aai+vLwwtARXKwM5HOKlNCOCmCgEGt+S9gFyV6yEFZLYmjT86xhI /Z/8CMZTqodJdtW30kwJFw7O8SG2nwR+YGgHikRJ9kOOCMTCd5otlbTQNPzk+NT++Q fc070xBZggbbSzDwsPwfeBHXhp0RsTxetBmdRJ98= Date: Tue, 18 Jun 2019 14:31:16 +0800 From: Shawn Guo To: Leo Li Cc: Madalin-cristian Bucur , Rob Herring , Aisheng Dong , Vinod Koul , Grant Likely , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , lkml , "wsa@the-dreams.de" Subject: Re: [PATCH] arm64: defconfig: Enable FSL_EDMA driver Message-ID: <20190618063114.GA29468@dragon> References: <20190422183056.16375-1-leoyang.li@nxp.com> <20190510030525.GC15856@dragon> <20190613004508.GA20747@dragon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 13, 2019 at 02:01:11PM +0000, Leo Li wrote: > > > > -----Original Message----- > > From: Shawn Guo > > Sent: Wednesday, June 12, 2019 7:45 PM > > To: Leo Li > > Cc: Madalin-cristian Bucur ; Rob Herring > > ; Aisheng Dong ; Vinod Koul > > ; Grant Likely ; moderated > > list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE > kernel@lists.infradead.org>; lkml > > Subject: Re: [PATCH] arm64: defconfig: Enable FSL_EDMA driver > > > > On Wed, Jun 12, 2019 at 03:01:29PM -0500, Li Yang wrote: > > > On Thu, May 9, 2019 at 10:15 PM Shawn Guo > > wrote: > > > > > > > > On Mon, Apr 22, 2019 at 01:30:56PM -0500, Li Yang wrote: > > > > > Enables the FSL EDMA driver by default. This also works around an > > > > > issue that imx-i2c driver keeps deferring the probe because of the > > > > > DMA is not ready. And currently the DMA engine framework can not > > > > > correctly tell if the DMA channels will truly become available > > > > > later (it will never be available if the DMA driver is not enabled). > > > > > > > > > > This will cause indefinite messages like below: > > > > > [ 3.335829] imx-i2c 2180000.i2c: can't get pinctrl, bus recovery not > > supported > > > > > [ 3.344455] ina2xx 0-0040: power monitor ina220 (Rshunt = 1000 > > uOhm) > > > > > [ 3.350917] lm90 0-004c: 0-004c supply vcc not found, using dummy > > regulator > > > > > [ 3.362089] imx-i2c 2180000.i2c: can't get pinctrl, bus recovery not > > supported > > > > > [ 3.370741] ina2xx 0-0040: power monitor ina220 (Rshunt = 1000 > > uOhm) > > > > > [ 3.377205] lm90 0-004c: 0-004c supply vcc not found, using dummy > > regulator > > > > > [ 3.388455] imx-i2c 2180000.i2c: can't get pinctrl, bus recovery not > > supported > > > > > ..... > > > > > > > > > > Signed-off-by: Li Yang > > > > > > > > Applied, thanks. > > > > > > Hi Shawn, > > > > > > Is it possible to move this patch to the -fix series so that it can > > > reach the mainline earlier? It is having a boot failure in mainline > > > for platforms using this device without this workaround. > > > > Why would I2C device deferring cause boot failure on a platform? I'm just > > trying to understand severity of the problem. > > Currently the probe of imx-i2c will be retried immediately after it is deferred when the optional dependency on DMA driver is not met. This will cause an indefinite loop of probe-defer-probe and keep printing the message as shown in the commit message. > Indefinite loop of probe-defer-probe is not a boot failure to me. But I will try to send it as fix, and see if arm-soc folk will take it. Shawn