Re: [PATCH v12 05/17] s390/vfio-ap: manage link between queue struct and matrix mdev

2020-12-14 Thread Tony Krowiak
On 11/26/20 9:08 AM, Halil Pasic wrote: On Tue, 24 Nov 2020 16:40:04 -0500 Tony Krowiak wrote: @@ -1155,6 +1243,11 @@ static int vfio_ap_mdev_reset_queues(struct mdev_device *mdev) matrix_mdev->matrix.apm_max + 1) { for_each_set_bit_inv(apqi,

Re: [PATCH v12 05/17] s390/vfio-ap: manage link between queue struct and matrix mdev

2020-12-14 Thread Tony Krowiak
On 11/26/20 9:45 AM, Halil Pasic wrote: On Tue, 24 Nov 2020 16:40:04 -0500 Tony Krowiak wrote: Let's create links between each queue device bound to the vfio_ap device driver and the matrix mdev to which the queue is assigned. The idea is to facilitate efficient retrieval of the objects

Re: [PATCH v12 05/17] s390/vfio-ap: manage link between queue struct and matrix mdev

2020-11-26 Thread Halil Pasic
On Tue, 24 Nov 2020 16:40:04 -0500 Tony Krowiak wrote: > Let's create links between each queue device bound to the vfio_ap device > driver and the matrix mdev to which the queue is assigned. The idea is to > facilitate efficient retrieval of the objects representing the queue > devices and

Re: [PATCH v12 05/17] s390/vfio-ap: manage link between queue struct and matrix mdev

2020-11-26 Thread Halil Pasic
On Tue, 24 Nov 2020 16:40:04 -0500 Tony Krowiak wrote: > @@ -1155,6 +1243,11 @@ static int vfio_ap_mdev_reset_queues(struct > mdev_device *mdev) >matrix_mdev->matrix.apm_max + 1) { > for_each_set_bit_inv(apqi, matrix_mdev->matrix.aqm, >

[PATCH v12 05/17] s390/vfio-ap: manage link between queue struct and matrix mdev

2020-11-24 Thread Tony Krowiak
Let's create links between each queue device bound to the vfio_ap device driver and the matrix mdev to which the queue is assigned. The idea is to facilitate efficient retrieval of the objects representing the queue devices and matrix mdevs as well as to verify that a queue assigned to a matrix