2022-09-19 22:57:07

by Sean Anderson

[permalink] [raw]
Subject: Re: [BUG] ls1046a: eDMA does not transfer data from I2C



On 9/19/22 6:40 PM, Leo Li wrote:
>
>
>> -----Original Message-----
>> From: Sean Anderson <[email protected]>
>> Sent: Monday, September 19, 2022 5:24 PM
>> To: Oleksij Rempel <[email protected]>; Pengutronix Kernel Team
>> <[email protected]>; [email protected]; linux-arm-kernel
>> <[email protected]>; Vinod Koul <[email protected]>;
>> [email protected]
>> Cc: Sumit Semwal <[email protected]>; Christian König
>> <[email protected]>; Linux Kernel Mailing List <linux-
>> [email protected]>; [email protected]; dri-
>> [email protected]; [email protected]; Joy Zou
>> <[email protected]>; Peng Ma <[email protected]>; Robin Gong
>> <[email protected]>; Shawn Guo <[email protected]>; Leo Li
>> <[email protected]>
>> Subject: [BUG] ls1046a: eDMA does not transfer data from I2C
>>
>> Hi all,
>>
>> I discovered a bug in either imx_i2c or fsl-edma on the LS1046A where no
>> data is read in i2c_imx_dma_read except for the last two bytes (which are
>> not read using DMA). This is perhaps best illustrated with the following
>> example:
>
> What is the kernel tree/tag that you are testing with?

5.15.40

Sorry, I forgot to put that in the first email. I can test with
linux/master, but I reviewed the different commits and I did not think
there would be any difference. I also cherry-picked the eDMA memcpy
commit, but the dma test passed.

--Sean