s390/sclp: Add VT220 support to early sclp console
authorSascha Silbe <silbe@linux.vnet.ibm.com>
Tue, 24 Nov 2015 15:28:55 +0000 (16:28 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 27 Nov 2015 08:24:17 +0000 (09:24 +0100)
commit3f975df69dba78834471b7133dcb8c8ddf7f986a
tree572cdf72e9c514bfd5c6f89e69fee55b0be929d5
parent561e103002696a17907ac5bbccec551e32de3b7f
s390/sclp: Add VT220 support to early sclp console

When running under qemu with the default configuration (-nographic),
there is only a VT220 SCLP console, no line-mode SCLP console. Add
VT220 support to the early SCLP console so the user has a chance to
see critical error messages during early boot.

None of the existing users of _sclp_print_early() check the return
code. Instead of trying to come up with return code semantics when
printing to multiple consoles (any or all of which may fail), we just
drop the return code entirely.

Tested on z/VM (line mode console) and LPAR (VT220 and line mode
console). Tested on qemu/KVM with VT220 console and / or line mode
console.

Signed-off-by: Sascha Silbe <silbe@linux.vnet.ibm.com>
Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/sclp.h
arch/s390/kernel/sclp.c