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 v2 => v3:
--------------------
* Replaced the wrong commit IDs in the 'Fixes' tags in both patches.
(Halil and Alexander)
* Changed the subject line and description of patch 01/02 to better reflect the
code changes in the patch. (Halil)
Tony Krowiak (2):
s390/vfio-ap: bypass unnecessary processing of AP resources
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(-)