vfio: ccw: process ssch with interrupts disabled
authorCornelia Huck <cohuck@redhat.com>
Fri, 20 Apr 2018 08:24:04 +0000 (10:24 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 23 Apr 2018 05:57:17 +0000 (07:57 +0200)
commit3368e547c52b96586f0edf9657ca12b94d8e61a7
tree24c6dc9eb7f07f66e293000237751639548a2833
parent2317b07d05d2b136eb4dc9609807c9111bda3b2a
vfio: ccw: process ssch with interrupts disabled

When we call ssch, an interrupt might already be pending once we
return from the START SUBCHANNEL instruction. Therefore we need to
make sure interrupts are disabled while holding the subchannel lock
until after we're done with our processing.

Cc: stable@vger.kernel.org #v4.12+
Reviewed-by: Dong Jia Shi <bjsdjshi@linux.ibm.com>
Acked-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Acked-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/vfio_ccw_fsm.c