Re: serial8250: bogus low_latency destabilizes kernel, need sanity check

2014-02-04 Thread Peter Hurley
On 02/03/2014 06:10 AM, One Thousand Gnomes wrote: On Sat, 01 Feb 2014 10:09:03 -0500 Peter Hurley wrote: On 01/14/2014 11:24 AM, Pavel Roskin wrote: Hi Alan, Quoting One Thousand Gnomes : Maybe we should unset the low_latency flag as soon as DMA fails? There are two flags, one is state->

Re: serial8250: bogus low_latency destabilizes kernel, need sanity check

2014-02-03 Thread One Thousand Gnomes
On Sat, 01 Feb 2014 10:09:03 -0500 Peter Hurley wrote: > On 01/14/2014 11:24 AM, Pavel Roskin wrote: > > Hi Alan, > > > > Quoting One Thousand Gnomes : > > > >>> Maybe we should unset the low_latency flag as soon as DMA fails? There > >>> are two flags, one is state->uart_port->flags and the oth

Re: serial8250: bogus low_latency destabilizes kernel, need sanity check

2014-02-01 Thread Peter Hurley
On 01/14/2014 11:24 AM, Pavel Roskin wrote: Hi Alan, Quoting One Thousand Gnomes : Maybe we should unset the low_latency flag as soon as DMA fails? There are two flags, one is state->uart_port->flags and the other is port->low_latency. I guess we need to unset both. Well low latency and DM

Re: serial8250: bogus low_latency destabilizes kernel, need sanity check

2014-01-14 Thread Pavel Roskin
Hi Alan, Quoting One Thousand Gnomes : Maybe we should unset the low_latency flag as soon as DMA fails? There are two flags, one is state->uart_port->flags and the other is port->low_latency. I guess we need to unset both. Well low latency and DMA are pretty much exclusive in the real world

Re: serial8250: bogus low_latency destabilizes kernel, need sanity check

2014-01-14 Thread One Thousand Gnomes
> Maybe we should unset the low_latency flag as soon as DMA fails? There > are two flags, one is state->uart_port->flags and the other is > port->low_latency. I guess we need to unset both. Well low latency and DMA are pretty much exclusive in the real world so probably DMA ports shouldn't allow

serial8250: bogus low_latency destabilizes kernel, need sanity check

2014-01-13 Thread Pavel Roskin
Hello! I've been debugging an instability of a kernel on some 32-bit x86 embedded system. The kernel would just hang randomly. I had to enable most debug options to find the reason. The system has several serial ports, including ttyS4. There is also a file called /etc/serial.conf that contains