* i.MX8MM SPI DMA not working
@ 2021-06-11 12:44 Fabio Estevam
2021-06-11 13:48 ` Fabio Estevam
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2021-06-11 12:44 UTC (permalink / raw)
To: Robin Gong
Cc: Schrempf Frieder, dmaengine, NXP Linux Team, Adam Ford,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE
Hi Robin,
I am seeing SPI DMA failure on i.MX8MM running kernel 5.13.0-rc5:
[ 41.315984] spi_master spi1: I/O Error in DMA RX
[ 41.320660] mcp251xfd spi1.0: SPI transfer failed: -110
[ 41.325947] spi_master spi1: failed to transfer one message from queue
[ 41.332532] mcp251xfd spi1.0 can0: IRQ handler
mcp251xfd_handle_rxif() returned -110.
[ 41.340432] mcp251xfd spi1.0 can0: IRQ handler returned -110
(intf=0x3f1a0012).
[ 41.347990] spi_master spi2: I/O Error in DMA RX
There is an old series from you that aimed to fix i.MX8MM SPI DMA:
https://patchwork.kernel.org/project/spi-devel-general/patch/1593523876-22387-6-git-send-email-yibin.gong@nxp.com/
Do you have an updated tree with these patches applied so I can test
them with a recent kernel?
Besides the imx-sdma and imx-spi fixes, do we need an updated
sdma-imx7d.bin for SPI DMA to work on i.MX8MM? I am using the one
from the linux-firmware tree:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/imx/sdma/sdma-imx7d.bin
Would it work if a use the ROM firmware or would you recommend using
the external firmware?
Please advise.
Thanks,
Fabio Estevam
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: i.MX8MM SPI DMA not working
2021-06-11 12:44 i.MX8MM SPI DMA not working Fabio Estevam
@ 2021-06-11 13:48 ` Fabio Estevam
0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2021-06-11 13:48 UTC (permalink / raw)
To: Robin Gong
Cc: Schrempf Frieder, dmaengine, NXP Linux Team, Adam Ford,
moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE
Hi Robin,
On Fri, Jun 11, 2021 at 9:44 AM Fabio Estevam <festevam@gmail.com> wrote:
>
> Hi Robin,
>
> I am seeing SPI DMA failure on i.MX8MM running kernel 5.13.0-rc5:
>
> [ 41.315984] spi_master spi1: I/O Error in DMA RX
I found your latest series at:
https://patches.linaro.org/cover/417924/
I applied it and no longer see the DMA RX error.
Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-11 13:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-11 12:44 i.MX8MM SPI DMA not working Fabio Estevam
2021-06-11 13:48 ` Fabio Estevam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).