[PATCH v2 2/2] fsi: sbefifo: implement FSI_SBEFIFO_READ_TIMEOUT ioctl

Greg KH gregkh at linuxfoundation.org
Thu Dec 16 19:04:45 AEDT 2021


On Thu, Dec 16, 2021 at 05:24:05PM +1100, Amitay Isaacs wrote:
> FSI_SBEFIFO_READ_TIMEOUT ioctl sets the read timeout (in seconds) for
> the response received by sbefifo device from sbe.  The timeout affects
> only the read operation on sbefifo device fd.
> 
> Certain SBE operations can take long time to complete and the default
> timeout of 10 seconds might not be sufficient to start receiving
> response from SBE.  In such cases, allow the timeout to be set to the
> maximum of 120 seconds.
> 
> Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
> ---
>  drivers/fsi/fsi-sbefifo.c | 44 +++++++++++++++++++++++++++++++++++++++
>  include/uapi/linux/fsi.h  | 14 +++++++++++++
>  2 files changed, 58 insertions(+)

Where is the userspace tool that uses this new ioctl?

And again, why does it have to be an ioctl?  Where is this now
documented?  What are the units of the value?

greg k-h


More information about the linux-fsi mailing list