Re: [PATCH 4/5] VFIO: platform: populate reset function according to compat

2015-05-14 Thread Alex Williamson
On Thu, 2015-05-14 at 10:57 +0200, Eric Auger wrote: > On 05/13/2015 08:33 PM, Alex Williamson wrote: > > On Thu, 2015-05-07 at 16:27 +0200, Eric Auger wrote: > >> Add the reset function lookup according to the device compat > >> string. This lookup is added at different places: > >> - on VFIO_DEVI

Re: [PATCH 4/5] VFIO: platform: populate reset function according to compat

2015-05-14 Thread Eric Auger
On 05/13/2015 08:33 PM, Alex Williamson wrote: > On Thu, 2015-05-07 at 16:27 +0200, Eric Auger wrote: >> Add the reset function lookup according to the device compat >> string. This lookup is added at different places: >> - on VFIO_DEVICE_GET_INFO >> - on VFIO_DEVICE_RESET >> - on device release >>

Re: [PATCH 4/5] VFIO: platform: populate reset function according to compat

2015-05-13 Thread Alex Williamson
On Thu, 2015-05-07 at 16:27 +0200, Eric Auger wrote: > Add the reset function lookup according to the device compat > string. This lookup is added at different places: > - on VFIO_DEVICE_GET_INFO > - on VFIO_DEVICE_RESET > - on device release > > A reference to the module implementing the reset fu

[PATCH 4/5] VFIO: platform: populate reset function according to compat

2015-05-07 Thread Eric Auger
Add the reset function lookup according to the device compat string. This lookup is added at different places: - on VFIO_DEVICE_GET_INFO - on VFIO_DEVICE_RESET - on device release A reference to the module implementing the reset function is taken on first reset function lookup and released on vfio