Re: 2.6.33-rc1: 6 Processors exceeds NR_CPUS limit of 4

From: Tvrtko Ursulin
Date: Sat Dec 26 2009 - 07:01:45 EST


On Saturday 26 Dec 2009 05:47:34 Yinghai Lu wrote:
> On Fri, Dec 25, 2009 at 9:44 AM, Tvrtko Ursulin <tvrtko@xxxxxxxxxxx> wrote:
> > Hi,
> >
> > Just noticed this message in dmesg. What is this about? Machine is
> > supposed to have a dual core CPU "unlocked" to four cores and it works
> > like that without any visible problems so far:
>
> [ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
> [ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled)
> [ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x02] enabled)
> [ 0.000000] ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled)
> [ 0.000000] ACPI: LAPIC (acpi_id[0x05] lapic_id[0x84] disabled)
> [ 0.000000] ACPI: LAPIC (acpi_id[0x06] lapic_id[0x85] disabled)
> [ 0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
> [ 0.000000] IOAPIC[0]: apic_id 4, version 33, address 0xfec00000, GSI
> 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl
> dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low
> level) [ 0.000000] ACPI: IRQ0 used by override.
> [ 0.000000] ACPI: IRQ2 used by override.
> [ 0.000000] ACPI: IRQ9 used by override.
> [ 0.000000] Using ACPI (MADT) for SMP configuration information
> [ 0.000000] ACPI: HPET id: 0x8300 base: 0xfed00000
> [ 0.000000] 6 Processors exceeds NR_CPUS limit of 4
>
> MADT has two disable entries...

I see. Does this mean ACPI is designed to support up to six CPUs, lets say
some future models? Anyway I recompiled the kernel with 6 MAX_CPUS just to
shut up this warning.

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