Messages in this thread | | | From | Sean Anderson <> | Subject | Re: [BUG] ls1046a: eDMA does not transfer data from I2C | Date | Mon, 19 Sep 2022 18:45:13 -0400 |
| |
On 9/19/22 6:40 PM, Leo Li wrote: > > >> -----Original Message----- >> From: Sean Anderson <sean.anderson@seco.com> >> Sent: Monday, September 19, 2022 5:24 PM >> To: Oleksij Rempel <linux@rempel-privat.de>; Pengutronix Kernel Team >> <kernel@pengutronix.de>; linux-i2c@vger.kernel.org; linux-arm-kernel >> <linux-arm-kernel@lists.infradead.org>; Vinod Koul <vkoul@kernel.org>; >> dmaengine@vger.kernel.org >> Cc: Sumit Semwal <sumit.semwal@linaro.org>; Christian König >> <christian.koenig@amd.com>; Linux Kernel Mailing List <linux- >> kernel@vger.kernel.org>; linux-media@vger.kernel.org; dri- >> devel@lists.freedesktop.org; linaro-mm-sig@lists.linaro.org; Joy Zou >> <joy.zou@nxp.com>; Peng Ma <peng.ma@nxp.com>; Robin Gong >> <yibin.gong@nxp.com>; Shawn Guo <shawnguo@kernel.org>; Leo Li >> <leoyang.li@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
| |