]> git.karo-electronics.de Git - karo-tx-linux.git/commit
s390: provide sclp based boot console
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 11 Jan 2017 08:14:52 +0000 (09:14 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 16 Jan 2017 06:27:55 +0000 (07:27 +0100)
commit89175cf766869307c4f57a7a5f63d2819e76c41b
tree6046a08b5f2c1a012094053aa6287a76058b95c6
parentf0319748599183fa71a1e8792317385313ed946b
s390: provide sclp based boot console

Use the early sclp code to provide a boot console. This boot console
is available if the kernel parameter "earlyprintk" has been specified,
just like it works for other architectures that also provide an early
boot console.

This makes debugging of early problems much easier, since now we
finally have working console output even before memory detection is
running.

The boot console will be automatically disabled as soon as another
console will be registered.

Reviewed-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Documentation/admin-guide/kernel-parameters.txt
arch/s390/Kconfig.debug
arch/s390/include/asm/sclp.h
arch/s390/kernel/Makefile
arch/s390/kernel/early_printk.c [new file with mode: 0644]
arch/s390/kernel/sclp.c