All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] fsi: sbefifo: Add userspace timeout control
@ 2022-01-21  5:38 Joel Stanley
  2022-01-21  5:38 ` [PATCH v3 1/2] fsi: sbefifo: Use specified value of start of response timeout Joel Stanley
  2022-01-21  5:38 ` [PATCH v3 2/2] fsi: sbefifo: Implement FSI_SBEFIFO_READ_TIMEOUT_SECONDS ioctl Joel Stanley
  0 siblings, 2 replies; 5+ messages in thread
From: Joel Stanley @ 2022-01-21  5:38 UTC (permalink / raw)
  To: Jeremy Kerr, Alistar Popple, Eddie James, Amitay Isaacs
  Cc: linux-fsi, linux-kernel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-24 14:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-21  5:38 [PATCH v3 0/2] fsi: sbefifo: Add userspace timeout control Joel Stanley
2022-01-21  5:38 ` [PATCH v3 1/2] fsi: sbefifo: Use specified value of start of response timeout Joel Stanley
2022-01-24 14:17   ` Eddie James
2022-01-21  5:38 ` [PATCH v3 2/2] fsi: sbefifo: Implement FSI_SBEFIFO_READ_TIMEOUT_SECONDS ioctl Joel Stanley
2022-01-24 14:17   ` Eddie James

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.