Re: [PATCH v6 2/7] s390: ap: new vfio_ap_queue structure

2019-04-02 Thread Pierre Morel
Hi all, I will abandon this single patch of the series so, no need to comment anymore. Even I liked using lists and though it could make things easier for hotplug later, it is not the right time for this change. If ever. Sorry for this change of plan. I will send a new v7 without this patch

Re: [PATCH v6 2/7] s390: ap: new vfio_ap_queue structure

2019-03-28 Thread Pierre Morel
On 28/03/2019 16:32, Tony Krowiak wrote: On 3/28/19 9:06 AM, Pierre Morel wrote: On 26/03/2019 21:45, Tony Krowiak wrote: On 3/22/19 10:43 AM, Pierre Morel wrote: The AP interruptions are assigned on a queue basis and ... +static void vfio_ap_free_queue(int apqn, struct ap_matrix_mdev *matr

Re: [PATCH v6 2/7] s390: ap: new vfio_ap_queue structure

2019-03-28 Thread Tony Krowiak
On 3/28/19 9:06 AM, Pierre Morel wrote: On 26/03/2019 21:45, Tony Krowiak wrote: On 3/22/19 10:43 AM, Pierre Morel wrote: The AP interruptions are assigned on a queue basis and the GISA structure is handled on a VM basis, so that we need to add a structure we can retrieve from both side s/sid

Re: [PATCH v6 2/7] s390: ap: new vfio_ap_queue structure

2019-03-28 Thread Pierre Morel
On 25/03/2019 09:05, Harald Freudenberger wrote: On 22.03.19 15:43, Pierre Morel wrote: The AP interruptions are assigned on a queue basis and the GISA structure is handled on a VM basis, so that ...snip... + * vfio_ap_queue_dev_remove: + * + * Free the associated vfio_ap_queue structure + *

Re: [PATCH v6 2/7] s390: ap: new vfio_ap_queue structure

2019-03-28 Thread Pierre Morel
On 26/03/2019 21:45, Tony Krowiak wrote: On 3/22/19 10:43 AM, Pierre Morel wrote: The AP interruptions are assigned on a queue basis and the GISA structure is handled on a VM basis, so that we need to add a structure we can retrieve from both side s/side/sides/ OK holding the information

Re: [PATCH v6 2/7] s390: ap: new vfio_ap_queue structure

2019-03-28 Thread Pierre Morel
On 27/03/2019 12:00, Harald Freudenberger wrote: On 26.03.19 21:45, Tony Krowiak wrote: On 3/22/19 10:43 AM, Pierre Morel wrote: The AP interruptions are assigned on a queue basis and ...snip... +static void vfio_ap_free_queue(int apqn, struct ap_matrix_mdev *matrix_mdev) +{ +    struct vfi

Re: [PATCH v6 2/7] s390: ap: new vfio_ap_queue structure

2019-03-27 Thread Harald Freudenberger
On 26.03.19 21:45, Tony Krowiak wrote: > On 3/22/19 10:43 AM, Pierre Morel wrote: >> The AP interruptions are assigned on a queue basis and >> the GISA structure is handled on a VM basis, so that >> we need to add a structure we can retrieve from both side > > s/side/sides/ > >> holding the informa

Re: [PATCH v6 2/7] s390: ap: new vfio_ap_queue structure

2019-03-26 Thread Tony Krowiak
On 3/22/19 10:43 AM, Pierre Morel wrote: The AP interruptions are assigned on a queue basis and the GISA structure is handled on a VM basis, so that we need to add a structure we can retrieve from both side s/side/sides/ holding the information we need to handle PQAP/AQIC interception and set

Re: [PATCH v6 2/7] s390: ap: new vfio_ap_queue structure

2019-03-25 Thread Harald Freudenberger
On 22.03.19 15:43, Pierre Morel wrote: > The AP interruptions are assigned on a queue basis and > the GISA structure is handled on a VM basis, so that > we need to add a structure we can retrieve from both side > holding the information we need to handle PQAP/AQIC interception > and setup the GISA.

[PATCH v6 2/7] s390: ap: new vfio_ap_queue structure

2019-03-22 Thread Pierre Morel
The AP interruptions are assigned on a queue basis and the GISA structure is handled on a VM basis, so that we need to add a structure we can retrieve from both side holding the information we need to handle PQAP/AQIC interception and setup the GISA. Since we can not add more information to the ap