diff options
| author | Patrice Chotard <[email protected]> | 2025-12-16 16:31:53 +0100 |
|---|---|---|
| committer | Patrice Chotard <[email protected]> | 2026-01-29 10:47:57 +0100 |
| commit | addebf9e818683e176496470b81758529f517825 (patch) | |
| tree | 2da65e9eefa4a77ff019fa23019e8ab994570cdf /include/linux/zstd_errors.h | |
| parent | 9e8bc1c6be751b59e1d782dff3c0cc8703cc18d4 (diff) | |
spi: stm32-qspi: Increase read throughput in indirect mode
When WATCHDOG_RESET() was replaced by schedule() in commit
29caf9305b6f ("cyclic: Use schedule() instead of WATCHDOG_RESET()")
we not only reset the watchdog but also call the cyclic infrastructure
which takes time and has impact on read accesses performances.
Move schedule() from _stm32_qspi_read_fifo() to _stm32_qspi_poll()
and call schedule() only every 1MB chunk of data.
Test performed by reading 64MB on sNOR on stm32mp157c-ev1 board:
before after ratio
Read : 201 KB/s 520KB/s +258%
Reviewed-by: Patrick Delaunay <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
Diffstat (limited to 'include/linux/zstd_errors.h')
0 files changed, 0 insertions, 0 deletions
