Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4133103imu; Mon, 14 Jan 2019 15:52:01 -0800 (PST) X-Google-Smtp-Source: ALg8bN5E2r2DQgafd1RvUTvzB5Yv0kuGCZPPGIYeVuI3yHxZ3065Uq9v8HBNxS5vewkxyb1BkLqi X-Received: by 2002:a63:e001:: with SMTP id e1mr1017210pgh.39.1547509921712; Mon, 14 Jan 2019 15:52:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547509921; cv=none; d=google.com; s=arc-20160816; b=S8tWvrFtSfEq30RRzB/wC2XPzik6ystWK3kt0qiMQQK7xZ+coApQx6+G3pgs30NPHY URI274G2aNQfOWUlCfdo4eYml29vS0ayHeGQRolD3MFZCKIQbMvvoopQG2lvZ+9cxGfA bMOUtxp3PuUUo/RQWcF9bnpFwF1H20UNx7A4dtGzcTAb8XgbPAwYbJR/gmZUqpKGbVJB 4sUcqVCAwNxGhISYZNh4a2YS+JdVhTQdKi6+KGMUkmQCjzeWfpV671rPf5XOy2Ly1QQL FHVgldhrTUIsvYcwUIZxGcCtDo1mqbeHG8P7TTU5Hcx1FazLvryR8LvgAQsKRncUmdMF pcLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=nuKjTc2sNK6HBGGhi/+Ac4D/aeivdMwOHS1NPibud6c=; b=o2ZWWzn59qNm3ei6mG4trPcAwU0EkWnX9EthKMCgVxJEIABXfpsj+B9NyVCT+zaXSl hEcw9lwX1x3cXT9xXQZkznfyYMsLZdgw61/B1K0o38rtdpLUb45/XEQkVFxWcOhHWu02 9xyNSOCmljcGe5T6IIW8KQ7YxOBtbgg729pto6K7b0LtVvm3wKhakDcQsInZbvu5TFbn /zjfisbQwpVf+MjczUgPf71b8PaWiyIJ9hRLYj8cveLYhNXAVhOYN7qd+o15FQsLAMnS sJJ2QMJ7CkWjih7aY+cdq+e0UI+igxWnr/8ctW0RZncUrnJMnWbrBxlKVksgJWYT+6JJ 5kIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b="Q//IsqnI"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d9si1752865pgb.105.2019.01.14.15.51.45; Mon, 14 Jan 2019 15:52:01 -0800 (PST) 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=fail header.i=@lechnology.com header.s=default header.b="Q//IsqnI"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727247AbfANXui (ORCPT + 99 others); Mon, 14 Jan 2019 18:50:38 -0500 Received: from vern.gendns.com ([98.142.107.122]:51662 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727192AbfANXuh (ORCPT ); Mon, 14 Jan 2019 18:50:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=nuKjTc2sNK6HBGGhi/+Ac4D/aeivdMwOHS1NPibud6c=; b=Q//IsqnInSF84mcf9XAP31eZfF GsG7ZR3eFKDe0VWYz8IbP0FSuN6fTaZAS18B0NpvghOnmc+fntiZEHK9UQbnvXENMIUNbv83+z4SC dadLFsBgFdbKiqqByM+L68K+0732gNbaAaDgP1KwYfkS4vx3lhR5UofcAiL3jTNhwOpB1UVcLdMK2 viHfqbdsxtqDyPHsounKL/uCzl4yqFJ3kzncgUZzpgfhkNjyx5LEXA6tMPYNsXbReWkz3+a/0MfKd 80zWDcIUiquKmRfYE+hO6dgaCsFAeaomVOkBr+khKY/lxhKxcuorVG4mykpkguInmLnKMtBjGIb58 nDqlSYdQ==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:42856 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1gjBxN-00032h-Ov; Mon, 14 Jan 2019 18:47:49 -0500 Subject: Re: [PATCH] Revert "spi: omap2-mcspi: Set FIFO DMA trigger level to word length" To: Vignesh R , "linux-spi@vger.kernel.org" Cc: Mark Brown , "linux-kernel@vger.kernel.org" , "linux-omap@vger.kernel.org" References: <20190113204905.29795-1-david@lechnology.com> <829bdc72-cf96-6aee-28d8-a47d0430710d@ti.com> From: David Lechner Message-ID: Date: Mon, 14 Jan 2019 17:50:34 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <829bdc72-cf96-6aee-28d8-a47d0430710d@ti.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/14/19 6:30 AM, Vignesh R wrote: > > > On 14/01/19 2:19 AM, David Lechner wrote: >> This reverts commit b682cffa3ac6d9d9e16e9b413c45caee3b391fab. >> >> That commit breaks displays using tinydrm drivers, such as ili9225. >> >> It causes corruption in the image that is displayed (it looks like only >> 1/2 of the framebuffer data is sent, the other half of the display >> remains blank.) >> >> The following error appears multiple times: >> >> ili9225 spi1.0: EOW timed out >> >> Eventually, the system locks up without any additional errors. >> > > Oops, that's unfortunate. I see ili9225 is using bits_per_word = 16. > I believe commit b682cffa3ac6d9d broke spi_transfers where > bits_per_word anything other than 8 bits. > I don't have ili9225 HW but was able emulate this condition using a SPI > flash as slave on AM335x and successfully reproduced the issue. Could > you test if this diff[1] helps in fixing the regression without needing > to revert commit b682cffa3ac6d9d? Yes, this changes fixes the problem. Thanks! > > If below diff does not help, then could you post logs of types of > spi_transfers being queued by ili9225 driver? I guess you can dump them > by enabling DEBUG option in tinydrm-helpers.c. > Also which TI SoC are you using? > I'm using BeagleBone Green, so AM335x as well.