]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
s390/sclp: add parameter to specify number of buffer pages
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 24 May 2013 10:30:03 +0000 (12:30 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Jun 2013 19:10:03 +0000 (21:10 +0200)
commit25b41a7b67ee4f4d12cee8a4b8b5929e36c27e29
tree519be1cacdb7a23ff314ade0cec813c6d59b1af9
parent92820a5f99748b02a3713a314d81e2fd0b6b2f80
s390/sclp: add parameter to specify number of buffer pages

Add a kernel parameter to be able to specify the number of pages to be
used as output buffer by the line-mode sclp driver and the vt220 sclp
driver. The current number of output pages is 6, if the service element
is unavailable the boot messages alone can fill up the output buffer.
If this happens the system blocks until the service element is working
again. For a large LPAR with many devices it is sensible to have the
ability to increase the output buffer size. To help to debug this
situation add a counter for the page-pool-empty situation and make it
available as a sclp driver attribute.
To avoid the system to stall until the service element works again
add another kernel parameter to allow to drop output buffers.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/sclp.c
drivers/s390/char/sclp.h
drivers/s390/char/sclp_con.c
drivers/s390/char/sclp_vt220.c