[PATCH] DMA/RaidEngine: Enable FSL RaidEngine

Kumar Gala galak at kernel.crashing.org
Wed Aug 22 23:37:12 EST 2012


On Aug 22, 2012, at 1:24 AM, <b29237 at freescale.com> <b29237 at freescale.com> wrote:

> From: Xuelin Shi <b29237 at freescale.com>
> 
> The RaidEngine is a new FSL hardware that used as hardware acceration
> for RAID5/6.
> 
> This patch enables the RaidEngine functionality and provides hardware
> offloading capability for memcpy, xor and raid6 pq computation. It works
> under dmaengine control with async_layer interface.
> 
> Signed-off-by: Harninder Rai <harninder.rai at freescale.com>
> Signed-off-by: Naveen Burmi <naveenburmi at freescale.com>
> Signed-off-by: Xuelin Shi <b29237 at freescale.com>
> ---
> arch/powerpc/boot/dts/fsl/p5020si-post.dtsi    |    1 +
> arch/powerpc/boot/dts/fsl/p5020si-pre.dtsi     |    6 +
> arch/powerpc/boot/dts/fsl/qoriq-raid1.0-0.dtsi |   85 ++
> drivers/dma/Kconfig                            |   14 +
> drivers/dma/Makefile                           |    1 +
> drivers/dma/fsl_raid.c                         | 1090 ++++++++++++++++++++++++
> drivers/dma/fsl_raid.h                         |  294 +++++++
> 7 files changed, 1491 insertions(+), 0 deletions(-)
> create mode 100644 arch/powerpc/boot/dts/fsl/qoriq-raid1.0-0.dtsi
> create mode 100644 drivers/dma/fsl_raid.c
> create mode 100644 drivers/dma/fsl_raid.h

Where is the dts binding spec related to qoriq-raid1.0-0.dtsi ?

We should split the device tree parts into a separate patch as they can be reviewed & accepted separate from the driver code.

- k


More information about the Linuxppc-dev mailing list