[PATCH v3 0/2] fsi: sbefifo: Add userspace timeout control

From: Joel Stanley
Date: Fri Jan 21 2022 - 00:39:04 EST


Certain SBE operations (e.g. collecting trace information from processors)
can take long time (> 10 seconds) to finish before SBE can respond.
Such operations will currently timeout due to the default response
timeout of 10 seconds. This patchset allows users to set a longer timeout
using ioctl on the sbefifo device fd, before issuing SBE operations that
are likely to take longer.

The userspace that interacts with the sbefifo character device is
libpdbg. An example use of the ioctl is in this branch:

https://github.com/amitay/pdbg/commits/ioctl

v3:
Take over from Amitay
Clarify use case in commit message
Link to userspace implementation in cover letter

Amitay Isaacs (2):
fsi: sbefifo: Use specified value of start of response timeout
fsi: sbefifo: Implement FSI_SBEFIFO_READ_TIMEOUT_SECONDS ioctl

drivers/fsi/fsi-sbefifo.c | 53 ++++++++++++++++++++++++++++++++++++++-
include/uapi/linux/fsi.h | 14 +++++++++++
2 files changed, 66 insertions(+), 1 deletion(-)

--
2.34.1