Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755843AbbESMSo (ORCPT ); Tue, 19 May 2015 08:18:44 -0400 Received: from mail-la0-f53.google.com ([209.85.215.53]:36432 "EHLO mail-la0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754820AbbESMSj (ORCPT ); Tue, 19 May 2015 08:18:39 -0400 MIME-Version: 1.0 In-Reply-To: <20150508071340.GA2603@breakpoint.cc> References: <20150507202439.GA4717@breakpoint.cc> <20150508071340.GA2603@breakpoint.cc> Date: Tue, 19 May 2015 09:18:37 -0300 Message-ID: Subject: Re: [PATCH v2] serial: imx: Revert "initialized DMA w/o HW flow enabled" From: Fabio Estevam To: Sebastian Andrzej Siewior Cc: Greg Kroah-Hartman , Sebastian Andrzej Siewior , jiwang , Jiri Slaby , "linux-serial@vger.kernel.org" , linux-kernel , anton_bondarenko@mentor.com, Dirk Behme , Nicolae Rosia , Fabio Estevam , Philipp Zabel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1458 Lines: 35 Hi Sebastian, On Fri, May 8, 2015 at 4:13 AM, Sebastian Andrzej Siewior wrote: > From: Sebastian Andrzej Siewior > > This basically reverts commit 068500e08dc8 ("serial: imx: initialized > DMA w/o HW flow enabled") simply because it does not work. > I tested it on various IMX6 boards and the default SDMA firmware, that is > included in ROM, does not work properly. The SDMA interrupt counter does > not stop increment (which means the SDMA does not stop working) and I see > a lot of 0x00 (sometimes other bytes) which are added to the tty buffer > which are not part of the data transfer. > Jiada claimed that there is a firmware which makes it work but failed to > provide me a link to the firmware. All he said was that it can not be > shipped as part of the kernel due to license issues. I've found one > firmware in the FSL-tree but this firmware causes only TTY-overflows and > *no* data is transmitted. > > Currently I see no other way out. Could you please test Philipp's patch? http://marc.info/?l=linux-serial&m=143202566332128&q=raw It worked on my tests and DMA still works with his patch, so I would prefer his solution. Thanks, Fabio Estevam -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/