Re: [PATCH v2] i3c: dw: Prevent premature transfer completion on IBI

From: Alexandre Belloni

Date: Wed Dec 02 2026 - 16:41:28 EST


On Thu, 12 Nov 2026 17:05:38 +0800, Rui Wang wrote:
> An IBI threshold interrupt can arrive while a transfer is pending and
> before its command responses are ready. The IRQ handler calls
> dw_i3c_master_end_xfer_locked() even for an IBI-only interrupt. If the
> response queue is empty, the function completes the transfer with a
> return value of zero. Later responses can remain unconsumed and keep the
> response-ready interrupt asserted.
>
> [...]

Applied, thanks!

[1/1] i3c: dw: Prevent premature transfer completion on IBI
https://git.kernel.org/i3c/c/fa9dd321636f

Best regards,

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com