Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6044608ybi; Wed, 12 Jun 2019 13:02:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqyaKdE3CQ/fbvNCTG3CoYW4i6H92cLpqR+uONEMdm5nsxdwWmK8uHRLCsZaFYAJ1GmFR645 X-Received: by 2002:a17:90a:bd8c:: with SMTP id z12mr948261pjr.60.1560369724565; Wed, 12 Jun 2019 13:02:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560369724; cv=none; d=google.com; s=arc-20160816; b=Xww5qaqbbGkXPH7t8nma4G5KMhQJfYaCK2scREZnKENWNOlMCdnyW4rDDCwS5DLZRK rpmo8berYV3CCEOhvVlD/AGRTBIMk5RhOl5fPXdgv5qCypP8tR5e/3UKVyOD0E2M5tX2 S+FnV37Bb0n68CKuq2TkP0t67/ykshTE+RodSY+IWHPKWs6Qlqc1t5/BcEuBfyns31UY JPU2CMenk04NbmFg/HlBbFSpQg6yxfynEuiDpclydbx/P3pljFmrK0R7xs4XzX8KqNZQ X/lSc0IH8plAcjbC9pnBQ/lc+EjxmgtdO89g+TbiPPUFO7/18Zpl9yYHlTl09h2xUAU3 tbkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=0O8kud1OZKkvtHeAHVJbfPeAphq/Q2FLAtf0UYYJ3/U=; b=qp8vESeCREdWhVgdJqMMxe8GqIsdjS3v3zDI+g+eTeEbR7uAI+OvSTyqdPVnhoJkk6 I5amXTtz1zXBf+FiXaqPTJxUCHBUY3bbxjWojvxaSUJcObcq25q7DGNfsctEvZkrR/qA 8gMsdVdGHlK6OBiREF92f+lkUgvtOukPsBc/lhoyxEqi2gkw2viDO64b1hML6JxPKLNC xDLt9osTUT+kn8wRqdTuk8usRiVONcjT5nGnTkdDCiblrDM0PowVKxKfXyiknVOmmzfh bCaM94pw6ffjMy2t/QAeoWF4rNrOz+NA2OGoak2O+u71u2YIalgHoI7L+WudUvW7bJ0a D1vg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d11si622268pfn.188.2019.06.12.13.01.49; Wed, 12 Jun 2019 13:02:04 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389032AbfFLUBn (ORCPT + 99 others); Wed, 12 Jun 2019 16:01:43 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:43933 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388447AbfFLUBn (ORCPT ); Wed, 12 Jun 2019 16:01:43 -0400 Received: by mail-ot1-f65.google.com with SMTP id i8so16669917oth.10 for ; Wed, 12 Jun 2019 13:01:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0O8kud1OZKkvtHeAHVJbfPeAphq/Q2FLAtf0UYYJ3/U=; b=jfvmGr6vXnwPJXt2O/LJ+JA/LZ9J7HqtQsp80r4ZrIQ3/S50EA+IwkiTBriCXwFyKg MOFOGjaHZ/rDyA4dr+TqkDyKpGhurM6wkW23Ghi9L4gTt33Ov5swAa2pMYU9T4Nqxtv5 DqH304gbQO4Vt8Y54k1QkC42oQgs6zAY0osLuDATW1olzV3nasxDoAbi9MKjnyEjk+v7 UaeL80WnvyhOg0qPR6ULLu1EAZZ9s5b05Kls/6hcWIZVzeHS9orTunrnT79tXNWbNRxC LntV3JrgK0/snHU0b+yacZr5vDlghoFK2iggtONksdaLiNKxd7ITfnRGFSYcCfzc30XU qKvw== X-Gm-Message-State: APjAAAXWigCGwG9njgUW7o+dYs1+OwcaKpmZyWKgMuoFY+HL+bApB9yH e+MnYwK9I3xR4vrtasPgCxaLQ0Ru X-Received: by 2002:a9d:7a9a:: with SMTP id l26mr33759232otn.71.1560369702116; Wed, 12 Jun 2019 13:01:42 -0700 (PDT) Received: from mail-ot1-f52.google.com (mail-ot1-f52.google.com. [209.85.210.52]) by smtp.gmail.com with ESMTPSA id x128sm222264oig.54.2019.06.12.13.01.40 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Wed, 12 Jun 2019 13:01:41 -0700 (PDT) Received: by mail-ot1-f52.google.com with SMTP id p4so13448958oti.0 for ; Wed, 12 Jun 2019 13:01:40 -0700 (PDT) X-Received: by 2002:a05:6830:1192:: with SMTP id u18mr35659756otq.74.1560369700348; Wed, 12 Jun 2019 13:01:40 -0700 (PDT) MIME-Version: 1.0 References: <20190422183056.16375-1-leoyang.li@nxp.com> <20190510030525.GC15856@dragon> In-Reply-To: <20190510030525.GC15856@dragon> From: Li Yang Date: Wed, 12 Jun 2019 15:01:29 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arm64: defconfig: Enable FSL_EDMA driver To: Shawn Guo , madalin.bucur@nxp.com, Rob Herring , aisheng.dong@nxp.com Cc: Vinod Koul , Grant Likely , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. I see Rob added a new API driver_deferred_probe_check_state() last year. Probably we should update the imx-i2c driver to use the new API for optional dependencies to avoid this kind of situation completely? Regards, Leo