History

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

Greg Kroah-Hartman committed 4 years ago

Commit c29930e2 parents e6cb9c1 f2af60b8 files · +247 −63Browse files

Showing the changes to include/uapi (1 of 8 files). Show all

Unified · Split

include/uapi/linux/fsi.h+14−0
@@ -55,4 +55,18 @@ struct scom_access { · 54 unmodified lines
5555 #define FSI_SCOM_WRITE _IOWR('s', 0x02, struct scom_access)
5656 #define FSI_SCOM_RESET _IOW('s', 0x03, __u32)
5757
58+/*
59+ * /dev/sbefifo* ioctl interface
60+ */
61+
62+/**
63+ * FSI_SBEFIFO_READ_TIMEOUT sets the read timeout for response from SBE.
64+ *
65+ * The read timeout is specified in seconds. The minimum value of read
66+ * timeout is 10 seconds (default) and the maximum value of read timeout is
67+ * 120 seconds. A read timeout of 0 will reset the value to the default of
68+ * (10 seconds).
69+ */
70+#define FSI_SBEFIFO_READ_TIMEOUT_SECONDS _IOW('s', 0x00, __u32)
71+
5872 #endif /* _UAPI_LINUX_FSI_H */