Re: PCI MSI breaks when booting with nosmp

From: Jean Delvare
Date: Mon Apr 21 2008 - 16:48:00 EST


Hi Andi,

Le lundi 21 avril 2008, Andi Kleen a écrit :
> > In my case, booting with noapic works fine, so I don't think that the problem
> > is related to APIC being disabled.
>
> noapic is not the same as no ioapic. maxcpus=0 just disables the IO-APIC
> but not the local APIC.

>From init/main.c:

static int __init maxcpus(char *str)
{
get_option(&str, &setup_max_cpus);
if (setup_max_cpus == 0)
disable_ioapic_setup();

return 0;
}
early_param("maxcpus", maxcpus);

>From arch/x86/kernel/io_apic_32.c:

static int __init parse_noapic(char *arg)
{
/* disable IO-APIC */
disable_ioapic_setup();
return 0;
}
early_param("noapic", parse_noapic);

Both call disable_ioapic_setup(), so how can they not be the same?

--
Jean Delvare
Suse L3
--
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/