diff options
| author | Eddie James <eajames@us.ibm.com> | 2023-06-12 22:56:48 +0300 |
|---|---|---|
| committer | Joel Stanley <joel@jms.id.au> | 2023-08-09 09:13:27 +0300 |
| commit | 19c064defcce7550f9a7027384ae46fda0d27394 (patch) | |
| tree | a925c8c8ebbd8879228fb09fcbb6e5aa5b932fac /include/uapi/linux | |
| parent | d6ce872e2e6e80c9621496f8048a2e9e096579b8 (diff) | |
| download | linux-19c064defcce7550f9a7027384ae46fda0d27394.tar.xz | |
fsi: sbefifo: Add configurable in-command timeout
A new use case for the SBEFIFO requires a long in-command timeout
as the SBE processes each part of the command before clearing the
upstream FIFO for the next part of the command.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20230612195657.245125-6-eajames@linux.ibm.com
Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/fsi.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/uapi/linux/fsi.h b/include/uapi/linux/fsi.h index b2f1977378c7..a2e730fc6309 100644 --- a/include/uapi/linux/fsi.h +++ b/include/uapi/linux/fsi.h @@ -60,6 +60,16 @@ struct scom_access { */ /** + * FSI_SBEFIFO_CMD_TIMEOUT sets the timeout for writing data to the SBEFIFO. + * + * The command timeout is specified in seconds. The minimum value of command + * timeout is 1 seconds (default) and the maximum value of command timeout is + * 120 seconds. A command timeout of 0 will reset the value to the default of + * 1 seconds. + */ +#define FSI_SBEFIFO_CMD_TIMEOUT_SECONDS _IOW('s', 0x01, __u32) + +/** * FSI_SBEFIFO_READ_TIMEOUT sets the read timeout for response from SBE. * * The read timeout is specified in seconds. The minimum value of read |
