mbox series

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

Message ID 20220817225242.188805-1-akrowiak@linux.ibm.com (mailing list archive)
Headers show
Series s390/vfio-ap: fix two problems discovered in the vfio_ap driver | expand

Message

Anthony Krowiak Aug. 17, 2022, 10:52 p.m. UTC
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.

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

Comments

Alexander Gordeev Aug. 18, 2022, 8:04 a.m. UTC | #1
On Wed, Aug 17, 2022 at 06:52:40PM -0400, Tony Krowiak wrote:
> Two problems have been discovered with the vfio_ap device driver since the
> hot plug support was recently introduced:

Hi Tony,

Could you please add Fixes tags to the patches?

Thanks!
Anthony Krowiak Aug. 18, 2022, 1:18 p.m. UTC | #2
On 8/18/22 4:04 AM, Alexander Gordeev wrote:
> On Wed, Aug 17, 2022 at 06:52:40PM -0400, Tony Krowiak wrote:
>> Two problems have been discovered with the vfio_ap device driver since the
>> hot plug support was recently introduced:
> Hi Tony,
>
> Could you please add Fixes tags to the patches?


Will do.


>
> Thanks!