Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-20 Thread Eric Auger
Hi Peng, On 05/20/2016 11:56 AM, Peng Fan wrote: > Hi Eric, > > On Fri, May 20, 2016 at 11:22:13AM +0200, Eric Auger wrote: >> Hi Peng, >> On 05/20/2016 10:36 AM, Peng Fan wrote: >>> Hi, >>> >>> On Fri, May 20, 2016 at 10:20:32AM +0200, Baptiste Reynal wrote: Hi, On Fri, May 20,

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-20 Thread Eric Auger
Hi Peng, On 05/20/2016 11:56 AM, Peng Fan wrote: > Hi Eric, > > On Fri, May 20, 2016 at 11:22:13AM +0200, Eric Auger wrote: >> Hi Peng, >> On 05/20/2016 10:36 AM, Peng Fan wrote: >>> Hi, >>> >>> On Fri, May 20, 2016 at 10:20:32AM +0200, Baptiste Reynal wrote: Hi, On Fri, May 20,

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-20 Thread Peng Fan
Hi Eric, On Fri, May 20, 2016 at 11:22:13AM +0200, Eric Auger wrote: >Hi Peng, >On 05/20/2016 10:36 AM, Peng Fan wrote: >> Hi, >> >> On Fri, May 20, 2016 at 10:20:32AM +0200, Baptiste Reynal wrote: >>> Hi, >>> >>> On Fri, May 20, 2016 at 9:58 AM, Eric Auger wrote:

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-20 Thread Peng Fan
Hi Eric, On Fri, May 20, 2016 at 11:22:13AM +0200, Eric Auger wrote: >Hi Peng, >On 05/20/2016 10:36 AM, Peng Fan wrote: >> Hi, >> >> On Fri, May 20, 2016 at 10:20:32AM +0200, Baptiste Reynal wrote: >>> Hi, >>> >>> On Fri, May 20, 2016 at 9:58 AM, Eric Auger wrote: Hi, On

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-20 Thread Eric Auger
Hi Peng, On 05/20/2016 10:36 AM, Peng Fan wrote: > Hi, > > On Fri, May 20, 2016 at 10:20:32AM +0200, Baptiste Reynal wrote: >> Hi, >> >> On Fri, May 20, 2016 at 9:58 AM, Eric Auger wrote: >>> >>> Hi, >>> On 05/19/2016 11:01 PM, Alex Williamson wrote: On Tue, 10 May

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-20 Thread Eric Auger
Hi Peng, On 05/20/2016 10:36 AM, Peng Fan wrote: > Hi, > > On Fri, May 20, 2016 at 10:20:32AM +0200, Baptiste Reynal wrote: >> Hi, >> >> On Fri, May 20, 2016 at 9:58 AM, Eric Auger wrote: >>> >>> Hi, >>> On 05/19/2016 11:01 PM, Alex Williamson wrote: On Tue, 10 May 2016 15:40:28 +0800

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-20 Thread Peng Fan
Hi, On Fri, May 20, 2016 at 10:20:32AM +0200, Baptiste Reynal wrote: >Hi, > >On Fri, May 20, 2016 at 9:58 AM, Eric Auger wrote: >> >> Hi, >> On 05/19/2016 11:01 PM, Alex Williamson wrote: >> > On Tue, 10 May 2016 15:40:28 +0800 >> > Peng Fan wrote:

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-20 Thread Peng Fan
Hi, On Fri, May 20, 2016 at 10:20:32AM +0200, Baptiste Reynal wrote: >Hi, > >On Fri, May 20, 2016 at 9:58 AM, Eric Auger wrote: >> >> Hi, >> On 05/19/2016 11:01 PM, Alex Williamson wrote: >> > On Tue, 10 May 2016 15:40:28 +0800 >> > Peng Fan wrote: >> > >> >> Hi Alex, >> >> >> >> On Mon, May

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-20 Thread Baptiste Reynal
Hi, On Fri, May 20, 2016 at 9:58 AM, Eric Auger wrote: > > Hi, > On 05/19/2016 11:01 PM, Alex Williamson wrote: > > On Tue, 10 May 2016 15:40:28 +0800 > > Peng Fan wrote: > > > >> Hi Alex, > >> > >> On Mon, May 09, 2016 at 09:32:38AM -0600, Alex

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-20 Thread Baptiste Reynal
Hi, On Fri, May 20, 2016 at 9:58 AM, Eric Auger wrote: > > Hi, > On 05/19/2016 11:01 PM, Alex Williamson wrote: > > On Tue, 10 May 2016 15:40:28 +0800 > > Peng Fan wrote: > > > >> Hi Alex, > >> > >> On Mon, May 09, 2016 at 09:32:38AM -0600, Alex Williamson wrote: > >>> On Mon, 9 May 2016

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-20 Thread Eric Auger
Hi, On 05/19/2016 11:01 PM, Alex Williamson wrote: > On Tue, 10 May 2016 15:40:28 +0800 > Peng Fan wrote: > >> Hi Alex, >> >> On Mon, May 09, 2016 at 09:32:38AM -0600, Alex Williamson wrote: >>> On Mon, 9 May 2016 18:01:43 +0800 >>> Peng Fan wrote:

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-20 Thread Eric Auger
Hi, On 05/19/2016 11:01 PM, Alex Williamson wrote: > On Tue, 10 May 2016 15:40:28 +0800 > Peng Fan wrote: > >> Hi Alex, >> >> On Mon, May 09, 2016 at 09:32:38AM -0600, Alex Williamson wrote: >>> On Mon, 9 May 2016 18:01:43 +0800 >>> Peng Fan wrote: >>> Use vfio_iommu_group_get and

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-19 Thread Alex Williamson
On Tue, 10 May 2016 15:40:28 +0800 Peng Fan wrote: > Hi Alex, > > On Mon, May 09, 2016 at 09:32:38AM -0600, Alex Williamson wrote: > >On Mon, 9 May 2016 18:01:43 +0800 > >Peng Fan wrote: > > > >> Use vfio_iommu_group_get and

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-19 Thread Alex Williamson
On Tue, 10 May 2016 15:40:28 +0800 Peng Fan wrote: > Hi Alex, > > On Mon, May 09, 2016 at 09:32:38AM -0600, Alex Williamson wrote: > >On Mon, 9 May 2016 18:01:43 +0800 > >Peng Fan wrote: > > > >> Use vfio_iommu_group_get and vfio_iommu_group_put, but not > >> iommu_group_get or

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-10 Thread Peng Fan
Hi Alex, On Mon, May 09, 2016 at 09:32:38AM -0600, Alex Williamson wrote: >On Mon, 9 May 2016 18:01:43 +0800 >Peng Fan wrote: > >> Use vfio_iommu_group_get and vfio_iommu_group_put, but not >> iommu_group_get or iommu_group_put. > >I assume you're trying to duplicate the

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-10 Thread Peng Fan
Hi Alex, On Mon, May 09, 2016 at 09:32:38AM -0600, Alex Williamson wrote: >On Mon, 9 May 2016 18:01:43 +0800 >Peng Fan wrote: > >> Use vfio_iommu_group_get and vfio_iommu_group_put, but not >> iommu_group_get or iommu_group_put. > >I assume you're trying to duplicate the vfio_pci changes from

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-09 Thread Alex Williamson
On Mon, 9 May 2016 18:01:43 +0800 Peng Fan wrote: > Use vfio_iommu_group_get and vfio_iommu_group_put, but not > iommu_group_get or iommu_group_put. I assume you're trying to duplicate the vfio_pci changes from commit 03a76b60f8ba to enable no-iommu mode. That would be

Re: [PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-09 Thread Alex Williamson
On Mon, 9 May 2016 18:01:43 +0800 Peng Fan wrote: > Use vfio_iommu_group_get and vfio_iommu_group_put, but not > iommu_group_get or iommu_group_put. I assume you're trying to duplicate the vfio_pci changes from commit 03a76b60f8ba to enable no-iommu mode. That would be really relevant

[PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-09 Thread Peng Fan
Use vfio_iommu_group_get and vfio_iommu_group_put, but not iommu_group_get or iommu_group_put. Signed-off-by: Peng Fan Cc: Baptiste Reynal Cc: Alex Williamson --- drivers/vfio/platform/vfio_platform_common.c |

[PATCH] vfio: platform: use vfio_iommu_group_get/put

2016-05-09 Thread Peng Fan
Use vfio_iommu_group_get and vfio_iommu_group_put, but not iommu_group_get or iommu_group_put. Signed-off-by: Peng Fan Cc: Baptiste Reynal Cc: Alex Williamson --- drivers/vfio/platform/vfio_platform_common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git