Re: [PATCH v8 03/16] s390/vfio-ap: manage link between queue struct and matrix mdev

2020-06-17 Thread Tony Krowiak
On 6/16/20 1:50 PM, Christian Borntraeger wrote: On 05.06.20 23:39, Tony Krowiak wrote: [...] +static void vfio_ap_mdev_link_queues(struct ap_matrix_mdev *matrix_mdev, +enum qlink_type type, +unsigned long qlink_id) +{

Re: [PATCH v8 03/16] s390/vfio-ap: manage link between queue struct and matrix mdev

2020-06-16 Thread Christian Borntraeger
On 05.06.20 23:39, Tony Krowiak wrote: [...] > +static void vfio_ap_mdev_link_queues(struct ap_matrix_mdev *matrix_mdev, > + enum qlink_type type, > + unsigned long qlink_id) > +{ > + unsigned long id; > + struct

[PATCH v8 03/16] s390/vfio-ap: manage link between queue struct and matrix mdev

2020-06-05 Thread Tony Krowiak
A vfio_ap_queue structure is created for each queue device probed. To ensure that the matrix mdev to which a queue's APQN is assigned is linked to the queue structure as long as the queue device is bound to the vfio_ap device driver, let's go ahead and manage these links when the queue device is