Skip to content

spi: loopback-test: improvments and sharing dump code

[email protected] linux-spi 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 2 repliesIn review
  2. v28 patches 6 repliesSuperseded
  3. v14 patches 5 repliesSuperseded

Changelog from the cover letter

V1->V2: * changes recommended in review by Andy Shevchenko
* better separation to smaller patches
* reintroduction of check for RX guard-pattern lost in V1
* rename module parameters, variables and methods
V2->V3: only change in patch 3 as per review of Andy Shevchenko
* kernel doc
* use of %*ph for dumping hex
* fixing | to ||

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8spi: loopback-test: write rx pattern also when running without tx_bufdrivers/spi/spi-loopback-test.c+4 -40 replies
2/8spi: loopback-test: rename method spi_test_fill_tx to spi_test_fill_patterndrivers/spi/spi-loopback-test.c+4 -30 replies
3/8spi: core: add spi_message_dump and spi_transfer_dumpdrivers/spi/spi.c include/linux/spi/spi.h+195 -01 reply
4/8spi: loopback-test: move to use spi_message_dump_datadrivers/spi/spi-loopback-test.c+39 -770 replies
5/8spi: loopback-test: spi_check_rx_ranges can get always donedrivers/spi/spi-loopback-test.c+14 -50 replies
6/8spi: loopback-test: improve granularity of dump_messages module parameterdrivers/spi/spi-loopback-test.c+28 -110 replies
7/8spi: loopback-test: change module parameter name to have_external_loopbackdrivers/spi/spi-loopback-test.c+7 -70 replies
8/8spi: loopback-test: added support for HW-loopback modedrivers/spi/spi-loopback-test.c+27 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/8] spi: loopback-test: improvments and sharing dump code

From: Martin Sperl <[email protected]>

Move spi_message dump method into SPI-core and make use of this extended version of the dumping code in loopback-test.

This requires also separation of some content verification from the dump code itself.

Also it now handles module-parameters differently (some renaming to make it clearer what they are for) and adds SPI_LOOP support.

Changelog:
V1->V2: * changes recommended in review by Andy Shevchenko
* better separation to smaller patches
* reintroduction of check for RX guard-pattern lost in V1
* rename module parameters, variables and methods
V2->V3: only change in patch 3 as per review of Andy Shevchenko
* kernel doc
* use of %*ph for dumping hex
* fixing | to ||

Martin Sperl (8):
spi: loopback-test: write rx pattern also when running without tx_buf
spi: loopback-test: rename method spi_test_fill_tx to
spi_test_fill_pattern
spi: core: add spi_message_dump and spi_transfer_dump
spi: loopback-test: move to use spi_message_dump_data
spi: loopback-test: spi_check_rx_ranges can get always done
spi: loopback-test: improve granularity of dump_messages module
parameter
spi: loopback-test: change module parameter name to
have_external_loopback
spi: loopback-test: added support for HW-loopback mode

 drivers/spi/spi-loopback-test.c |  217 +++++++++++++++++++++------------------
 drivers/spi/spi.c               |  171 ++++++++++++++++++++++++++++++
 include/linux/spi/spi.h         |   24 +++++
 3 files changed, 311 insertions(+), 101 deletions(-)

--
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html