[BUG] ls1046a: eDMA does not transfer data from I2C

Sean Anderson sean.anderson at seco.com
Mon Sep 19 15:45:13 PDT 2022



On 9/19/22 6:40 PM, Leo Li wrote:
> 
> 
>> -----Original Message-----
>> From: Sean Anderson <sean.anderson at seco.com>
>> Sent: Monday, September 19, 2022 5:24 PM
>> To: Oleksij Rempel <linux at rempel-privat.de>; Pengutronix Kernel Team
>> <kernel at pengutronix.de>; linux-i2c at vger.kernel.org; linux-arm-kernel
>> <linux-arm-kernel at lists.infradead.org>; Vinod Koul <vkoul at kernel.org>;
>> dmaengine at vger.kernel.org
>> Cc: Sumit Semwal <sumit.semwal at linaro.org>; Christian König
>> <christian.koenig at amd.com>; Linux Kernel Mailing List <linux-
>> kernel at vger.kernel.org>; linux-media at vger.kernel.org; dri-
>> devel at lists.freedesktop.org; linaro-mm-sig at lists.linaro.org; Joy Zou
>> <joy.zou at nxp.com>; Peng Ma <peng.ma at nxp.com>; Robin Gong
>> <yibin.gong at nxp.com>; Shawn Guo <shawnguo at kernel.org>; Leo Li
>> <leoyang.li at nxp.com>
>> 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



More information about the linux-arm-kernel mailing list