vfio: ccw: process ssch with interrupts disabled
authorCornelia Huck <[email protected]>
Fri, 20 Apr 2018 08:24:04 +0000 (10:24 +0200)
committerMartin Schwidefsky <[email protected]>
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: [email protected] #v4.12+
Reviewed-by: Dong Jia Shi <[email protected]>
Acked-by: Halil Pasic <[email protected]>
Acked-by: Pierre Morel <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
drivers/s390/cio/vfio_ccw_fsm.c