Re: [PATCH] RDMA/bng_re: return a timeout when firmware responses stall

From: Leon Romanovsky

Date: Mon Jul 06 2026 - 05:02:29 EST



On Thu, 25 Jun 2026 08:36:14 +0800, Pengpeng Hou wrote:
> __wait_for_resp() documents that it returns a non-zero error when a
> firmware command does not complete, and bng_re_rcfw_send_message() already
> marks the firmware as stalled when the helper returns -ENODEV.
>
> However, the helper ignores wait_event_timeout() expiry. If the response
> slot remains in use after the timeout and after the polled CREQ service
> attempt, the loop starts another full timeout period and can repeat
> forever.
>
> [...]

Applied, thanks!

[1/1] RDMA/bng_re: return a timeout when firmware responses stall
https://git.kernel.org/rdma/rdma/c/5f9576c6734abc

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>