[PATCH 0/7] mv_xor: Cleanups and improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

This series is the result of Lior Amsalem's nice work to improve the mv_xor
engine. The most interesting patches are:

  * Patch 2, which reduces code duplication by implementing the DMA_MEMCPY
    in terms of a DMA_XOR.

    This not only simplifies the driver, but also improves performance.
    The controller is now able to put DMA_MEMCPY and DMA_XOR transactions
    in the same chain, given they are both handled as XOR commands.

  * Patch 3, which removes the multi-slot support entirely. Such support
    is not used and it only makes the code much more complex for no reason.

  * Patch 5, which enables the end-of-descriptor interrupt only when needed.
    For DMA_XOR and DMA_MEMCPY operations the end-of-chain is used. This
    reduces the number of interrupts.

  * Patch 7, which adds support for the DMA_INTERRUPT operation. This is
    implemented as a XOR operation from a dummy source to a dummy destination.

The rest of the patches are cleanups, removing some dead code and making the
code more readable. The patches are based on v3.17-rc1.

Ezequiel Garcia (3):
  dma: mv_xor: Replace printk with dev_info
  dma: mv_xor: Remove all interrupt magic numbers
  dma: mv_xor: Remove dead code

Lior Amsalem (4):
  dma: mv_xor: Simplify the DMA_MEMCPY operation
  dma: mv_xor: Remove multi-slot support
  dma: mv_xor: Reduce interrupts by enabling EOD only when needed
  dma: mv_xor: Add support for DMA_INTERRUPT

 drivers/dma/mv_xor.c | 268 ++++++++++++++++++---------------------------------
 drivers/dma/mv_xor.h |  62 ++++++------
 2 files changed, 123 insertions(+), 207 deletions(-)

-- 
2.0.1

--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux