Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp579755ybm; Wed, 27 May 2020 02:53:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyqTjhbh+4HGtt137OzReFRKJ+cVa96ZTsP0wkeqR1kEipNe+ZDKmZ7/6GCeLas3sZKOCqL X-Received: by 2002:a17:906:f44:: with SMTP id h4mr5168158ejj.38.1590573235557; Wed, 27 May 2020 02:53:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590573235; cv=none; d=google.com; s=arc-20160816; b=bxIcShWtbcyfk/mtu18MK7o5vucwWvnD4leTYoF3yJ3lRsiIlrYNyw48qn/RvsLO60 5b/u8zVBhTIPlB+gTEzuCBaqSmdOj2pdGFok54Hd1lbg0Sf6HrR08mUhorxGOed6kGOe djBipYpuKbCtA/uUwgGdZ8dHIQlLvloUaJ2DZEIRToA35YB6ChmwSddpDsShKIEBihaE tBkEec8yc+kbwzT0zMKomLZcrv/LxSAGNhZXHerhxVVIP02N6zoTZ8976p2bRzNuK0Fd lcm4YFNgsbutZh9UUj5bz5cCz17gc11m0MRyX0UvrL7/qvY0cYtMlmwyRym76vL2uS6M lwww== 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; bh=Yc+J3PdZ6Tu7Y6+mlkXxKEH4W5b/xhFabtgASsMGjd4=; b=l/kn11PaE4/g5gUOZIGPbjXKAUmO88bcZ4XvZ+mCESd5xbMyPXo1vkp9z8uWyncCeZ FvYuFnp1SrkuqhyIXRHbez/mTRh1KqESOSpOn/X2ScNvgRPXD3LCwNZeBVm7rAMkZ7Xg SDD/uRVysgX4Iubz3EE9+emE546T/6yEyP0EtjmzimE3UXQxdj06dnNIaV7T7KizcK7f Jyl5hr2airdBKsvLz/5lTvAxabHF/wqRv7pTQRzrUv+0AXGWhRSOwtoyAHbZlTp2jPpf ClQdfoxv7MHZ4Pu2vvQ1NFoJcv8CXLAJVhcixzmxZg2NrFLMowUI9xplkXsskumr3wal CoOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id lz8si1725156ejb.721.2020.05.27.02.53.32; Wed, 27 May 2020 02:53:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728070AbgE0FEF (ORCPT + 99 others); Wed, 27 May 2020 01:04:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727996AbgE0FEE (ORCPT ); Wed, 27 May 2020 01:04:04 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1BE4C061A0F for ; Tue, 26 May 2020 22:04:04 -0700 (PDT) Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jdoEK-0001cv-QG; Wed, 27 May 2020 07:03:52 +0200 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1jdoEI-0008BI-4d; Wed, 27 May 2020 07:03:50 +0200 Date: Wed, 27 May 2020 07:03:50 +0200 From: Sascha Hauer To: Robin Gong Cc: mark.rutland@arm.com, broonie@kernel.org, robh+dt@kernel.org, catalin.marinas@arm.com, vkoul@kernel.org, will.deacon@arm.com, shawnguo@kernel.org, festevam@gmail.com, martin.fuzzey@flowbird.group, u.kleine-koenig@pengutronix.de, dan.j.williams@intel.com, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@pengutronix.de, linux-imx@nxp.com Subject: Re: [PATCH v8 00/13] add ecspi ERR009165 for i.mx6/7 soc family Message-ID: <20200527050350.GV11869@pengutronix.de> References: <1590006865-20900-1-git-send-email-yibin.gong@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1590006865-20900-1-git-send-email-yibin.gong@nxp.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 07:02:31 up 97 days, 12:33, 88 users, load average: 0.44, 0.37, 0.27 User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c0 X-SA-Exim-Mail-From: sha@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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 21, 2020 at 04:34:12AM +0800, Robin Gong wrote: > There is ecspi ERR009165 on i.mx6/7 soc family, which cause FIFO > transfer to be send twice in DMA mode. Please get more information from: > https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf. The workaround is adding > new sdma ram script which works in XCH mode as PIO inside sdma instead > of SMC mode, meanwhile, 'TX_THRESHOLD' should be 0. The issue should be > exist on all legacy i.mx6/7 soc family before i.mx6ul. > NXP fix this design issue from i.mx6ul, so newer chips including i.mx6ul/ > 6ull/6sll do not need this workaroud anymore. All other i.mx6/7/8 chips > still need this workaroud. This patch set add new 'fsl,imx6ul-ecspi' > for ecspi driver and 'ecspi_fixed' in sdma driver to choose if need errata > or not. > The first two reverted patches should be the same issue, though, it > seems 'fixed' by changing to other shp script. Hope Sean or Sascha could > have the chance to test this patch set if could fix their issues. > Besides, enable sdma support for i.mx8mm/8mq and fix ecspi1 not work > on i.mx8mm because the event id is zero. For the series: Acked-by: Sascha Hauer Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |