Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-03-13 Thread Pierre Morel
On 12/03/2019 22:39, Tony Krowiak wrote: On 3/3/19 9:09 PM, Halil Pasic wrote: On Fri, 22 Feb 2019 16:29:56 +0100 Pierre Morel wrote: We need to associate the ap_vfio_queue, which will hold the per queue information for interrupt with a matrix mediated device which hold the configuration and

Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-03-12 Thread Tony Krowiak
On 3/3/19 9:09 PM, Halil Pasic wrote: On Fri, 22 Feb 2019 16:29:56 +0100 Pierre Morel wrote: We need to associate the ap_vfio_queue, which will hold the per queue information for interrupt with a matrix mediated device which hold the configuration and the way to the CRYCB. [..] +static int

Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-03-05 Thread Tony Krowiak
On 3/3/19 9:09 PM, Halil Pasic wrote: On Fri, 22 Feb 2019 16:29:56 +0100 Pierre Morel wrote: We need to associate the ap_vfio_queue, which will hold the per queue information for interrupt with a matrix mediated device which hold the configuration and the way to the CRYCB. [..] +static int

Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-03-04 Thread Pierre Morel
On 04/03/2019 03:09, Halil Pasic wrote: On Fri, 22 Feb 2019 16:29:56 +0100 Pierre Morel wrote: We need to associate the ap_vfio_queue, which will hold the per queue information for interrupt with a matrix mediated device which hold the configuration and the way to the CRYCB. [..] +static

Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-03-03 Thread Halil Pasic
On Fri, 22 Feb 2019 16:29:56 +0100 Pierre Morel wrote: > We need to associate the ap_vfio_queue, which will hold the > per queue information for interrupt with a matrix mediated device > which hold the configuration and the way to the CRYCB. [..] > +static int vfio_ap_get_all_domains(struct

Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-02-27 Thread Tony Krowiak
On 2/22/19 10:29 AM, Pierre Morel wrote: We need to associate the ap_vfio_queue, which will hold the per queue information for interrupt with a matrix mediated device which hold the configuration and the way to the CRYCB. Let's do this when assigning a APID or a APQI to the mediated device and

Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-02-27 Thread Tony Krowiak
On 2/27/19 4:29 AM, Pierre Morel wrote: On 26/02/2019 19:14, Tony Krowiak wrote: On 2/22/19 10:29 AM, Pierre Morel wrote: We need to associate the ap_vfio_queue, which will hold the per queue information for interrupt with a matrix mediated device which hold the configuration and the way to

Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-02-27 Thread Pierre Morel
On 27/02/2019 10:32, Cornelia Huck wrote: On Fri, 22 Feb 2019 16:29:56 +0100 Pierre Morel wrote: We need to associate the ap_vfio_queue, which will hold the per queue information for interrupt with a matrix mediated device which hold the configuration and the way to the CRYCB. Let's do this

Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-02-27 Thread Pierre Morel
On 27/02/2019 10:32, Cornelia Huck wrote: On Fri, 22 Feb 2019 16:29:56 +0100 Pierre Morel wrote: We need to associate the ap_vfio_queue, which will hold the per queue information for interrupt with a matrix mediated device which hold the configuration and the way to the CRYCB. Let's do this

Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-02-27 Thread Cornelia Huck
On Fri, 22 Feb 2019 16:29:56 +0100 Pierre Morel wrote: > We need to associate the ap_vfio_queue, which will hold the > per queue information for interrupt with a matrix mediated device > which hold the configuration and the way to the CRYCB. > > Let's do this when assigning a APID or a APQI to

Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-02-27 Thread Pierre Morel
On 26/02/2019 19:14, Tony Krowiak wrote: On 2/22/19 10:29 AM, Pierre Morel wrote: We need to associate the ap_vfio_queue, which will hold the per queue information for interrupt with a matrix mediated device which hold the configuration and the way to the CRYCB. Let's do this when assigning a

Re: [PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-02-26 Thread Tony Krowiak
On 2/22/19 10:29 AM, Pierre Morel wrote: We need to associate the ap_vfio_queue, which will hold the per queue information for interrupt with a matrix mediated device which hold the configuration and the way to the CRYCB. Let's do this when assigning a APID or a APQI to the mediated device and

[PATCH v4 3/7] s390: ap: associate a ap_vfio_queue and a matrix mdev

2019-02-22 Thread Pierre Morel
We need to associate the ap_vfio_queue, which will hold the per queue information for interrupt with a matrix mediated device which hold the configuration and the way to the CRYCB. Let's do this when assigning a APID or a APQI to the mediated device and clear the relation when unassigning.