Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932530AbWB1Tqa (ORCPT ); Tue, 28 Feb 2006 14:46:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932533AbWB1Tqa (ORCPT ); Tue, 28 Feb 2006 14:46:30 -0500 Received: from mx2.mail.elte.hu ([157.181.151.9]:46050 "EHLO mx2.mail.elte.hu") by vger.kernel.org with ESMTP id S932530AbWB1Tq3 (ORCPT ); Tue, 28 Feb 2006 14:46:29 -0500 Date: Tue, 28 Feb 2006 20:45:03 +0100 From: Ingo Molnar To: Steven Rostedt Cc: Thomas Gleixner , LKML Subject: Re: [PATCH -rt] buggy UART fix Message-ID: <20060228194503.GB23453@elte.hu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-ELTE-SpamScore: -2.3 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.3 required=5.9 tests=ALL_TRUSTED,AWL autolearn=no SpamAssassin version=3.0.3 -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.6 AWL AWL: From: address is in the auto white-list X-ELTE-VirusStatus: clean Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 994 Lines: 27 * Steven Rostedt 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/