linux/drivers/mtd/spi-nor/controllers
Luis Alberto Herrera e93a977367 mtd: revert "spi-nor: intel: provide a range for poll_timout"
This change reverts aba3a882a1: "mtd: spi-nor: intel: provide a range
for poll_timout". That change introduces a performance regression when
reading sequentially from flash. Logging calls to intel_spi_read without
this change we get:

Start MTD read
[   20.045527] intel_spi_read(from=1800000, len=400000)
[   20.045527] intel_spi_read(from=1800000, len=400000)
[  282.199274] intel_spi_read(from=1c00000, len=400000)
[  282.199274] intel_spi_read(from=1c00000, len=400000)
[  544.351528] intel_spi_read(from=2000000, len=400000)
[  544.351528] intel_spi_read(from=2000000, len=400000)
End MTD read

With this change:

Start MTD read
[   21.942922] intel_spi_read(from=1c00000, len=400000)
[   21.942922] intel_spi_read(from=1c00000, len=400000)
[   23.784058] intel_spi_read(from=2000000, len=400000)
[   23.784058] intel_spi_read(from=2000000, len=400000)
[   25.625006] intel_spi_read(from=2400000, len=400000)
[   25.625006] intel_spi_read(from=2400000, len=400000)
End MTD read

Signed-off-by: Luis Alberto Herrera <luisalberto@google.com>
Tested-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Link: https://lore.kernel.org/r/20200610224652.64336-1-luisalberto@google.com
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
2020-07-28 11:35:27 +03:00
..
aspeed-smc.c mtd: spi-nor: Fix SPI NOR acronym 2020-05-28 10:46:23 +03:00
hisi-sfc.c mtd: spi-nor: Fix SPI NOR acronym 2020-05-28 10:46:23 +03:00
intel-spi-pci.c mtd: spi-nor: intel-spi: Add support for Intel Tiger Lake-H SPI serial flash 2020-06-26 12:35:03 +03:00
intel-spi-platform.c
intel-spi.c mtd: revert "spi-nor: intel: provide a range for poll_timout" 2020-07-28 11:35:27 +03:00
intel-spi.h
Kconfig spi: Move cadence-quadspi driver to drivers/spi/ 2020-06-19 14:26:54 +01:00
Makefile spi: Move cadence-quadspi driver to drivers/spi/ 2020-06-19 14:26:54 +01:00
nxp-spifi.c mtd: spi-nor: Fix SPI NOR acronym 2020-05-28 10:46:23 +03:00