mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] 8250: fix boot hang with serial console when using with Serial Over Lan port
Date: Wed, 26 Nov 2008 15:04:13 -0200	[thread overview]
Message-ID: <20081126150413.7ceac766@pedra.chehab.org> (raw)
In-Reply-To: <20081126155551.2f05f456@lxorguk.ukuu.org.uk>

Hi Alan,

On Wed, 26 Nov 2008 15:55:51 +0000
Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:

> > +	/* Serial over Lan (SoL) hack:
> > +	   Intel 8257x Gigabit ethernet chips have a
> > +	   16550 emulation, to be used for Serial Over Lan.
> > +	   Those chips take a longer time than a normal
> > +	   serial device to signalize that a transmission
> > +	   data was queued. Due to that, the above test generally
> > +	   fails. One solution would be to delay the reading of
> > +	   iir. However, this is not reliable, since the timeout
> > +	   is variable. So, let's just don't test if we receive
> > +	   TX irq. This way, we'll never enable UART_BUG_TXEN.
> > +	 */
> > +	if (up->port.flags & UPF_SOL_UART)
> > +		goto dont_test_tx_irq;
> > +
> 
> In the interest of trying to keep the driver sane can that become
> "UPF_NO_TXEN_TEST" or similar so the same quirk can be applied to other
> devices with the problem (ditto the pci_intel_sol_setup name could be
> generalised and the message could give a pci id and "skipping TxEn test"
> as a debug level note)

Done. I'm submitting the resulting patch in the sequence.

> Otherwise looks fine to me
> 
> (please cc me on serial patches: I think you meant to cc me and Andrew as
> you cc'd the mysterious "Alan Morton").

Yes, that was the idea :)

Thanks,
Mauro

      reply	other threads:[~2008-11-26 17:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-26 15:48 Mauro Carvalho Chehab
2008-11-26 15:55 ` Alan Cox
2008-11-26 17:04   ` Mauro Carvalho Chehab [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=20081126150413.7ceac766@pedra.chehab.org \
    --to=mchehab@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®