Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757159AbcDMLLp (ORCPT ); Wed, 13 Apr 2016 07:11:45 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:40976 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756510AbcDMLLn (ORCPT ); Wed, 13 Apr 2016 07:11:43 -0400 Subject: Re: omap uart + dma issues (Re: [PATCH] tty: serial: 8250_omap: do not defer termios changes) To: Peter Hurley , Sebastian Andrzej Siewior , John Ogness , Tony Lindgren References: <8737r7ght7.fsf@linutronix.de> <570339E8.6010808@hurleysoftware.com> <87y48kftip.fsf@linutronix.de> <570BE48F.60801@hurleysoftware.com> <570BED7B.9080803@linutronix.de> <570C04C1.40201@hurleysoftware.com> <570D2A46.2050106@linutronix.de> <570D8C16.1010702@hurleysoftware.com> CC: Greg Kroah-Hartman , , , , Andy Shevchenko From: Sekhar Nori Message-ID: <570E295B.2030708@ti.com> Date: Wed, 13 Apr 2016 16:41:23 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <570D8C16.1010702@hurleysoftware.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 905 Lines: 24 On Wednesday 13 April 2016 05:30 AM, Peter Hurley wrote: >>> - generates spurious uart interrupt for every rx dma transaction >>> (ie., necessitates acking every UART interrupt, even UART_IIR_NO_INT) >>> _Even with this workaround_, it still generates spurious interrupt warning >>> which shuts off interrupts for several ms while logging the error >>> message to the console, virtually guaranteeing lost data. >> >> as I wrote in my other email I think RDI should be disabled with DMA > > > I'll test to see if disabling RDI eliminates the UART_IIR_NO_INT spurious > interrupts. > >> according the Intel manual and I *think* someone here reported that >> they see the same problem. > > Let's confirm with the Intel folks that this is true, which would argue > for using the omap-style rx dma flow. Andy Shevchenko pointed this out here: https://lkml.org/lkml/2016/2/23/588 Regards, Sekhar