]> git.karo-electronics.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, 5 Jun 2013 15:36:28 +0000 (17:36 +0200)
commit2c810b1391b16945f8bbb0d71f3719b48f2e2080
tree1de9f7d935d7055deb8238f4172677a240d78b96
parenta1412d9bbd08bee2eefc0dbad95534b66afc8c1b
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.

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