lkml.org 
[lkml]   [2003]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.5.63: 'Debug: sleeping function called from illegal context
From
Date
On Sun, 2003-03-02 at 10:23, Manfred Spraul wrote:
> sleeping - e.g. on a NUMA arch an IPI to the right node could be necessary.
> What about fixing ide? If ide can't handle early interrupts, then it can use
>
> disable_irq();

disable_irq(n) isn't something all platforms seem to define before the
IRQ is requested, In addition disable_irq() is not supported on some
systems the IDE code supports. I have to have local CPU interrupts
disabled on the CPU at the point the IRQ becomes live.

The former we could probably solve with "SA_DISABLE" to request an IRQ
that is disabled, but I'm not sure how we deal with platforms which
plain and simply do not have 'mask irq' functionality but are using a
level triggered interrupt.

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.023 / U:2.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site