lkml.org 
[lkml]   [2021]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/2] fsi: sbefifo: implement FSI_SBEFIFO_READ_TIMEOUT ioctl
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@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

\
 
 \ /
  Last update: 2021-12-16 09:05    [W:0.054 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site