Thread (33 messages) 33 messages, 4 authors, 2020-05-14

Re: [PATCH v7 RESEND 07/13] spi: imx: fix ERR009165

From: Sascha Hauer <s.hauer@pengutronix.de>
Date: 2020-05-13 09:20:50
Also in: dmaengine, linux-arm-kernel, linux-spi, lkml

On Wed, May 13, 2020 at 08:52:39AM +0000, Robin Gong wrote:
On 2020/05/13 16:48 Sascha Hauer [off-list ref] wrote:
quoted
On Wed, May 13, 2020 at 08:38:26AM +0000, Robin Gong wrote:
quoted
On 2020/05/13 Sascha Hauer [off-list ref] wrote:
quoted
This patch is the one bisecting will end up with when somebody uses
an older SDMA firmware or the ROM scripts. It should have a better
description what happens and what should be done about it.
Emm..That's true. Timeout will be caught in such case, hence, maybe we can
fall back it to pio always.

With my patch applied sdma_load_context() will fail. I don't know how exactly
this hits into the SPI driver, but it won't be a timeout.
Thanks for your quick test, assume you use ROM firmware, right?
Yes.

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help