Re: [PATCH V6 7/8] vfio: platform: check reset call return code during open

2016-06-12 Thread Sinan Kaya
On 6/7/2016 4:21 PM, Auger Eric wrote: >> -vfio_platform_call_reset(vdev, NULL); >> > + ret = vfio_platform_call_reset(vdev, _dbg); >> > + if (ret && vdev->reset_required) { >> > + dev_warn(vdev->device, "reset driver is required and >> > reset call

Re: [PATCH V6 7/8] vfio: platform: check reset call return code during open

2016-06-12 Thread Sinan Kaya
On 6/7/2016 4:21 PM, Auger Eric wrote: >> -vfio_platform_call_reset(vdev, NULL); >> > + ret = vfio_platform_call_reset(vdev, _dbg); >> > + if (ret && vdev->reset_required) { >> > + dev_warn(vdev->device, "reset driver is required and >> > reset call

Re: [PATCH V6 7/8] vfio: platform: check reset call return code during open

2016-06-07 Thread Auger Eric
Hi Sinan, Le 29/05/2016 à 00:01, Sinan Kaya a écrit : > Open call is ignoring the return code from reset call and can > potentially continue even though reset call failed. > > If reset_required module parameter is set, this patch is going > to validate the return code and will abort open if reset

Re: [PATCH V6 7/8] vfio: platform: check reset call return code during open

2016-06-07 Thread Auger Eric
Hi Sinan, Le 29/05/2016 à 00:01, Sinan Kaya a écrit : > Open call is ignoring the return code from reset call and can > potentially continue even though reset call failed. > > If reset_required module parameter is set, this patch is going > to validate the return code and will abort open if reset

[PATCH V6 7/8] vfio: platform: check reset call return code during open

2016-05-28 Thread Sinan Kaya
Open call is ignoring the return code from reset call and can potentially continue even though reset call failed. If reset_required module parameter is set, this patch is going to validate the return code and will abort open if reset fails. Signed-off-by: Sinan Kaya ---

[PATCH V6 7/8] vfio: platform: check reset call return code during open

2016-05-28 Thread Sinan Kaya
Open call is ignoring the return code from reset call and can potentially continue even though reset call failed. If reset_required module parameter is set, this patch is going to validate the return code and will abort open if reset fails. Signed-off-by: Sinan Kaya ---