Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1423448imm; Thu, 5 Jul 2018 23:09:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdxN542KBagmDdoB6JaPFEAYQl1VD4NMull1XwU4lzP/6LHtOT4IA2rOlFD5VRshQNXQDOY X-Received: by 2002:a17:902:784d:: with SMTP id e13-v6mr8859128pln.197.1530857379660; Thu, 05 Jul 2018 23:09:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530857379; cv=none; d=google.com; s=arc-20160816; b=JxqXkwgleHEq47NB2XftemU3asXn80o/qSYBRDlfB4niWCSbOyvNQpG7oO1nVyZCkW ZUKSwMl5SZ2g2PcSHuTkmc1AjifjRMQCaFxNPu2AExHtip0G/OecsppIZZndHbnbHj3k FDmnmmpgB/kkOtTToCf3qcHYSv+duVj/Aspul6+vFJlqKxS0mvc8fV8qu3hvj7/A6QfI Z5gP1yNDaUCWqen9ULsSxYF1sJrzOuY+/kUCLN6sFTZRsMURs41xI/gpSjvbh38/GwvA 0J3SazqafXZ41y7JheAUR0hwYt4NoU5SVEfb8GbvZ7/ZEBDDRtCU9LZN4XT8Z1hk1A5/ Y0jA== 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:dkim-signature:arc-authentication-results; bh=jGNdP8Fm3EiIc9170HwebFUSqqmqY+0gC/XsD+Dvlzo=; b=dZGi+yr6FLHKSDwY1kadJGFq5bGKjZoTK1CDicRIWa/W/eAB4YJNlBN/qrwht01XPq iBo7FIxnxvCKt3UiLXatLYscXM2rJLASZfMsZIpzJn10tXDMVYz7gprSSRysBf1NwudC 1es4Dgs1jnDMHbtEVWf/9WieWgSIl9i1JS6BhFBvBVSSg61TKhFeabKm4iGQC4cOXOZo 176joibTutd681fKc+OhM5TEt33tLx9+9V/ZAHxE4h/atp+HVjdx/rPTxu8ALb8wZZUi qkLQ/hI7HgcGGYhMqn+i0n7QOexf6tliNiFvQT+KEQV9larnnhaaqirtXYTSpcETM+KN XBsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=caR3Alp+; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10-v6si7458783pff.304.2018.07.05.23.09.24; Thu, 05 Jul 2018 23:09:39 -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=@kernel.org header.s=default header.b=caR3Alp+; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753732AbeGFGHw (ORCPT + 99 others); Fri, 6 Jul 2018 02:07:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:43612 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753177AbeGFGFu (ORCPT ); Fri, 6 Jul 2018 02:05:50 -0400 Received: from localhost (unknown [223.226.33.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0DA9220849; Fri, 6 Jul 2018 06:05:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1530857149; bh=cHFnizQIQa/91dRnh/ZQFa1/2p4kUY/tVBejsbkUufc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=caR3Alp+CgSJ5E966mgmbnMBa7xvrn+pwGG8XXISOyjhdigFbmgKrdjOIcieSgoY2 tryh0KBDDL6lQk0mBULiwaNRGr5fFynj9fwd2BVh9zlswQFIPPaFPtvPubO7J5e5+7 HJmiB8GWwCAe+i2OULBg9qcsq19chYGzUTs6U1Bg= Date: Fri, 6 Jul 2018 11:35:41 +0530 From: Vinod To: Angelo Dureghello Cc: Stefan Agner , dmaengine@vger.kernel.org, Krzysztof Kozlowski , 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: <20180706060541.GT22377@vkoul-mobl> References: <20180705073552.GI22377@vkoul-mobl> <20180705081253.GA3513@jerusalem> <20180705124526.GA3620@jerusalem> <7d2bc5bc8cd01347acf1858ba816b12d@agner.ch> <20180705162308.GB3620@jerusalem> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180705162308.GB3620@jerusalem> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- ~Vinod