Re: [PATCH -rt] buggy UART fix

From: Ingo Molnar
Date: Tue Feb 28 2006 - 14:44:06 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> Ingo,
>
> I'm not sure if this is the correct fix, but it fixes a problem on one
> of our boards. The uart does't set the IIR register upon receiving an
> interrupt for transmit. Thus we get processes stuck waiting to send
> data out.
>
> This doesn't seem to be a problem on vanilla, and I'm not sure why.
> Perhaps the scheduling doesn't ever let the transmit buffer get full?
> Well I haven't look too much into the vanilla side.
>
> This patch forces the processing of the interrupt even if the iir
> doesn't show that there was an interrupt, iff the uart has been
> detected as buggy (which our board's uart is ) and the interrupt
> hasn't already handled it.

thx, applied.

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/