[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211216062405.415888-1-amitay@ozlabs.org>
Date: Thu, 16 Dec 2021 17:24:03 +1100
From: Amitay Isaacs <amitay@...abs.org>
To: linux-kernel@...r.kernel.org, linux-fsi@...ts.ozlabs.org,
jk@...abs.org, joel@....id.au, alistair@...ple.id.au,
eajames@...ux.ibm.com
Cc: Amitay Isaacs <amitay@...abs.org>
Subject: [PATCH v2 0/2] Enable read timeout specification for sbefifo read
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 currentlly 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.
v2 changes:
- uint32 --> u32
- Avoid resetting the read timeout after single operation. Use ioctl
to set the read timeout per open fd for sbefifo device.
- Specifying 0 value to ioctl will reset the timeout to default value
- Document ioctl behaviour in uapi/linux/fsi.h
Amitay Isaacs (2):
fsi: sbefifo: Use specified value of start of response timeout
fsi: sbefifo: implement FSI_SBEFIFO_READ_TIMEOUT ioctl
drivers/fsi/fsi-sbefifo.c | 48 ++++++++++++++++++++++++++++++++++++++-
include/uapi/linux/fsi.h | 14 ++++++++++++
2 files changed, 61 insertions(+), 1 deletion(-)
--
2.33.1
Powered by blists - more mailing lists