]> git.baikalelectronics.ru Git - kernel.git/commit
vfio-ccw: Wire in the request callback
authorEric Farman <farman@linux.ibm.com>
Thu, 3 Dec 2020 21:35:12 +0000 (22:35 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 3 Dec 2020 23:21:08 +0000 (16:21 -0700)
commit61f7161539d6b7fc6d2535824ad6a4e6d6a58df2
tree35d0aad0c4d9fe4a87a40e51c8d7ae0db100d70d
parent0978547c4df5e3c864671bf440a471ebaa8d0d14
vfio-ccw: Wire in the request callback

The device is being unplugged, so pass the request to userspace to
ask for a graceful cleanup. This should free up the thread that
would otherwise loop waiting for the device to be fully released.

Signed-off-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/s390/cio/vfio_ccw_ops.c
drivers/s390/cio/vfio_ccw_private.h
include/uapi/linux/vfio.h