mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Potin Lai <potin.lai.pt@gmail.com>
To: Corey Minyard <corey@minyard.net>, Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	 Quan Nguyen <quan@os.amperecomputing.com>,
	 Patrick Williams <patrick@stwcx.xyz>
Cc: openipmi-developer@lists.sourceforge.net,
	devicetree@vger.kernel.org,  linux-kernel@vger.kernel.org,
	Cosmo Chou <cosmo.chou@quantatw.com>,
	 Potin Lai <potin.lai@quantatw.com>,
	Potin Lai <potin.lai.pt@gmail.com>
Subject: [PATCH 0/2] ipmi: ssif_bmc: Add support for adjustable response timeout
Date: Mon, 03 Feb 2025 21:09:12 +0800	[thread overview]
Message-ID: <20250203-ssif-response-timeout-ms-v1-0-6fe279740181@gmail.com> (raw)

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@gmail.com>
---
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@gmail.com>


             reply	other threads:[~2025-02-03 13:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-03 13:09 Potin Lai [this message]
2025-02-03 13:09 ` [PATCH 1/2] bindings: ipmi: ssif-bmc: Add property to adjust " Potin Lai
2025-02-03 23:01   ` Rob Herring (Arm)
2025-02-03 13:09 ` [PATCH 2/2] ipmi: ssif_bmc: Add support for adjustable " Potin Lai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250203-ssif-response-timeout-ms-v1-0-6fe279740181@gmail.com \
    --to=potin.lai.pt@gmail.com \
    --cc=conor+dt@kernel.org \
    --cc=corey@minyard.net \
    --cc=cosmo.chou@quantatw.com \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=openipmi-developer@lists.sourceforge.net \
    --cc=patrick@stwcx.xyz \
    --cc=potin.lai@quantatw.com \
    --cc=quan@os.amperecomputing.com \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®