[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220121053816.82253-1-joel@jms.id.au>
Date: Fri, 21 Jan 2022 16:08:14 +1030
From: Joel Stanley <joel@....id.au>
To: Jeremy Kerr <jk@...abs.org>,
Alistar Popple <alistair@...ple.id.au>,
Eddie James <eajames@...ux.ibm.com>,
Amitay Isaacs <amitay@...abs.org>
Cc: linux-fsi@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: [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(-)
--
2.34.1
Powered by blists - more mailing lists