[PATCH] [v2] i3c: fix big-endian FIFO transfers

Alexandre Belloni alexandre.belloni at bootlin.com
Sun Sep 28 15:19:18 PDT 2025


On Wed, 24 Sep 2025 22:18:33 +0200, Arnd Bergmann wrote:
> Short MMIO transfers that are not a multiple of four bytes in size need
> a special case for the final bytes, however the existing implementation
> is not endian-safe and introduces an incorrect byteswap on big-endian
> kernels.
> 
> This usually does not cause problems because most systems are
> little-endian and most transfers are multiple of four bytes long, but
> still needs to be fixed to avoid the extra byteswap.
> 
> [...]

Applied, thanks!

[1/1] i3c: fix big-endian FIFO transfers
      https://git.kernel.org/i3c/c/d6ddd9beb1a5

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