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: Tue, 24 Jun 2008 03:52:54 +0400 Message-ID: <20080623235254.GA10728@polina.dev.rtsoft.ru> References: <20080623234037.GA6793@polina.dev.rtsoft.ru> 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]:32532 "EHLO buildserver.ru.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751495AbYFWXwz (ORCPT ); Mon, 23 Jun 2008 19:52:55 -0400 Content-Disposition: inline In-Reply-To: <20080623234037.GA6793@polina.dev.rtsoft.ru> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: linux-ide@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz , Alan Cox , Ingo Molnar , Sergei Shtylyov , linux-kernel@vger.kernel.org On Tue, Jun 24, 2008 at 03:40:37AM +0400, Anton Vorontsov wrote: > IDE interrupt handler relies on the fact that, if necessary, hardirqs > will re-trigger on ISR exit. With fully preemtable IRQs this seems to be > not true, since if hardirq thread is currently running, and the same IRQ > raised again, then this IRQ will be simply lost. Btw, I don't actually understand why interrupt "simply lost", IMO it should not.. :-/ But this what I'm observing via bunch of printks in the code flow. Maybe there is not so obvious race, which I can't see. So, help needed. Either it is a proper fix, or it is a workaround for another bug somewhere else. -- Anton Vorontsov email: cbouatmailru@gmail.com irc://irc.freenode.net/bd2