Re: [PATCH v3 0/3] i3c: account for controller transfer limits
From: Alexandre Belloni
Date: Wed Dec 02 2026 - 17:05:34 EST
On Tue, 24 Nov 2026 11:36:48 +0530, Shubham Patil wrote:
> Targets advertise MRL and MWL, but these values do not account for smaller controller transmit and receive buffers. This can cause client drivers such as mctp-i3c to request transfers that the controller must reject.
>
> Add controller transfer limits to the I3C core, publish the independent DesignWare transmit and receive buffer depths, and make mctp-i3c use the effective target/controller limits.
>
> Changes in v3:
> - Rename controller limit fields to max_tx_bytes/max_rx_bytes.
> - Use FIELD_GET() and a u32 variable for the RX capability register.
> - Use sizeof(u32) to convert FIFO depths to bytes.
> - Add the DesignWare databook reference for RX_BUF_SIZE.
> - Shorten patch 1's commit message and update patch 3's subject prefix.
>
> [...]
Applied, thanks!
[1/3] i3c: Add helpers to get the maximum transfer size for a device
https://git.kernel.org/i3c/c/5d498156ba9d
[2/3] i3c: dw: Track the transmit and receive buffer depths separately
https://git.kernel.org/i3c/c/7580c0588b4c
[3/3] net: mctp i3c: clamp transfer lengths to the controller limits
https://git.kernel.org/i3c/c/12b01f08bfc4
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com