[PATCH 0/2] ipmi: ssif_bmc: Add support for adjustable response timeout

From: Potin Lai
Date: Mon Feb 03 2025 - 08:11:52 EST


The SSIF response is handled by a userspace application, which may exceed
the default 500 ms timeout when the BMC or application is under heavy load.
To provide flexibility, this patch introduces the `timeout-ms` property in
the device tree binding, allowing platforms to adjust the response timeout
as needed.

If `timeout-ms` is not specified, the default response timeout remains
500 ms, ensuring backward compatibility while giving platforms the option
to configure a longer timeout when necessary. This prevents timeouts in
cases where userspace processing may take longer.

Signed-off-by: Potin Lai <potin.lai.pt@xxxxxxxxx>
---
Potin Lai (2):
bindings: ipmi: ssif-bmc: Add property to adjust response timeout
ipmi: ssif_bmc: Add support for adjustable response timeout

Documentation/devicetree/bindings/ipmi/ssif-bmc.yaml | 6 ++++++
drivers/char/ipmi/ssif_bmc.c | 8 +++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
---
base-commit: 2014c95afecee3e76ca4a56956a936e23283f05b
change-id: 20250203-ssif-response-timeout-ms-3bdb88ab337f

Best regards,
--
Potin Lai <potin.lai.pt@xxxxxxxxx>