diff options
author | James Clark <james.clark@linaro.org> | 2025-09-02 13:44:56 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-09-03 14:30:31 +0100 |
commit | 36db0b03d3745700aca4fced26f6eb624f6ea4bc (patch) | |
tree | 1f9dbe047a47da943ec29a192787cd25bd2138d4 /rust/helpers/processor.c | |
parent | 4850f158c06eeaf4997fc65c47544f2c82ad5a45 (diff) |
spi: spi-fsl-dspi: Use non-coherent memory for DMA
Using coherent memory here isn't functionally necessary, we're only
either sending data to the device or reading from it. This means
explicit synchronizations are only required around those points and the
change is fairly trivial.
This gives us around a 10% increase in throughput for large DMA
transfers and no loss for small transfers.
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: James Clark <james.clark@linaro.org>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Message-ID: <20250902-james-nxp-spi-dma-v6-4-f7aa2c5e56e2@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/processor.c')
0 files changed, 0 insertions, 0 deletions