LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Benjamin LaHaise <bcrl@kvack.org>,
	akpm@osdl.org, linux-serial@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] serial: remove "too much work for irq" printk
Date: Sat, 12 Jan 2008 13:39:00 -0800	[thread overview]
Message-ID: <47893374.4080102@zytor.com> (raw)
In-Reply-To: <20080112212457.3bf534af@lxorguk.ukuu.org.uk>

Alan Cox wrote:
> On Sat, 12 Jan 2008 15:15:43 -0500
> Benjamin LaHaise <bcrl@kvack.org> wrote:
> 
>> When using kvm with a serial console, the serial driver will print out 
>> "too much work for irq4" on any heavy activity (ie vi on a file repainting 
>> the terminal).  This message is entirely spurious, as output continues to 
>> work fine.  Remove the message as it corrupts screen output and is far too 
>> easy to trigger.
> 
> NAK. This is a qemu/kvm emulation bug. The real check is there to catched
> jammed IRQs and combined with the IRQ bug handling nowdays does actually
> do the intended job.
> 
> Our serial port code (correctly) interprets a continuous stream of bytes
> at an impossible bit rate as an error. KVM should be emulating to some
> extent at least the timing on serial interfaces or using a virtualised
> interface.
> 

This is going to put trouble in other places unless, at least, it can be 
turned off.  The UART serial interface is heavily emulated as a console 
interface without an actual serial port behind it, both in hardware and 
software.  Rates will typically vastly exceed real serial port rates, 
especially emulating 16450 or 16550 (which is typical) which are limited 
to 115200 bps.

	-hpa

  reply	other threads:[~2008-01-12 21:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-12 20:15 [PATCH] serial: remove "too much work for irq" printk Benjamin LaHaise
2008-01-12 20:21 ` Christoph Hellwig
2008-01-12 21:24 ` Alan Cox
2008-01-12 21:39   ` H. Peter Anvin [this message]
2008-01-12 21:42     ` Alan Cox
2008-01-12 21:58       ` H. Peter Anvin
2008-01-13 22:03   ` Pavel Machek

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=47893374.4080102@zytor.com \
    --to=hpa@zytor.com \
    --cc=akpm@osdl.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=bcrl@kvack.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@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;
as well as URLs for NNTP newsgroup(s).