From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755074Ab2FKOWS (ORCPT ); Mon, 11 Jun 2012 10:22:18 -0400 Received: from mga03.intel.com ([143.182.124.21]:36660 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754858Ab2FKOWQ convert rfc822-to-8bit (ORCPT ); Mon, 11 Jun 2012 10:22:16 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="110716456" Message-ID: <1339424520.29057.49.camel@smile> Subject: Re: dmatest to use synopsys dma driver (dw_dmac.c) From: Andy Shevchenko To: satendra.pratap@mindspeed.com Cc: hskinnemoen@gmail.com, viresh.kumar@st.com, linux-kernel@vger.kernel.org Date: Mon, 11 Jun 2012 17:22:00 +0300 In-Reply-To: References: Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Mailer: Evolution 3.2.2-1+b1 Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2012-06-11 at 17:06 +0530, satendra.pratap@mindspeed.com wrote: > >> 1. dmatest with ported dw_dmac.c (from linux-3.4 to linux-3.2.2): > > >>dmatest started automatically and tries test with all registered 8 > >>channels of our dma engine but we get crashes with every channel as > shown > >>below: > > These crashes are solved but I get same " test timed out" for this ported > driver too > as I was getting with original one. After debugging, it seems that after > dma transfer is complete no interrupt is > generated.......I have verified irq number etc , handler registered > properly but I don get any interrupts.. > I am looking into the code to see whether there is any polling mechanism > is used in the driver ? I have few patches to fix this driver for our hardware. The dw_dmac has few issues, one of them is impossibility to configure some important parts of the IP-block like block_ts or tr_width. So, I could send patchset which probably helps you a bit. -- Andy Shevchenko Intel Finland Oy