s390/debug: improve debug_event
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 9 Oct 2017 15:49:38 +0000 (17:49 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 18 Oct 2017 12:11:19 +0000 (14:11 +0200)
commit94158e544fd60c6a94af348790dae76578ed8dae
treee0281c7e55dc2e7ac77d7e1f3270d3d35c1515ac
parent7c3eaaa3917d8b5491f58ea263bf6e719fd3155f
s390/debug: improve debug_event

debug_event currently truncates the data if used with a size larger than
the buf_size of the debug feature. For lots of callers of this function,
wrappers have been implemented that loop until all data is handled.

Move that functionality into debug_event_common and get rid of the wrappers.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Acked-by: Michael Holzheu <holzheu@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pci_debug.h
arch/s390/kernel/debug.c
drivers/s390/block/scm_blk.h
drivers/s390/cio/chsc_sch.c
drivers/s390/cio/cio_debug.h
drivers/s390/cio/eadm_sch.c
drivers/s390/cio/qdio_debug.h