Re: [PATCH v2 02/13] hw/i2c/aspeed: Fix DMA len write-enable bit handling

2022-06-29 Thread Cédric Le Goater
On 6/29/22 05:36, Peter Delevoryas wrote: I noticed i2c rx transfers were getting shortened to "1" on Zephyr. It seems to be because the Zephyr i2c driver sets the RX DMA len with the RX field write-enable bit set (bit 31) to avoid a read-modify-write. [1] /* 0x1C : I2CM Master DMA Transfer Leng

[PATCH v2 02/13] hw/i2c/aspeed: Fix DMA len write-enable bit handling

2022-06-28 Thread Peter Delevoryas
I noticed i2c rx transfers were getting shortened to "1" on Zephyr. It seems to be because the Zephyr i2c driver sets the RX DMA len with the RX field write-enable bit set (bit 31) to avoid a read-modify-write. [1] /* 0x1C : I2CM Master DMA Transfer Length Register */ I think we should be check