diff options
author | 2015-10-13 15:51:05 +0530 | |
---|---|---|
committer | 2015-10-16 19:08:06 +0100 | |
commit | 57c2ecd9bf971946ea0c6ae90a79c90a22159c73 (patch) | |
tree | a27454ff77f3d5c5e8747d54a5f132ccb7191b47 /net/unix/af_unix.c | |
parent | Linux 4.3-rc1 (diff) | |
download | wireguard-linux-57c2ecd9bf971946ea0c6ae90a79c90a22159c73.tar.xz wireguard-linux-57c2ecd9bf971946ea0c6ae90a79c90a22159c73.zip |
spi: spi-ti-qspi: switch to polling mode for better r/w performance
Currently word completion interrupt is fired for transfer of every
word(8bit to 128bit in size). This adds a lot of overhead, and decreases
r/w throughput. It hardly takes 3us(@48MHz) for 128bit r/w to complete,
hence its better to poll on word complete bit to be set in
QSPI_SPI_STATUS_REG instead of using interrupts.
This increases the throughput by 30% in both read and write case.
So, switch to polling mode instead of interrupts to determine completion
of word transfer.
Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions