]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitef5a38358a57756ce18d9960377198ba7a1c8b11
tree24c6dc9eb7f07f66e293000237751639548a2833
parenta137d3680b0816ffda8b7a5600f2f39f59bf99de
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