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)
commitc920c545286270302d29fd63c05c3bd84828daee
treea046464a6845636db134cf0ad93462592ced3618
parent3d6c6f20d961209972a075ddc50b9a7207e9796e
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