Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1542675imm; Fri, 6 Jul 2018 01:57:21 -0700 (PDT) X-Google-Smtp-Source: AAOMgpccTVip4Ysef3bBcIvXJbWMVSdK/aV/2dsK3fifcoKHECpmeTlpFrJE07NAPxp+afB/P7D7 X-Received: by 2002:a65:40ca:: with SMTP id u10-v6mr3919742pgp.2.1530867441688; Fri, 06 Jul 2018 01:57:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530867441; cv=none; d=google.com; s=arc-20160816; b=XGKyiYPXbqs7GxUy5ltJR7+/qZs/Awy4QTF2KoA9//8Bym80CNpnL5PKtskqVWZ5kC aQxVDWJHNC2mOw8/JbDYsL/FNRtq6WntgXWkzZDp57BIzGKheSDsQZ1Ewz5C6CMXneeG duOc4iEK3li1tVjiCu2dwHxLdxYSR/KarLoMYr0oL2XErCeg0h5enTAwBp/C1Arvy2PK pA51mkOxZGjys+lD7v/rkqJMdIxJqjTocoCfY6GG+jwqvM9p5NpDuKvJkgtGCiMh5V9p OJ7SLiKmcryQLvMF0aKC3ATLd1x69vRDAxgVdgAYgxIoqxSBsEuqkyd+Te07u3TNUH33 WW6g== 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:arc-authentication-results; bh=83mdJBuNfoyt45RVWlbb3XUOsRRTLjV+bDyGcRJzre8=; b=cKL4WDcZxb7LQ720TDzE0WZl9M4Qfb+FSak/IUndcGugAOUhDs3x/J3fT11pbS7dtY 9lYkCdv4LTI68q+Yaou09JryYKcgDHM4EqUUshfk+/F4BgvQqFGr2ZtCFSkFMfEW6IO0 nl7BiFUwK9OTYljeoVzkWCa3r6apQo4XU+j+6cWoWJ7bGecVQefkJRWTEsq5FoaOGH5J 7scxXewkZ6uHSWHEjd8DWs+/EsK6B2lHa8qAUAu0iz/7RVIwaSuyPAMk7ePfFpc0U9BJ cLTS0OMAkuMand0XjZqUtDNYrCXT1XoEnjMjxu4RFS+qTuCEgz199kJEvdZM1/Kx4WaG /m6A== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 80-v6si7352400pgf.604.2018.07.06.01.57.06; Fri, 06 Jul 2018 01:57:21 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753348AbeGFIzk (ORCPT + 99 others); Fri, 6 Jul 2018 04:55:40 -0400 Received: from ec2-18-194-220-216.eu-central-1.compute.amazonaws.com ([18.194.220.216]:48236 "EHLO sysam.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751517AbeGFIzh (ORCPT ); Fri, 6 Jul 2018 04:55:37 -0400 Received: from localhost (localhost [127.0.0.1]) by sysam.it (Postfix) with ESMTP id E436A21B2E; Fri, 6 Jul 2018 08:55:35 +0000 (UTC) Received: from sysam.it ([127.0.0.1]) by localhost (sysam.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ogCdcLSpy92j; Fri, 6 Jul 2018 08:55:34 +0000 (UTC) Received: from jerusalem (host136-239-dynamic.30-79-r.retail.telecomitalia.it [79.30.239.136]) by sysam.it (Postfix) with ESMTPSA id 944C521B2D; Fri, 6 Jul 2018 08:55:34 +0000 (UTC) Date: Fri, 6 Jul 2018 10:55:34 +0200 From: Angelo Dureghello To: Krzysztof Kozlowski Cc: Vinod , Stefan Agner , dmaengine@vger.kernel.org, Dan Williams , linux-kernel@vger.kernel.org Subject: Re: [BUG] Serial/dma stall/failure after "dmaengine: fsl-edma: extract common fsl-edma code (no changes in behavior intended)" Message-ID: <20180706085533.GA5373@jerusalem> References: <20180705073552.GI22377@vkoul-mobl> <20180705081253.GA3513@jerusalem> <20180705124526.GA3620@jerusalem> <7d2bc5bc8cd01347acf1858ba816b12d@agner.ch> <20180705162308.GB3620@jerusalem> <20180706060541.GT22377@vkoul-mobl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Fri, Jul 06, 2018 at 08:16:29AM +0200, Krzysztof Kozlowski wrote: > On 6 July 2018 at 08:05, Vinod wrote: > > On 05-07-18, 18:23, Angelo Dureghello wrote: > >> Hi Stafan, > >> > >> On Thu, Jul 05, 2018 at 05:55:31PM +0200, Stefan Agner wrote: > >> > Hi Vinod, Hi Angelo, > >> > > >> > On 05.07.2018 14:45, Angelo Dureghello wrote: > >> > > Hi Vinod, > >> > > > >> > > On Thu, Jul 05, 2018 at 10:12:53AM +0200, Angelo Dureghello wrote: > >> > >> Hi Vinod, > >> > >> > >> > >> On Thu, Jul 05, 2018 at 01:05:52PM +0530, Vinod wrote: > >> > >> > On 04-07-18, 10:54, Krzysztof Kozlowski wrote: > >> > >> > > Hi, > >> > >> > > > >> > >> > > The commit 6ad069123f03bebe4315dea13d44845854ca6043 ("dmaengine: > >> > >> > > fsl-edma: extract common fsl-edma code (no changes in behavior > >> > >> > > intended)"), even though marked as no changes in behavior intended... > >> > >> > > make serial console with DMA broken after boot. The console just hangs > >> > >> > > - is not responsive even to SysRq. Usually after finishing boot - > >> > >> > > before or after login prompt. Sometimes login is allowed and then it > >> > >> > > hangs during printing dmesg. > >> > >> > > > >> > >> > > Board: Toradex Colibri VF50 (NXP VF500, Cortex A5, serial configured > >> > >> > > with DMA) on Iris Carrier. > >> > >> > > >> > >> > Angelo ? > >> > >> > > >> > >> sorry for this. As said i couldn't test it in any of those arm boards > >> > >> but i take a look. > >> > >> > >> > >> The only code part that changes is the initial setting up of the registers. > >> > >> I am checking that. > >> > >> > >> > >> Regards, > >> > >> Angelo > >> > >> > >> > > > >> > > I cannot find anything obviously wrong. > >> > > And i cannot test on Vybrid. > >> > > I will try to get a Vybrid V50 board to test this issue. It would > >> > > require some days and also i wil be 3 weeks off on July. > >> > > > >> > > So please revert my patch. > >> > > >> > I did not found the issue quickly. But I must say that I gave up pretty > >> > quickly. There are too many changes in a single patch which makes it > >> > hard to figure out what could be wrong. I'd rather prefer if we could > >> > drop that patch again and go through another review phase. > >> > > >> > Angelo, as far as I can see the patch has not been sent to LKML or the > >> > ARM mailing list. Especially since you do not have such a device it > >> > would have been nice to also send it to the ARM mailing list... > >> > > >> > Can you resend your last revision with CC to me/ARM mailing list? > >> > > >> > >> Thanks for looking into it. > >> > >> I have spent a lot of time on this patch and really would have > >> dma for Coldfire available. So, have ordered a Colibri / v50 board. > >> > >> Should receive it in few days and should be able to debug this issue, > >> but as said, i will be off for some weeks so looks like it is probably > >> better to revert the patch. > >> > >> My initial submit was a separate driver, to avoid such issues where > >> i cannot test, but it resulted in too much duplicated code. > >> > >> Sure, i can send the full patch to you/arm with all the fixes included > >> until now. > > > > Okay dropped now from -next. I still keeping topic/fsl around and > > collect other fixes for you guys to check. > > > > One way would be to split to common patch into multiple patch and check > > regression. That should help quickly identify the issue. > > Even with show -C20% -M20% I gave up when trying to spot possible > differences in the commit. I understand that logically it is one > change and it makes sense... but it touches, moves and adds too much > making review extremely difficult. I think the splitting into smaller > chunks would be beneficial anyway. > > Today's next boots fine. > Good, will resend the patch once splitted in more commits, and tested on V50 Vybrid. Regards, Angelo > Best regards, > Krzysztof > -- > To unsubscribe from this list: send the line "unsubscribe dmaengine" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html