WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] xen: more robust serial port driver

To: Christoph Egger <Christoph.Egger@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xen: more robust serial port driver
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 28 Jul 2009 15:58:41 +0100
Cc:
Delivery-date: Tue, 28 Jul 2009 07:59:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200907281647.36341.Christoph.Egger@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoPkmGDPc+q47g3RPm5iTUYC/HtlgAAYN5E
Thread-topic: [Xen-devel] [PATCH] xen: more robust serial port driver
User-agent: Microsoft-Entourage/12.20.0.090605
On 28/07/2009 15:47, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

>> Might this be the case for the udelay(100) as
>> well?
> 
> No. This ensures, that the write takes effect before the read happens.

Can a read really overtake a write in this case? Seriously?

>> And what kinds of systems have these broken UARTs that half-advertise
>> a broken/non-existent FIFO?
> 
> The original ns16550 has a broken FIFO. The ns16450 has no FIFO.
> There are simulators which simulate those old things instead of a ns16550a.

Hm, well, okay, the actual one line core of this patch actually seems okay
to me. It's all the rest I want to drop on the floor.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel