From patchwork Thu Apr 2 10:43:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 6146701 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 37E24BF4A6 for ; Thu, 2 Apr 2015 10:48:05 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 71CC720386 for ; Thu, 2 Apr 2015 10:48:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E456A20392 for ; Thu, 2 Apr 2015 10:48:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751260AbbDBKsC (ORCPT ); Thu, 2 Apr 2015 06:48:02 -0400 Received: from mga02.intel.com ([134.134.136.20]:23781 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750747AbbDBKsB (ORCPT ); Thu, 2 Apr 2015 06:48:01 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 02 Apr 2015 03:48:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,510,1422950400"; d="scan'208";a="674272217" Received: from vkoul-udesk3.iind.intel.com ([10.223.84.65]) by orsmga001.jf.intel.com with ESMTP; 02 Apr 2015 03:47:58 -0700 Received: from vkoul-udesk3.iind.intel.com (localhost [127.0.0.1]) by vkoul-udesk3.iind.intel.com (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t32Ahav5008333; Thu, 2 Apr 2015 16:13:36 +0530 Received: (from vkoul@localhost) by vkoul-udesk3.iind.intel.com (8.14.4/8.14.4/Submit) id t32AhZLI008332; Thu, 2 Apr 2015 16:13:35 +0530 X-Authentication-Warning: vkoul-udesk3.iind.intel.com: vkoul set sender to vinod.koul@intel.com using -f Date: Thu, 2 Apr 2015 16:13:35 +0530 From: Vinod Koul To: xuelin.shi@freescale.com Cc: dan.j.williams@intel.com, dmaengine@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Harninder Rai Subject: Re: [PATCH v6] dmaengine: Driver support for FSL RaidEngine device. Message-ID: <20150402104335.GD6631@intel.com> References: <1425363982-14925-1-git-send-email-xuelin.shi@freescale.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1425363982-14925-1-git-send-email-xuelin.shi@freescale.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Tue, Mar 03, 2015 at 02:26:22PM +0800, xuelin.shi@freescale.com wrote: > From: Xuelin Shi > > The RaidEngine is a new FSL hardware used for Raid5/6 acceration. > This patch enables the RaidEngine functionality and provides > hardware offloading capability for memcpy, xor and pq computation. > It works with async_tx. Applied, with below patch added on top struct device *dev, *chandev; diff --git a/drivers/dma/fsl_raid.c b/drivers/dma/fsl_raid.c index 12778bd6446b..4d9470f16552 100644 --- a/drivers/dma/fsl_raid.c +++ b/drivers/dma/fsl_raid.c @@ -629,7 +629,7 @@ static void fsl_re_free_chan_resources(struct dma_chan *chan) dev_err(re_chan->dev, "chan resource cannot be cleaned!\n"); } -int fsl_re_chan_probe(struct platform_device *ofdev, +static int fsl_re_chan_probe(struct platform_device *ofdev, struct device_node *np, u8 q, u32 off) {