[PATCH v3 2/3] spi: nxp-xspi: Improve AHB read performance with DMA
Mark Brown
broonie at kernel.org
Thu Jul 23 07:21:25 PDT 2026
On Wed, Jul 22, 2026 at 05:00:43PM -0500, han.xu at oss.nxp.com wrote:
> + timeout = wait_for_completion_timeout(&xspi->dma_rx_c, NXP_XSPI_DMA_TOUT);
> + if (!timeout) {
I'll apply this since the issues are getting a bit theoretical but a
fixed timeout will have scaling issues - you can configure a very large
transfer on a slow bus (eg, 1M at 1MHz) and have a bad time. I'm not
sure that would be a good idea in the first place.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260723/d1b6d7d0/attachment.sig>
More information about the linux-arm-kernel
mailing list