From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anton Vorontsov Subject: Re: [PATCH -rt] ide: fix interrupts processing issue with preempt-able hardirqs Date: Wed, 25 Jun 2008 18:12:42 +0400 Message-ID: <20080625141242.GA27389@polina.dev.rtsoft.ru> References: <20080623234037.GA6793@polina.dev.rtsoft.ru> <20080623235141.GB17297@elte.hu> <20080624000016.GA12547@polina.dev.rtsoft.ru> <20080625123431.GA25452@polina.dev.rtsoft.ru> <20080625133257.7677258d@lxorguk.ukuu.org.uk> Reply-To: avorontsov@ru.mvista.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf8 Return-path: Received: from rtsoft3.corbina.net ([85.21.88.6]:2487 "EHLO buildserver.ru.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751130AbYFYOMo (ORCPT ); Wed, 25 Jun 2008 10:12:44 -0400 Content-Disposition: inline In-Reply-To: <20080625133257.7677258d@lxorguk.ukuu.org.uk> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Alan Cox Cc: Ingo Molnar , linux-ide@vger.kernel.org, Bartlomiej Zolnierkiewicz , Sergei Shtylyov , linux-kernel@vger.kernel.org, Thomas Gleixner , Steven Rostedt , Daniel Walker On Wed, Jun 25, 2008 at 01:32:57PM +0100, Alan Cox wrote: > > The bug, as I see it, in the alim15x3 (ULi M5228) hardware: for some > > reason it does not hold IRQ line, but rises it for some short period > > of time (while the drive itself rises and holds it correctly -- I'm > > seeing it via oscilloscope). > > Are you sure the kernel isn't touching the status register and so > clearing the IRQ condition at the controller ? There are lots of places that reads status register, and looking into the code flow I don't see any problem with the code. But to be sure I inserted a printk into INB, and I don't see any status reads when/after the drive asserts its IRQ. -- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2