]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
powerpc/hvsi: Increase handshake timeout from 200ms to 400ms.
authorEugene Surovegin <ebs@ebshome.net>
Mon, 26 Aug 2013 18:53:32 +0000 (11:53 -0700)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 27 Aug 2013 06:59:56 +0000 (16:59 +1000)
commitd220980b701d838560a70de691b53be007e99e78
tree7936a1bd72201b34c14180184b5741a59822f0b0
parentbdbc29c19b2633b1d9c52638fb732bcde7a2031a
powerpc/hvsi: Increase handshake timeout from 200ms to 400ms.

This solves a problem observed in kexec'ed kernel where 200ms timeout is
too short and bootconsole fails to initialize. Console did eventually
become workable but much later into the boot process.

Observed timeout was around 260ms, but I decided to make it a little bigger
for more reliability.

This has been tested on Power7 machine with Petitboot as a primary
bootloader and PowerNV firmware.

CC: <stable@vger.kernel.org>
Signed-off-by: Eugene Surovegin <surovegin@google.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/tty/hvc/hvsi_lib.c