Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754175AbbBNOWD (ORCPT ); Sat, 14 Feb 2015 09:22:03 -0500 Received: from mail-bn1on0066.outbound.protection.outlook.com ([157.56.110.66]:27282 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754083AbbBNOV7 convert rfc822-to-8bit (ORCPT ); Sat, 14 Feb 2015 09:21:59 -0500 From: Appana Durga Kedareswara Rao To: Vinod Koul CC: Arnd Bergmann , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , Srikanth Vemula , "linux-kernel@vger.kernel.org" , "Srikanth Thokala" , "dmaengine@vger.kernel.org" , "robh+dt@kernel.org" , Michal Simek , Anirudha Sarangi , "grant.likely@linaro.org" , "dan.j.williams@intel.com" Subject: RE: [PATCH v4] dma: Add Xilinx AXI Direct Memory Access Engine driver support Thread-Topic: [PATCH v4] dma: Add Xilinx AXI Direct Memory Access Engine driver support Thread-Index: AQHQRqeCVViZ7NqBtUWyMnxt92wCvZzsxWFA Date: Sat, 14 Feb 2015 14:21:52 +0000 References: <1413374436-14410-1-git-send-email-sthokal@xilinx.com> <3236720.MHeqOodrCV@wuerfel> <7dc11ef7ccec49bcb052c30b9aa916c3@BL2FFO11FD044.protection.gbl> <1967130.oYyZRWCcEF@wuerfel> <20150212093445.GM21387@intel.com> In-Reply-To: <20150212093445.GM21387@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.23.231.198] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-7.5.0.1018-21328.007 X-TM-AS-User-Approved-Sender: Yes;Yes;Yes Message-ID: X-EOPAttributedMessage: 0 Authentication-Results: spf=permerror (sender IP is 149.199.60.83) smtp.mailfrom=appana.durga.rao@xilinx.com; intel.com; dkim=none (message not signed) header.d=none; X-Forefront-Antispam-Report: CIP:149.199.60.83;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(448002)(189002)(199003)(377454003)(13464003)(51704005)(24454002)(47776003)(23726002)(62966003)(77156002)(92566002)(106116001)(106466001)(46406003)(104016003)(50466002)(110136001)(19300405004)(46102003)(108616004)(6806004)(74316001)(53416004)(85326001)(87936001)(2656002)(86362001)(50986999)(54356999)(76176999)(97756001)(19580395003)(19580405001)(93886004)(102836002)(15975445007)(92726002)(2950100001)(2690400003)(107986001)(24736002)(562404015);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2FFO11HUB009;H:xsj-pvapsmtpgw01;FPR:;SPF:PermError;MLV:sfv;MX:1;A:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2FFO11HUB009; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004);SRVR:BY2FFO11HUB009;BCL:0;PCL:0;RULEID:;SRVR:BY2FFO11HUB009; X-Forefront-PRVS: 0487C0DB7E X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Feb 2015 14:21:56.7278 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2FFO11HUB009 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3117 Lines: 69 Hi Vinod, > -----Original Message----- > From: Vinod Koul [mailto:vinod.koul@intel.com] > Sent: Thursday, February 12, 2015 3:05 PM > To: Appana Durga Kedareswara Rao > Cc: Arnd Bergmann; linux-arm-kernel@lists.infradead.org; > devicetree@vger.kernel.org; Srikanth Vemula; linux- > kernel@vger.kernel.org; Srikanth Thokala; dmaengine@vger.kernel.org; > robh+dt@kernel.org; Michal Simek; Anirudha Sarangi; > grant.likely@linaro.org; dan.j.williams@intel.com > Subject: Re: [PATCH v4] dma: Add Xilinx AXI Direct Memory Access Engine > driver support > > On Thu, Jan 29, 2015 at 11:24:41AM +0000, Appana Durga Kedareswara Rao > wrote: > > > Earlier in the driver we are embedding dma_slave_config into custom > > > structs But Lars suggested to modify it. please refer to the below > > > thread for more details. > > > http://www.spinics.net/lists/dmaengine/msg00010.html > > > > > > And later we thought of creating a separate private member in > > > dma_slave_config for sharing additional configuration between slave > > > device and dma engine Or a new dma_ctrl_cmd like > > > > FSLDMA_EXTERNAL_START(http://www.kernelhub.org/?msg=405535&p=2 ) > > > > > > Finally Vinod was ok with the existing suggestion so we dropped the > > > above thought. > > > > > > @Vinod : Could you please comment on this. > FSLDMA_EXTERNAL_START has been removed, and you cna use the removal > as a guidance of how to solve your issue > The current VDMA driver that got merged in the open source and the current patch (dma: xilinx dma v4) Srikanth T submitted both contains the Similar implementation that you pointed as above(I mean similar to the free scale dma driver). The discussion starts here is why we need the header file(Xilinx_dma.h) in the include/linux/amba/Xilinx_dma.h folder. Like for FSL DMA it is got defined (fsl_dma_external_start) as a function prototype in include/linux/fsldma.h And it is being getting used in the drivers/misc/carma/carma-fpga-program.c Similarly in the Xilinx VDMA driver(xilinx_vdma_channel_set_config ) defined as a function prototype in the include/linux/amba/xilinx_dma.h And is being used by Xilinx videos drivers. Those video driver need to use the (xilinx_vdma_channel_set_config) which requires this global header file. Could you please suggest us whether that header file (Xilinx_dma.h) should be there in include/linux/amba or we should move it to include/linux? And any functional comments for this v4 patch? Regards, Kedar. > Thanks > > -- > ~Vinod This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/