]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc95bb9ae4001fb478f018b29c6cd7dae43a57cbc
treee0281c7e55dc2e7ac77d7e1f3270d3d35c1515ac
parent274d03f83b2fb3d3f1a22c6b232af5bb98dca3bf
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