Re: [PATCH 05/13] vfio/fsl: Move to the device set infrastructure

2021-07-21 Thread Diana Craciun OSS
On 7/20/2021 7:17 PM, Jason Gunthorpe wrote: On Tue, Jul 20, 2021 at 07:12:26PM +0300, Diana Craciun OSS wrote: On 7/15/2021 3:20 AM, Jason Gunthorpe wrote: FSL uses the internal reflck to implement the open_device() functionality, conversion to the core code is straightforward. The decision

Re: [PATCH 05/13] vfio/fsl: Move to the device set infrastructure

2021-07-21 Thread Diana Craciun OSS
On 7/15/2021 3:20 AM, Jason Gunthorpe wrote: FSL uses the internal reflck to implement the open_device() functionality, conversion to the core code is straightforward. The decision on which set to be part of is trivially based on the is_fsl_mc_bus_dprc() and we use a 'struct device *' pointer

Re: [PATCH 05/13] vfio/fsl: Move to the device set infrastructure

2021-07-20 Thread Jason Gunthorpe
On Tue, Jul 20, 2021 at 07:23:35PM +0300, Diana Craciun OSS wrote: > I have tested the changes and everything works as expected. Great, thanks, I added a Tested-by for you Jason

Re: [PATCH 05/13] vfio/fsl: Move to the device set infrastructure

2021-07-20 Thread Jason Gunthorpe
On Tue, Jul 20, 2021 at 07:12:26PM +0300, Diana Craciun OSS wrote: > On 7/15/2021 3:20 AM, Jason Gunthorpe wrote: > > FSL uses the internal reflck to implement the open_device() functionality, > > conversion to the core code is straightforward. > > > > The decision on which set to be part of is

[PATCH 05/13] vfio/fsl: Move to the device set infrastructure

2021-07-14 Thread Jason Gunthorpe
FSL uses the internal reflck to implement the open_device() functionality, conversion to the core code is straightforward. The decision on which set to be part of is trivially based on the is_fsl_mc_bus_dprc() and we use a 'struct device *' pointer as the set_id. It isn't entirely clear what the