mbox series

[0/2] pdbg: sbefifo long running chip-op ioctl support

Message ID 20220222025038.29925-1-joel@jms.id.au
Headers show
Series pdbg: sbefifo long running chip-op ioctl support | expand

Message

Joel Stanley Feb. 22, 2022, 2:50 a.m. UTC
The sbefifo driver in the kernel has gained an ioctl for setting the
timeout (in seconds) for a chip-op.

 https://lore.kernel.org/all/20220121053816.82253-1-joel@jms.id.au/

It will appear in v5.18 (mainline), and is backported to OpenBMC
dev-5.15.

The timeout is per-descriptor so the currently running application will
set this for chip-ops that are specified as long running in the SP to
SBE Interface Specification for P10 Systems, version 2.

After the operation is complete libpdbg will reset the timout to the
kernel's default.

Amitay Isaacs (2):
  configure: Add configure check for <linux/fsi.h>
  libsbefifo: Implement long read timeout for chip-ops

 libsbefifo/sbefifo_private.h |  2 ++
 libsbefifo/cmd_array.c       | 12 +++++++++++
 libsbefifo/cmd_control.c     |  6 ++++++
 libsbefifo/cmd_generic.c     |  6 ++++++
 libsbefifo/cmd_memory.c      | 23 ++++++++++++++++++++
 libsbefifo/cmd_mpipl.c       | 18 ++++++++++++++++
 libsbefifo/cmd_register.c    | 12 +++++++++++
 libsbefifo/cmd_ring.c        | 18 ++++++++++++++++
 libsbefifo/connect.c         | 41 ++++++++++++++++++++++++++++++++++++
 configure.ac                 |  5 +++++
 10 files changed, 143 insertions(+)