Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp223736yba; Wed, 17 Apr 2019 23:31:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzM8E4blPA4o0AYlRz3XvLVepkonH2a2wyI+zNi0kNYHJDHTRzmQKaY2YUNx2FU7q6xhl0R X-Received: by 2002:a17:902:4827:: with SMTP id s36mr94057665pld.296.1555569110082; Wed, 17 Apr 2019 23:31:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555569110; cv=none; d=google.com; s=arc-20160816; b=O6gUGxBxb4WHcIHJNbCYwxERwhJSYjgCpUL+7DbKkSA3wU7SOKV3FUl3q/xXFWZc03 gWI5SedOwPo2EguNXdPN5fxjr2K+USRog0D2CL0qMuyJsZ1Pc2P8K7prYS/YZkzG1mIJ 241cISPHv3nOU+7rHuOyxkKO7EavI5ty6leUYORgut8KNwjVp5ve+KDx0rbfajtMuEs1 oAej6m6H4IrlrWg9WYiO67avI3GFyzJSRp7RhJ6KnbLvQFRnETCKLJZLcpk35+yLh/FR yZ7P9+t9WMfT87ZfryxeXiBcsk/Q2fGBVxMsrvRf/Ml8xONyX750mqSb2o2879fGMGG7 2VqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=/8tISv3+dwO4wXuT3aBhX4D2Yc2gI6zorv3zXPymse4=; b=DXtxA1Pd9inK96paeifGkJhP3DHCgKqMtLdC9JltYuFQHMMMIWiW7IXuujBgFw8c4U 4xlu1ddGXyngYxA/okh7XtkdSllFypp1yw2+DMkbNDdSlhK5hHQqFmn5ys6UWgnS5tHL kkHYv1CuMigIiMJn++BHHYiGdBrhPjA5N0N84mS5VWuQt0njJWoG9yVXTBtdGJSwiV4p qtm8EVYolGFZD68rfmYFIbpuRqbO0wSjOsAERPlsdGr8nYsZohAQugVdAe9njSR/HVlF l2c+XEkDj/tYnHtgLQONCbS95AKc7nh1owd9kp0TB8Ux61ZrzIGJbctE7y36e1vsuVAb UdGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tyMTGL9+; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v6si1331864plg.51.2019.04.17.23.31.35; Wed, 17 Apr 2019 23:31:50 -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=@gmail.com header.s=20161025 header.b=tyMTGL9+; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388098AbfDRGad (ORCPT + 99 others); Thu, 18 Apr 2019 02:30:33 -0400 Received: from mail-lf1-f42.google.com ([209.85.167.42]:35122 "EHLO mail-lf1-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726581AbfDRGad (ORCPT ); Thu, 18 Apr 2019 02:30:33 -0400 Received: by mail-lf1-f42.google.com with SMTP id j20so725291lfh.2; Wed, 17 Apr 2019 23:30:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=/8tISv3+dwO4wXuT3aBhX4D2Yc2gI6zorv3zXPymse4=; b=tyMTGL9+P1JncNTXFkC+lERqol2gKONuJwOC9gah9PaJPB579Q/OX8i1B2x2RAYeN8 U8WSAe7AESJbX3dyueJGQ9R0G0qVEr73DL1mildr6QoN++9pEasemtL0J08wUkTBCRxw mRNn7cEfCCzd3dT2wcj2p2XZ4RZoSblUIwr6AMuujW1eXVL5GCbsJj33AzpzGKf5OYqI MOS2UXcDfNAzdHdZz5jt6kj6pjHlWGDg3jUHF8/AOf8Or4XuP+oWAzQuamlHADgcLyH8 YagrF+Yg+UTeh5zvgQ6BoLi571/H6oQZXWuEbhbbBb/ets3Q6EM/bkfDmf7CxsS2/4Xn MUug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=/8tISv3+dwO4wXuT3aBhX4D2Yc2gI6zorv3zXPymse4=; b=dO8pDHOgRcc3vgjatLuKGdzrtzIij336/wc4H3Euf3gwpg/q8MrwmPMYHt1FEgxllz +OM4FE4/NO25rZQVkbN2UU/bKGUBHjIuKWYMrj0wuZ2BwKs6+UkIy5LpcQ0/HgBM/rbe gt2dAPX9EJxHIAFNFuEdwWqfQg7Z/oKXdfwUerYwjsuvSZrWUDsZ1U9pIvgi/+2G/ZEQ Reb127SwBZcvKOB5NtBLz1eUreDlECQRWiYZo+KE2JMR4i1Al6qxqoFSuDGscsBydIVH WiHjdpl9dF0bJSJE1KWJStKyp/j4HpMoKw2KfnY6wLnhKXDGyfCJpUU+3cMiKeRKvOT0 pcPA== X-Gm-Message-State: APjAAAXNk+L52VtK6Wi91AT3t1gecO4G+d6Be2yWDjVsKpOwOeZ3FEWv AQ8zBZOS19wH95nHWn5cXpA= X-Received: by 2002:ac2:4551:: with SMTP id j17mr21174278lfm.141.1555569030929; Wed, 17 Apr 2019 23:30:30 -0700 (PDT) Received: from [192.168.1.10] ([95.174.107.249]) by smtp.gmail.com with ESMTPSA id i66sm209262lji.43.2019.04.17.23.30.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2019 23:30:29 -0700 (PDT) Subject: Re: Issues with i.MX SPI DMA transfers To: Robin Gong Cc: =?UTF-8?Q?Uwe_Kleine-K=c3=b6nig?= , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-spi@vger.kernel.org" , dl-linux-imx , Fabio Estevam , Pengutronix Kernel Team , Sascha Hauer , Shawn Guo , Mark Brown , "dmaengine@vger.kernel.org" , Vinod Koul , Dan Williams , Andy Duan , Han Xu , Clark Wang References: <08fcbd65-510f-84f8-d6d6-ff56aa9ca9ad@gmail.com> <20190328065247.uz73lap7ljf5q3tb@pengutronix.de> <95df9334-3d0c-7d13-e431-5a4aa2b9907e@gmail.com> From: Igor Plyatov Message-ID: Date: Thu, 18 Apr 2019 09:30:28 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Robin, > Hi Igor, > Did you meet any issue with my latest patch? sorry, but unfortunately I have no time to test it. I have switched to PIO mode and continue other development. Maybe later I will find time to test DMA mode, but not sure when. Thank you for support! -- Igor Plyatov >> -----Original Message----- >> From: Robin Gong >> Sent: April 9, 2019 11:26> >> Hi Igor, >> Please have a try with the attached patches, and revert 25aaa75df1e6, >> ad0d92d7ba6a , dd4b487b32a3, df07101e1c4a before apply. Besides XCH, tx >> thresh should be set to 0 , now no failure caught on ecspi5. >>