]> asedeno.scripts.mit.edu Git - linux.git/commit
s390/qdio: lock device while installing IRQ handler
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Wed, 21 Mar 2018 16:17:14 +0000 (17:17 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 10 Apr 2018 05:38:58 +0000 (07:38 +0200)
commit7eee12b44eb4c0c30b0eac5946fb59f1460572f6
treef9d33dcc31270e5f9b89d58111375db5ee0aa4d2
parent89286320a236d245834075fa13adb0bdd827ecaa
s390/qdio: lock device while installing IRQ handler

During setup, qdio takes control of the presented ccw device and replaces
the device's IRQ handler with its own. To avoid any interference with
conccurent activity on the device, this should be done while holding the
device's lock.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/qdio_setup.c