Re: [PATCH 3/5] VFIO: platform: add reset callback

2015-05-14 Thread Eric Auger
On 05/13/2015 08:32 PM, Alex Williamson wrote: > On Thu, 2015-05-07 at 16:27 +0200, Eric Auger wrote: >> A new reset callback is introduced. If this callback is populated, >> the reset is invoked on device release or upon userspace ioctl. The >> modality is exposed on VFIO_DEVICE_GET_INFO. >> >> Si

Re: [PATCH 3/5] VFIO: platform: add reset callback

2015-05-13 Thread Alex Williamson
On Thu, 2015-05-07 at 16:27 +0200, Eric Auger wrote: > A new reset callback is introduced. If this callback is populated, > the reset is invoked on device release or upon userspace ioctl. The > modality is exposed on VFIO_DEVICE_GET_INFO. > > Signed-off-by: Eric Auger > > --- > > v2 -> v3: > -

[PATCH 3/5] VFIO: platform: add reset callback

2015-05-07 Thread Eric Auger
A new reset callback is introduced. If this callback is populated, the reset is invoked on device release or upon userspace ioctl. The modality is exposed on VFIO_DEVICE_GET_INFO. Signed-off-by: Eric Auger --- v2 -> v3: - change patch title and commit message. Use IS_ERR_OR_NULL to anticipate