]> git.baikalelectronics.ru Git - kernel.git/commit
s390/cio: fix irq statistics
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Thu, 25 Apr 2013 11:01:39 +0000 (13:01 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 26 Apr 2013 07:07:13 +0000 (09:07 +0200)
commit6bb39d8145879d2d7724f6d4fb3415e9db3bf30c
tree3f927e65395aa4a4a180a45dcf34dbc2918c9aea
parent9d058950868d06c17c3e4ee360a0ef4aef2bd660
s390/cio: fix irq statistics

When we fetch an interrupt on the CCW console using tsch (via
ccw_device_wait_idle formerly known as wait_cons_dev) we increment
the irq count for the affected interruption class but it is not
accounted as an IO interrupt.

This is broken since commit 281d839a5d85fa5dc3e0c7a12c39568d5bf63ff3
"s390: remove superfluous tpi from wait_cons_dev"

Fix it so that the sum of the individual interrupts per class matches
the number of IO interrupts again.

Reported-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/cio.c