From: Christoph Hellwig <hch@infradead.org>
To: Ballabio_Dario@emc.com
Cc: hch@infradead.org, manfred@colorfullife.com,
warp@mercury.d2dc.net, linux-scsi@vger.kernel.org
Subject: Re: eata irq abuse (was: Re: Linux 2.5.60)
Date: Wed, 12 Feb 2003 14:25:41 +0000 [thread overview]
Message-ID: <20030212142541.A8262@infradead.org> (raw)
In-Reply-To: <70652A801D9E0C469C28A0F8BCF49CF9012EBA97@itmi1mx2.corp.emc.com>; from Ballabio_Dario@emc.com on Wed, Feb 12, 2003 at 09:13:10AM -0500
On Wed, Feb 12, 2003 at 09:13:10AM -0500, Ballabio_Dario@emc.com wrote:
> Last time I tried to run the detect routine with interrupts enabled,
> it just hung at the first occurrence on an inb() from
> the board registers. If someone is able to have it
> working with interrupts enabled and qualifies the
> solution on all the platforms and eata boards,
> I'd be more than happy to remove it.
Ah, you don't need the lock but the disabled interrupts!
What about adding
local_irq_disable();
...
local_irq_enable();
around the sections that need interreupts disabled? The spinlock is
really confusing.
next prev parent reply other threads:[~2003-02-12 14:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-12 14:13 eata irq abuse (was: Re: Linux 2.5.60) Ballabio_Dario
2003-02-12 14:25 ` Christoph Hellwig [this message]
2003-02-12 14:40 ` James Bottomley
2003-02-12 14:51 ` Christoph Hellwig
2003-02-12 14:54 ` James Bottomley
-- strict thread matches above, loose matches on Subject: below --
2003-02-12 15:37 Ballabio_Dario
2003-02-12 12:47 Ballabio_Dario
2003-02-12 13:17 ` Christoph Hellwig
2003-02-12 10:08 Ballabio_Dario
2003-02-12 15:28 ` Jeff Garzik
2003-02-12 16:03 ` Jeff Garzik
2003-02-12 19:11 ` Suresh Kr N
2003-02-11 17:45 Manfred Spraul
2003-02-11 23:01 ` Zephaniah E. Hull
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030212142541.A8262@infradead.org \
--to=hch@infradead.org \
--cc=Ballabio_Dario@emc.com \
--cc=linux-scsi@vger.kernel.org \
--cc=manfred@colorfullife.com \
--cc=warp@mercury.d2dc.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox