[PATCH v2 0/2] s390/vfio-ap: fix two problems discovered in the vfio_ap driver

Tony Krowiak posted 2 patches 3 years, 7 months ago
There is a newer version of this series
drivers/s390/crypto/vfio_ap_ops.c | 36 +++++++++++++++++++++++++++----
1 file changed, 32 insertions(+), 4 deletions(-)
[PATCH v2 0/2] s390/vfio-ap: fix two problems discovered in the vfio_ap driver
Posted by Tony Krowiak 3 years, 7 months ago
Two problems have been discovered with the vfio_ap device driver since the
hot plug support was recently introduced:

1. Attempting to remove a matrix mdev after assigning a duplicate adapter
   or duplicate domain results in a hang.

2. The queues associated with an adapter or domain being unassigned from
   the matrix mdev do not get unlinked from it.

Two patches are provided to resolve these problems.

Change log v1 => v2:
====================
* Added Fixes: tags to both patches
* Copying stable@vger.kernel.org

Tony Krowiak (2):
  s390/vfio-ap: fix hang during removal of mdev after duplicate
    assignment
  s390/vfio-ap: fix unlinking of queues from the mdev

 drivers/s390/crypto/vfio_ap_ops.c | 36 +++++++++++++++++++++++++++----
 1 file changed, 32 insertions(+), 4 deletions(-)

-- 
2.31.1