]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qdio: track time of last data IRQ for each device
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 15 Sep 2020 07:04:39 +0000 (10:04 +0300)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 9 Feb 2021 14:57:04 +0000 (15:57 +0100)
commita72d3c402fb5bd5c954e941d9096ee24d7fd8191
tree5d3e69938e51504989a0be8a96337c5e0359dfb7
parent9890df0271228dfbe0ca8155224a760cc172383e
s390/qdio: track time of last data IRQ for each device

We currently track the time of the most recent QDIO Adapter Interrupt.
This is a system-wide timestamp (as such interrupts are not bound to
one specific qdio device).

If interrupt processing stalls on one device but is functional for a
different device, the timestamp continues to be updated and is of no
help for problem diagnosis.
So for debugging purposes also track the time of the last Data IRQ on
a per-device level. Collect this data in the legacy non-AI path as well.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/cio/qdio.h
drivers/s390/cio/qdio_debug.c
drivers/s390/cio/qdio_main.c
drivers/s390/cio/qdio_thinint.c