]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
Xilinx: ARM: UART: fixed UART0 lockup issue during resets
authorJohn Linn <john.linn@xilinx.com>
Fri, 27 May 2011 16:55:13 +0000 (10:55 -0600)
committerJohn Linn <john.linn@xilinx.com>
Fri, 27 May 2011 17:00:21 +0000 (11:00 -0600)
commit48b0a72d11e0a8a8461f3a8260c7bafd6a60c16c
tree2c855db1c5eaae8b39de743815102b334b3f5f2f
parent817da8135dc3d5da24567a13219c520edf3eb865
Xilinx: ARM: UART: fixed UART0 lockup issue during resets

The new UART driver that is going into 2.6.40 in the mainline
seemed to add a new bug with the disable of irqs in the
console write function. There is some interaction between
the console polled code and the non-console interrupt
code.

Since the startup and shutdown functions were messing
with interrupts also but not using the port lock the driver
could get into a state such that interrupts were disabled
for UART0 and UART1 was still working because the console
polled code was only running on UART0.

DT 612129 documented the issues seen. It seemed to get much
worse on 2.6.39 but could be replicated with 2.6.38 and the
new driver with enough time. 9600 baud also seemed to find
the problem much sooner than 115k.

This will need need to be patched in the mainline also.
drivers/tty/serial/xilinx_uartps.c