Re: [PATCH v10 02/16] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-10-16 Thread Tony Krowiak
On 9/24/20 10:11 PM, Halil Pasic wrote: On Thu, 27 Aug 2020 10:24:07 -0400 Tony Krowiak wrote: On 8/25/20 6:13 AM, Cornelia Huck wrote: On Fri, 21 Aug 2020 15:56:02 -0400 Tony Krowiak wrote: This patch refactor's the vfio_ap device driver to use the AP bus's s/refactor's/refactors/ O

Re: [PATCH v10 02/16] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-09-29 Thread Tony Krowiak
On 9/29/20 9:37 AM, Halil Pasic wrote: On Tue, 29 Sep 2020 09:07:40 -0400 Tony Krowiak wrote: On 9/24/20 10:27 PM, Halil Pasic wrote: On Fri, 21 Aug 2020 15:56:02 -0400 Tony Krowiak wrote: --- a/drivers/s390/crypto/vfio_ap_ops.c +++ b/drivers/s390/crypto/vfio_ap_ops.c @@ -26,43 +26,26

Re: [PATCH v10 02/16] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-09-29 Thread Halil Pasic
On Tue, 29 Sep 2020 09:07:40 -0400 Tony Krowiak wrote: > > > On 9/24/20 10:27 PM, Halil Pasic wrote: > > On Fri, 21 Aug 2020 15:56:02 -0400 > > Tony Krowiak wrote: > > > >> --- a/drivers/s390/crypto/vfio_ap_ops.c > >> +++ b/drivers/s390/crypto/vfio_ap_ops.c > >> @@ -26,43 +26,26 @@ > >> > >

Re: [PATCH v10 02/16] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-09-29 Thread Tony Krowiak
On 9/24/20 10:27 PM, Halil Pasic wrote: On Fri, 21 Aug 2020 15:56:02 -0400 Tony Krowiak wrote: --- a/drivers/s390/crypto/vfio_ap_ops.c +++ b/drivers/s390/crypto/vfio_ap_ops.c @@ -26,43 +26,26 @@ static int vfio_ap_mdev_reset_queues(struct mdev_device *mdev); -static int match_apqn(s

Re: [PATCH v10 02/16] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-09-24 Thread Halil Pasic
On Fri, 21 Aug 2020 15:56:02 -0400 Tony Krowiak wrote: > --- a/drivers/s390/crypto/vfio_ap_ops.c > +++ b/drivers/s390/crypto/vfio_ap_ops.c > @@ -26,43 +26,26 @@ > > static int vfio_ap_mdev_reset_queues(struct mdev_device *mdev); > > -static int match_apqn(struct device *dev, const void *data

Re: [PATCH v10 02/16] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-09-24 Thread Halil Pasic
On Thu, 27 Aug 2020 10:24:07 -0400 Tony Krowiak wrote: > > > On 8/25/20 6:13 AM, Cornelia Huck wrote: > > On Fri, 21 Aug 2020 15:56:02 -0400 > > Tony Krowiak wrote: > > > >> This patch refactor's the vfio_ap device driver to use the AP bus's > > s/refactor's/refactors/ > > Of course, what was

Re: [PATCH v10 02/16] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-09-08 Thread Tony Krowiak
On 9/4/20 4:11 AM, Christian Borntraeger wrote: On 21.08.20 21:56, Tony Krowiak wrote: This patch refactor's the vfio_ap device driver to use the AP bus's ap_get_qdev() function to retrieve the vfio_ap_queue struct containing information about a queue that is bound to the vfio_ap device driv

Re: [PATCH v10 02/16] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-09-04 Thread Christian Borntraeger
On 21.08.20 21:56, Tony Krowiak wrote: > This patch refactor's the vfio_ap device driver to use the AP bus's > ap_get_qdev() function to retrieve the vfio_ap_queue struct containing > information about a queue that is bound to the vfio_ap device driver. > The bus's ap_get_qdev() function retriev

Re: [PATCH v10 02/16] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-08-28 Thread Tony Krowiak
On 8/28/20 4:13 AM, Cornelia Huck wrote: On Thu, 27 Aug 2020 10:24:07 -0400 Tony Krowiak wrote: On 8/25/20 6:13 AM, Cornelia Huck wrote: On Fri, 21 Aug 2020 15:56:02 -0400 Tony Krowiak wrote: /** - * vfio_ap_get_queue: Retrieve a queue with a specific APQN from a list - * @matrix_mdev

Re: [PATCH v10 02/16] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-08-28 Thread Cornelia Huck
On Thu, 27 Aug 2020 10:24:07 -0400 Tony Krowiak wrote: > On 8/25/20 6:13 AM, Cornelia Huck wrote: > > On Fri, 21 Aug 2020 15:56:02 -0400 > > Tony Krowiak wrote: > >> /** > >> - * vfio_ap_get_queue: Retrieve a queue with a specific APQN from a list > >> - * @matrix_mdev: the associated mediate

Re: [PATCH v10 02/16] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-08-27 Thread Tony Krowiak
On 8/25/20 6:13 AM, Cornelia Huck wrote: On Fri, 21 Aug 2020 15:56:02 -0400 Tony Krowiak wrote: This patch refactor's the vfio_ap device driver to use the AP bus's s/refactor's/refactors/ Of course, what was I thinking?:) ap_get_qdev() function to retrieve the vfio_ap_queue struct cont

Re: [PATCH v10 02/16] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-08-25 Thread Cornelia Huck
On Fri, 21 Aug 2020 15:56:02 -0400 Tony Krowiak wrote: > This patch refactor's the vfio_ap device driver to use the AP bus's s/refactor's/refactors/ > ap_get_qdev() function to retrieve the vfio_ap_queue struct containing > information about a queue that is bound to the vfio_ap device driver. >

[PATCH v10 02/16] s390/vfio-ap: use new AP bus interface to search for queue devices

2020-08-21 Thread Tony Krowiak
This patch refactor's the vfio_ap device driver to use the AP bus's ap_get_qdev() function to retrieve the vfio_ap_queue struct containing information about a queue that is bound to the vfio_ap device driver. The bus's ap_get_qdev() function retrieves the queue device from a hashtable keyed by APQN