Skip to content

fsi: sbefifo: Add userspace timeout control

Joel Stanley lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest2 patches 2 repliesIn review

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fsi: sbefifo: Use specified value of start of response timeoutdrivers/fsi/fsi-sbefifo.c+3 -11 reply
2/2fsi: sbefifo: Implement FSI_SBEFIFO_READ_TIMEOUT_SECONDS ioctldrivers/fsi/fsi-sbefifo.c include/uapi/linux/fsi.h+63 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchEddie James
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

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

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(-)
Signature · 1 line
2.34.1