Re: [PATCH v11 09/14] s390/vfio-ap: allow assignment of unavailable AP queues to mdev device

2020-10-28 Thread Halil Pasic
On Thu, 22 Oct 2020 13:12:04 -0400 Tony Krowiak wrote: > +static int vfio_ap_mdev_validate_masks(struct ap_matrix_mdev *matrix_mdev, > +unsigned long *mdev_apm, > +unsigned long *mdev_aqm) > +{ > + if

[PATCH v11 09/14] s390/vfio-ap: allow assignment of unavailable AP queues to mdev device

2020-10-22 Thread Tony Krowiak
The current implementation does not allow assignment of an AP adapter or domain to an mdev device if each APQN resulting from the assignment does not reference an AP queue device that is bound to the vfio_ap device driver. This patch allows assignment of AP resources to the matrix mdev as long as