Re: [PATCH] vfio-ccw: process ssch with interrupts disabled

From: Halil Pasic
Date: Thu Apr 19 2018 - 08:03:03 EST




On 04/13/2018 04:05 PM, Cornelia Huck wrote:
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 until after we're done with our
processing.

Note that the subchannel lock is the same as the ccwdevice lock that
is mentioned in the documentation for ccw_device_start() and friends.

Signed-off-by: Cornelia Huck<cohuck@xxxxxxxxxx>

Acked-by: Halil Pasic <pasic@xxxxxxxxxxxxxxxxxx>