All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Daniel Walker <dwalker@mvista.com>
Cc: Vitaly Wool <vwool@ru.mvista.com>, linux-kernel@vger.kernel.org
Subject: Re: 'sleeping function called from invalid context' bug when mounting an IDE device
Date: Fri, 8 Jul 2005 16:02:54 +0200	[thread overview]
Message-ID: <20050708140254.GA5477@elte.hu> (raw)
In-Reply-To: <1120831242.19225.3.camel@c-67-188-6-232.hsd1.ca.comcast.net>


* Daniel Walker <dwalker@mvista.com> wrote:

> > > So, the problem is in the generic IDE code, namely, in ide_intr() 
> > > taking ide_lock.
> > 
> > which version did you try, and does this happen with the latest patch 
> > too?
> 
> Interrupts should be enabled unconditionally for threaded interrupt 
> handlers. Or at least the generics work that way.

yes, that's why i'm asking about the version and the full backtrace.  
Threaded irq handlers run with irqs enabled:

        /*
         * Unconditionally enable interrupts for threaded
         * IRQ handlers:
         */
        if (!hardirq_count() || !(action->flags & SA_INTERRUPT))
                raw_local_irq_enable();

    Ingo

      reply	other threads:[~2005-07-08 14:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-08 12:28 'sleeping function called from invalid context' bug when mounting an IDE device Vitaly Wool
2005-07-08 13:43 ` Ingo Molnar
2005-07-08 14:00   ` Daniel Walker
2005-07-08 14:02     ` Ingo Molnar [this message]

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=20050708140254.GA5477@elte.hu \
    --to=mingo@elte.hu \
    --cc=dwalker@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vwool@ru.mvista.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.