]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:22:40 +0000 (16:22 -0800)
commitb318606e41620d2fee78444ae54533a323108e2b
tree569f5cd0eef502de60d2004e2f2fb60177148dda
parente05947b4e09d7cc3e4811a3fe0e6a1d83a9805cd
xen/hvc: make sure console output is always emitted, with explicit polling

commit 7825cf10e31c64ece3cac66fb01a742f1094da51 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/hvc_xen.c