]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
hvc_console: Remove tty->low_latency on pseries backends
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 9 Mar 2009 14:36:15 +0000 (14:36 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 10 Mar 2009 23:44:26 +0000 (10:44 +1100)
commit187cfc439f7b1a7c91ff72d561b2a7c9c0b83431
treef75cc9c96af4efad5071c5d95a49e013248a07b3
parentd301a9f3ffc93b45744535e0b60fb9d6f6825773
hvc_console: Remove tty->low_latency on pseries backends

The hvcs and hvsi backends both set tty->low_latency to one, along
with more or less scary comments regarding bugs or races that would
happen if not doing so.

However, they also both call tty_flip_buffer_push() in conexts where
it's illegal to do so since some recent tty changes (or at least it
may have been illegal always but it nows blows) when low_latency is
set (ie, hard interrupt or with spinlock held and irqs disabled).

This removes the setting for now to get them back to working condition,
we'll have to address the races described in the comments separately
if they are still an issue (some of this might have been fixed already).

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/char/hvcs.c
drivers/char/hvsi.c