s390/qdio: fix statistics for 128 SBALs
authorJulian Wiedmann <jwi@linux.ibm.com>
Mon, 15 Jun 2020 15:23:11 +0000 (17:23 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 20 Jul 2020 08:55:18 +0000 (10:55 +0200)
commit529683d4705b6b1fa1c2f902e859ad6a8d17e31e
tree989627a0fd08c2ebecf0f2eecdaab0ec93a9e857
parent7904aaa8b22fa07fd5457ee4a885cf9f665cb9c4
s390/qdio: fix statistics for 128 SBALs

Old code would only scan up to 127 SBALs at once. So the last statistics
bucket was set aside to count "discovered 127 SBALs with new work"
events.

But nowadays we allow to scan all 128 SBALs for Output Queues, and a
subsequent patch will introduce the same for Input Queues.
So fix up the accounting to use the last bucket only when all 128 SBALs
have been discovered with new work.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
drivers/s390/cio/qdio.h
drivers/s390/cio/qdio_debug.c
drivers/s390/cio/qdio_main.c