]> git.karo-electronics.de Git - karo-tx-linux.git/commit
powerpc/pseries/hvconsole: Fix dropped console output
authorAnton Blanchard <anton@samba.org>
Tue, 5 Jul 2011 21:51:36 +0000 (21:51 +0000)
committerWilly Tarreau <w@1wt.eu>
Sat, 11 Feb 2012 14:37:37 +0000 (15:37 +0100)
commit0ad5c66579b38136f24d0d9fcc932a0ae3f7b175
treebec8b122201da2ad9d6257033dce7171609e410e
parentc21fda2a530ae79bed0696798b1f2397577eda78
powerpc/pseries/hvconsole: Fix dropped console output

commit 51d33021425e1f905beb4208823146f2fb6517da upstream.

Return -EAGAIN when we get H_BUSY back from the hypervisor. This
makes the hvc console driver retry, avoiding dropped printks.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Willy Tarreau <w@1wt.eu>
arch/powerpc/platforms/pseries/hvconsole.c