]> git.baikalelectronics.ru Git - kernel.git/commit
xen/hvc: make sure console output is always emitted, with explicit polling
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 20 Oct 2009 06:28:21 +0000 (15:28 +0900)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Tue, 3 Nov 2009 19:05:51 +0000 (11:05 -0800)
commite00d14a3a00937841e6105807b270bf0ca2608a9
tree45de3111641487d1deb18cfb86200113e2427b0b
parentb6871182e66c6065e82f937b6c35fd1cab34f85c
xen/hvc: make sure console output is always emitted, with explicit polling

We never want to rely on the hvc workqueue to emit output, because the
most interesting output is when the kernel is broken.  This will
improve oops/crash/console message for better debugging.

Instead, we force-poll until all output is emitted.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Stable Kernel <stable@kernel.org>
drivers/char/hvc_xen.c