[PATCH v2] i3c: mipi-i3c-hci: fix IBI payload length calculation for final status

Alexandre Belloni alexandre.belloni at bootlin.com
Sun Apr 12 13:07:21 PDT 2026


On Tue, 07 Apr 2026 16:53:23 +0800, Billy Tsai wrote:
> In DMA mode, the IBI status descriptor encodes the payload using
> CHUNKS (number of chunks) and DATA_LENGTH (valid bytes in the last
> chunk). All preceding chunks are implicitly full-sized.
> 
> The current code accumulates full chunk sizes for non-final status
> descriptors, but for the final status descriptor it only adds
> DATA_LENGTH. This ignores the contribution of the preceding full
> chunks described by the same final status entry.
> 
> [...]

Applied, thanks!

[1/1] i3c: mipi-i3c-hci: fix IBI payload length calculation for final status
      https://git.kernel.org/i3c/c/d35a6db887ee

Best regards,

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



More information about the linux-i3c mailing list