summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-21 17:47:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-21 17:47:42 +0100
commitc29930ef8308faf96de8365e5fb925bca6e33399 (patch)
tree22e48f59d36cddbbe5f398395720d060d8302487 /include/uapi
parente6cb9c167eeb8f90ab924666c573e69e85e700a0 (diff)
parentf2af60bb7ce2fa5397f401cbf65725d9c87329a4 (diff)
downloadlinux-c29930ef8308faf96de8365e5fb925bca6e33399.tar.gz
linux-c29930ef8308faf96de8365e5fb925bca6e33399.tar.bz2
linux-c29930ef8308faf96de8365e5fb925bca6e33399.zip
Merge tag 'fsi-for-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/fsi into char-misc-next
Joel writes: FSI changes for v5.18 * Improvements in SCOM and OCC drivers for error handling and retries * Addition of tracepoints for initialisation path * API for setting long running SBE FIFO operations * tag 'fsi-for-v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/fsi: fsi: Add trace events in initialization path fsi: sbefifo: Implement FSI_SBEFIFO_READ_TIMEOUT_SECONDS ioctl fsi: sbefifo: Use specified value of start of response timeout fsi: occ: Improve response status checking fsi: scom: Remove retries in indirect scoms fsi: scom: Fix error handling
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/fsi.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/uapi/linux/fsi.h b/include/uapi/linux/fsi.h
index da577ecd90e7..b2f1977378c7 100644
--- a/include/uapi/linux/fsi.h
+++ b/include/uapi/linux/fsi.h
@@ -55,4 +55,18 @@ struct scom_access {
#define FSI_SCOM_WRITE _IOWR('s', 0x02, struct scom_access)
#define FSI_SCOM_RESET _IOW('s', 0x03, __u32)
+/*
+ * /dev/sbefifo* ioctl interface
+ */
+
+/**
+ * FSI_SBEFIFO_READ_TIMEOUT sets the read timeout for response from SBE.
+ *
+ * The read timeout is specified in seconds. The minimum value of read
+ * timeout is 10 seconds (default) and the maximum value of read timeout is
+ * 120 seconds. A read timeout of 0 will reset the value to the default of
+ * (10 seconds).
+ */
+#define FSI_SBEFIFO_READ_TIMEOUT_SECONDS _IOW('s', 0x00, __u32)
+
#endif /* _UAPI_LINUX_FSI_H */