]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qdio: warn about unexpected SLSB states
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 2 Jun 2020 12:26:36 +0000 (14:26 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 17 Jun 2020 21:05:05 +0000 (23:05 +0200)
commit098f87ed5b5bd32d4fa1f4711e70eee50fafdbce
treea046464a6845636db134cf0ad93462592ced3618
parent9f8ebaef716048951ee4c1c912789d06641a23c4
s390/qdio: warn about unexpected SLSB states

The way we produce SBALs to the device (first update q->nr_buf_used,
then update the SLSB) should ensure that we never see some of the
SLSB states when scanning the queue for progress.
So make some noise if we do, this implies a bug in our SBAL tracking.

Also tweak the WARN msg to provide more information.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/cio/qdio_main.c