lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 19 May 2015 09:18:37 -0300
From:	Fabio Estevam <festevam@...il.com>
To:	Sebastian Andrzej Siewior <sebastian@...akpoint.cc>
Cc:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
	jiwang <jiada_wang@...tor.com>, Jiri Slaby <jslaby@...e.cz>,
	"linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	anton_bondarenko@...tor.com, Dirk Behme <dirk.behme@...bosch.com>,
	Nicolae Rosia <nicolae.rosia@...il.com>,
	Fabio Estevam <fabio.estevam@...escale.com>,
	Philipp Zabel <p.zabel@...gutronix.de>
Subject: Re: [PATCH v2] serial: imx: Revert "initialized DMA w/o HW flow enabled"

Hi Sebastian,

On Fri, May 8, 2015 at 4:13 AM, Sebastian Andrzej Siewior
<sebastian@...akpoint.cc> wrote:
> From: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
>
> 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ