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)
commitbd3a025dd22c500d33960b0a1fcf92e27514332c
tree8e026e17823aaf3c3f5060c183f91f57817b974a
parent764fc3187c3fae5e620a435b42c9cc0e813a903d
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