]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qdio: improve handling of CIWs
authorJulian Wiedmann <jwi@linux.ibm.com>
Thu, 8 Jul 2021 06:49:28 +0000 (08:49 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 6 Dec 2021 13:42:24 +0000 (14:42 +0100)
commit62b661cee8eb28f5094c0e809c2d4c9505e27b46
tree8e026e17823aaf3c3f5060c183f91f57817b974a
parent09813993b6d176bda257b23fd67dfb031f925813
s390/qdio: improve handling of CIWs

Fetch the individual CIWs when we actually need them, rather than
fetching both of them in qdio_setup_irq() and then needing to cache
them inside the qdio_irq.

Also deal with the error when a CIW is not available, instead of
silently dropping this error condition in qdio_setup_irq()'s caller.

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