Skip to content

s390/vfio-ap: fix two problems discovered in the vfio_ap driver

Tony Krowiak kvm linux-s390 lkml stable 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 11 repliesIn review
  2. v22 patches 5 repliesSuperseded
  3. v12 patches 2 repliesSuperseded

Changes in v3 from the cover letter

--------------------
* 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)

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2s390/vfio-ap: bypass unnecessary processing of AP resourcesdrivers/s390/crypto/vfio_ap_ops.c+30 -03 replies
2/2s390/vfio-ap: fix unlinking of queues from the mdevdrivers/s390/crypto/vfio_ap_ops.c+2 -43 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchHalil Pasic
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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(-)
Signature · 1 line
2.31.1