From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mugunthan V N Subject: Re: [PATCH 1/5] net/davinci_cpdma: don't check for jiffies with interrupts Date: Thu, 18 Apr 2013 17:19:54 +0530 Message-ID: <516FDDE2.6080500@ti.com> References: <1366235536-15744-1-git-send-email-bigeasy@linutronix.de> <1366235536-15744-2-git-send-email-bigeasy@linutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: , , "David S. Miller" To: Sebastian Andrzej Siewior Return-path: Received: from arroyo.ext.ti.com ([192.94.94.40]:45272 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967170Ab3DRLuH (ORCPT ); Thu, 18 Apr 2013 07:50:07 -0400 In-Reply-To: <1366235536-15744-2-git-send-email-bigeasy@linutronix.de> Sender: netdev-owner@vger.kernel.org List-ID: On 4/18/2013 3:22 AM, Sebastian Andrzej Siewior wrote: > __cpdma_chan_process() holds the lock with interrupts off (and its > caller as well), same goes for cpdma_ctlr_start(). With interrupts off, > jiffies will not make any progress and if the wait condition never gets > true we wait for ever. > Tgis patch adds a a simple udelay and counting down attempt. > > Signed-off-by: Sebastian Andrzej Siewior Acked-by: Mugunthan V N Regards Mugunthan V N