Re: [PATCH v3 2/3] spi: nxp-xspi: Improve AHB read performance with DMA
From: Mark Brown
Date: Thu Jul 23 2026 - 10:30:25 EST
On Wed, Jul 22, 2026 at 05:00:43PM -0500, han.xu@xxxxxxxxxxx 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.
Attachment:
signature.asc
Description: PGP signature