]> git.baikalelectronics.ru Git - kernel.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)
commit9546324b8c821e309b713d11750dbb9aecc000f5
tree8fdd0ad6f3171fe493b2888616997df29abd4b34
parent048fa2958e1a0fb46bb352a0eafe152561f89525
Revert "hvc_console: display printk messages on console."

This reverts commit 5d0451333c8e939321cfdf06071cc2ca17a8d633.

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