Skip to content

dma: mv_xor: big endian support

Vinod Koul linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest0 of 2 patches 0 repliesNew

Patches in v2 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCHv2 0/2] dma: mv_xor: big endian support
Quoted 6 lines · Thomas Petazzoni

Vinod, Dan,

I've sent the below two patches about three weeks ago, and they haven't received any comments. They are relatively simple, so would it be possible to queue them for 3.12 ?

Quoted 15 lines

Jason, Andrew, Gregory, as the Marvell EBU maintainers, it would be great if you could give your Acked-by and/or Tested-by on those patches.

Thanks!

Thomas

Quoted 7 lines · Thomas Petazzoni

Vinod, Dan,

This small set of patches adds support for big endian operation in the DMA mv_xor driver. It has been tested in both little-endian and big-endian modes on the Armada XP GP board.

If possible, I'd like those to be merged for 3.12.

These look fine to me.

Dan let me know if you okay with me to carry these

~Vinod

Quoted 26 lines
Quoted 18 lines

Changes since v1:
* Use readl_relaxed() and writel_relaxed() instead of readl/writel when converting from raw_readl/raw_writel, since they preserve the same barrier behavior. Suggested by Russell King.

Thanks!

Thomas

Thomas Petazzoni (2):
mv_xor: use {readl,writel}_relaxed instead of __raw_{readl,writel}
mv_xor: support big endian systems using descriptor swap feature

 drivers/dma/mv_xor.c | 47 +++++++++++++++++++++++++++--------------------
 drivers/dma/mv_xor.h | 28 +++++++++++++++++++++++++++-
 2 files changed, 54 insertions(+), 21 deletions(-)
Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com