Re: [PATCH v5 0/3] spi: tegra210-quad: Improve interrupt handling for loaded systems

Mark Brown <[email protected]>
Newsgroups org.kernel.vger.linux-tegra,org.kernel.vger.linux-kernel,org.kernel.vger.linux-spi
Message-ID <[email protected]>
On Wed, Jul 08, 2026 at 01:12:54AM +0000, Vishwaroop A wrote:
> The current threaded IRQ implementation in spi-tegra210-quad suffers from
> scheduler-induced latency on heavily loaded systems. Because threaded IRQ
> handlers are subject to CFS scheduling, they can be delayed long enough to
> trigger transfer timeouts even though hardware completes in microseconds.
> This results in false timeout errors and WARN_ON splats during normal
> operation.

Is the handling for timeouts with DMA transfers that get split or
chained together safe?  handle_dma_based_xfer() starts a new DMA after
the current one completes if there's more work to do but it looks like
_combined_seq_xfer() will clear curr_xfer if we didn't get an error from
handling the timeout.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmpc5CoACgkQJNaLcl1U
h9BbTgf8CYbgoUMsXHKhpfVE2XUJ0Y0pBQhodvk/MlN9N3S0plYLN/2AA7oJZ/O1
Z+LvCVnReggifw4TD52M9H9T7yUqz0Iy/QtvXQB5rBHEbmB77G7E6l5JEHctglUN
axtLTRfFrZ0ziCU2ZEoRttYt5HDqksedLEmy4q71zy3ufKcTafosZCVmnj3BhXx4
dn4A2JRCBwrHDepkT2cd6pl7NpYtGfCNcW6OcRfUoAuFjXeMnIBxbuj4pbY4zJIa
jEn7iMhv3mG7U8o25+qLO9iSDF62gaIk3CTFi+jkBzq5K+SCj9ghBeceIEbZ46h7
QC/zhYweCoL9xmlmma88SAu2PblolA==
=xEde
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.