linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] spi: spi-fsl-spi: try to make cpu-mode transfers faster
@ 2019-03-27 14:30 Rasmus Villemoes
  2019-03-27 14:30 ` [RFC PATCH 1/4] spi: spi-fsl-spi: remove always-true conditional in fsl_spi_do_one_msg Rasmus Villemoes
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Rasmus Villemoes @ 2019-03-27 14:30 UTC (permalink / raw)
  To: Mark Brown, linux-spi; +Cc: linux-kernel, Fabio Estevam, Rasmus Villemoes

I doubt patches 3 and 4 are acceptable, but I'd still like to get
comments and/or alternative suggestions for making large transfers
faster.

The patches have been tested on an MPC8309 with a Cypress S25FL032P
spi-nor slave, and make various operations between 50% and 73%
faster.

We have not observed any problems, but to completely rule out the
possibility of "glitches on SPI CLK" mentioned in patch 3 would of
course require testing on a much wider set of hardware combinations.

Rasmus Villemoes (4):
  spi: spi-fsl-spi: remove always-true conditional in fsl_spi_do_one_msg
  spi: spi-fsl-spi: relax message sanity checking a little
  spi: spi-fsl-spi: allow changing bits_per_word while CS is still
    active
  spi: spi-fsl-spi: automatically adapt bits-per-word in cpu mode

 drivers/spi/spi-fsl-spi.c | 41 +++++++++++++++++++++++++++------------
 1 file changed, 29 insertions(+), 12 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-04-02  9:10 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-27 14:30 [RFC PATCH 0/4] spi: spi-fsl-spi: try to make cpu-mode transfers faster Rasmus Villemoes
2019-03-27 14:30 ` [RFC PATCH 1/4] spi: spi-fsl-spi: remove always-true conditional in fsl_spi_do_one_msg Rasmus Villemoes
2019-04-01  8:54   ` Applied "spi: spi-fsl-spi: remove always-true conditional in fsl_spi_do_one_msg" to the spi tree Mark Brown
2019-03-27 14:30 ` [RFC PATCH 2/4] spi: spi-fsl-spi: relax message sanity checking a little Rasmus Villemoes
2019-04-01  8:54   ` Applied "spi: spi-fsl-spi: relax message sanity checking a little" to the spi tree Mark Brown
2019-03-27 14:30 ` [RFC PATCH 3/4] spi: spi-fsl-spi: allow changing bits_per_word while CS is still active Rasmus Villemoes
2019-03-27 14:30 ` [RFC PATCH 4/4] spi: spi-fsl-spi: automatically adapt bits-per-word in cpu mode Rasmus Villemoes
2019-04-01  7:34 ` [RFC PATCH 0/4] spi: spi-fsl-spi: try to make cpu-mode transfers faster Mark Brown
2019-04-02  8:43   ` Rasmus Villemoes
2019-04-02  9:10     ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).