1 From 51d33021425e1f905beb4208823146f2fb6517da Mon Sep 17 00:00:00 2001
2 From: Anton Blanchard <anton@samba.org>
3 Date: Tue, 5 Jul 2011 21:51:36 +0000
4 Subject: powerpc/pseries/hvconsole: Fix dropped console output
6 From: Anton Blanchard <anton@samba.org>
8 commit 51d33021425e1f905beb4208823146f2fb6517da upstream.
10 Return -EAGAIN when we get H_BUSY back from the hypervisor. This
11 makes the hvc console driver retry, avoiding dropped printks.
13 Signed-off-by: Anton Blanchard <anton@samba.org>
14 Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 arch/powerpc/platforms/pseries/hvconsole.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
21 --- a/arch/powerpc/platforms/pseries/hvconsole.c
22 +++ b/arch/powerpc/platforms/pseries/hvconsole.c
23 @@ -73,7 +73,7 @@ int hvc_put_chars(uint32_t vtermno, cons