All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Egger <Christoph.Egger@amd.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: [PATCH] xen: more robust serial port driver
Date: Tue, 28 Jul 2009 17:03:11 +0200	[thread overview]
Message-ID: <200907281703.12002.Christoph.Egger@amd.com> (raw)
In-Reply-To: <C694D0B1.10D0D%keir.fraser@eu.citrix.com>

On Tuesday 28 July 2009 16:58:41 Keir Fraser wrote:
> On 28/07/2009 15:47, "Christoph Egger" <Christoph.Egger@amd.com> 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?

In real world this can happen on embedded devices, Xen doesn't support.
In simulators, things may differ from real hw.

> >> 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.

Oh, I just noticed that there's a missing '__init' in the function definition
of check_existence. Please add it. Tnx.

Christoph


-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

      reply	other threads:[~2009-07-28 15:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-28 14:07 [PATCH] xen: more robust serial port driver Christoph Egger
2009-07-28 14:15 ` Keir Fraser
2009-07-28 14:47   ` Christoph Egger
2009-07-28 14:58     ` Keir Fraser
2009-07-28 15:03       ` Christoph Egger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200907281703.12002.Christoph.Egger@amd.com \
    --to=christoph.egger@amd.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.