lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20081126150413.7ceac766@pedra.chehab.org>
Date:	Wed, 26 Nov 2008 15:04:13 -0200
From:	Mauro Carvalho Chehab <mchehab@...hat.com>
To:	Alan Cox <alan@...rguk.ukuu.org.uk>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] 8250: fix boot hang with serial console when using with
 Serial Over Lan port

Hi Alan,

On Wed, 26 Nov 2008 15:55:51 +0000
Alan Cox <alan@...rguk.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ