]> 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)
commitba0f884a3fbfbd7a0ce2a954c68a98bdbdca646d
tree24c6dc9eb7f07f66e293000237751639548a2833
parenta3003c7845c63c83b35e2d4fda087dccb6633015
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