summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorAdrian Ng Ho Yin <adrian.ho.yin.ng@altera.com>2026-09-22 00:00:22 +0800
committerDinh Nguyen <dinguyen@kernel.org>2026-10-08 09:41:24 -0500
commit580c64140e174c27cfeb3e499e2eb851571e0773 (patch)
tree1598c67054154b3711602ebebb5558d05d438819 /tools/lib/python
parent71513255896d77331804710cd2a5f30cf150adf7 (diff)
firmware: stratix10-svc: Reduce polling interval for command status
The service controller currently polls FPGA configuration status at a fixed 1 second interval until the 30 second timeout expires. This leads to slow response time for fast-returning commands and unnecessary delay before reporting completion. Introduce two polling modes: - Fast polling: 20 ms interval for up to 50 iterations (≈1 s total) - Slow polling: 500 ms interval for up to 29 seconds A new helper, svc_cmd_poll_status(), abstracts the polling logic and replaces the existing loop in svc_thread_cmd_config_status(). This allows the driver to respond quickly to short operations while still handling long-running configuration commands within the same overall timeout window. Signed-off-by: Adrian Ng Ho Yin <adrian.ho.yin.ng@altera.com> Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions