Skip to content

Add optional dma transfers to mtest

Peter Tyser u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3fsl_dma: Make DMA transactions snoopabledrivers/dma/fsl_dma.c+2 -20 replies
2/3mtest: Add optional support for DMA memory testcommon/cmd_mem.c+65 -00 replies
3/3XPedite5200, XPedite5370: Enable DMA memory testinclude/configs/XPEDITE5200.h include/configs/XPEDITE5370.h+5 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [U-Boot] [RFC/PATCH 0/3] Add optional dma transfers to mtest

This series tries to add a DMA memory test to the mtest tests. The DMA test performs bursts to SDRAM which can be useful in stressing memory and can be difficult to produce reliably in certain circumstances (eg running with data caches disabled).

It can be enabled on 85xx and 86xx boards by defining CONFIG_FSL_DMA, CONFIG_SYS_ALT_MEMTEST, and CONFIG_SYS_DMA_MEMTEST.

Other platforms will need to support the dmacpy() function in order to enable the DMA memory test.

Peter Tyser (3):
fsl_dma: Make DMA transactions snoopable
mtest: Add optional support for DMA memory test XPedite5200, XPedite5370: Enable DMA memory test

 common/cmd_mem.c              |   65 +++++++++++++++++++++++++++++++++++++++++
 drivers/dma/fsl_dma.c         |    4 +-
 include/configs/XPEDITE5200.h |    4 ++-
 include/configs/XPEDITE5370.h |    2 +
 4 files changed, 72 insertions(+), 3 deletions(-)