]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Revert "hvc_console: display printk messages on console."
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Nov 2011 06:22:16 +0000 (22:22 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 7 Nov 2011 06:22:16 +0000 (22:22 -0800)
commit31555213f03bca37d2c02e10946296052f4ecfcd
tree8fdd0ad6f3171fe493b2888616997df29abd4b34
parent0084e4751e63a71b30f315710f976f8bb0c2cc07
Revert "hvc_console: display printk messages on console."

This reverts commit 361162459f62dc0826b82c9690a741a940f457f0.

It causes an infinite loop when booting Linux under Xen, as so:

  [    2.382984] console [hvc0] enabled
  [    2.382984] console [hvc0] enabled
  [    2.382984] console [hvc0] enabled
  ...

as reported by Konrad Rzeszutek Wilk.  And Rusty reports the same for
lguest.  He goes on to say:

   "This is not a concurrency problem: the issue seems to be that
    calling register_console() twice on the same struct console is a bad
    idea."

and Greg says he'll fix it up properly at some point later. Revert for now.

Reported-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reported-by: Rusty Russell <rusty@ozlabs.org>
Requested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Miche Baker-Harvey <miche@google.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/tty/hvc/hvc_console.c