Re: PREEMPT_RT and mptfusion

From: Ingo Molnar
Date: Wed Jul 06 2005 - 14:53:10 EST



* Serge Noiraud <serge.noiraud@xxxxxxxx> wrote:

> > Yes it was 50-47.
> > CONFIG_X86_UP_IOAPIC is not present in my .config
> > CONFIG_PCI_MSI is set to yes.
> >
> > I'll try with CONFIG_PCI_MSI=n
> It's OK for me. good job.

good. But it would be nice to make it work with PCI_MSI=y too. Does
PCI_MSI=y work if you apply the patch below?

Ingo

--- linux/arch/i386/kernel/io_apic.c.orig
+++ linux/arch/i386/kernel/io_apic.c
@@ -2136,11 +2136,7 @@ static void end_level_ioapic_vector (uns
{
int irq = vector_to_irq(vector);

-#ifdef CONFIG_PREEMPT_HARDIRQS
- if (!(irq_desc[vector].status & (IRQ_DISABLED | IRQ_INPROGRESS)) &&
- irq_desc[vector].action)
-#endif
- end_level_ioapic_irq(irq);
+ end_level_ioapic_irq(irq);
}

static void enable_level_ioapic_vector(unsigned int vector)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/