Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753610AbYLMXw2 (ORCPT ); Sat, 13 Dec 2008 18:52:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752090AbYLMXwT (ORCPT ); Sat, 13 Dec 2008 18:52:19 -0500 Received: from mailout-venus.uni-duesseldorf.de ([134.99.128.32]:54757 "EHLO mail.rz.uni-duesseldorf.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751372AbYLMXwS (ORCPT ); Sat, 13 Dec 2008 18:52:18 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: TEXT/PLAIN; charset=US-ASCII Date: Sun, 14 Dec 2008 00:52:15 +0100 (CET) From: Michael Schmitz Subject: Re: [PATCH 2/3] ide: add ide_[un]lock_hwgroup() helpers In-reply-to: <200812140015.51978.bzolnier@gmail.com> To: Bartlomiej Zolnierkiewicz Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven , Elias Oltmanns Message-id: References: <200811182116.00351.bzolnier@gmail.com> <200812140015.51978.bzolnier@gmail.com> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1324 Lines: 33 Hi, > [ Sorry for the late reply. ] No worries - I haven't been very active either. It's home improvement season down under... > > Something I've run into while working on the locking stuff: what happens if the > > above ide_lock_hwgroup(hwgroup) sleeps for long enough to trigger the request > > timer? > > AFAICS this happens before the hwgroup timeout timer is armed and IDE is not > using block layer request timers yet so we should be fine here.. OK; I'll just let it block while SCSI requests are in flight. Thanks for pondering this :-) There's another change I'll send via Geert: since in Falcon, IDE uses stdma_intr as interrupt handler (interrupts dispatched there to whichever driver has exclusive use of the ST-DMA and associated interrupt), and this handler has been registered prior to IDE setup it is not necessary to request the IDE interrupt on Falcon when probing the IDE interface. In fact, this results in the IDE interrupt possibly getting run while the lock is not being held by IDE. Other than that it all seems to work fine. Michael -- 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/