Re: [PATCH RESEND] x86/cpu/topology: remove limit of CPUs due to noapic on x86_64

From: Ingo Molnar
Date: Mon Nov 25 2024 - 03:38:05 EST



* Fernando Fernandez Mancera <ffmancera@xxxxxxxxxx> wrote:

> On x86_64 the command line parameter "noapic" should not limit the
> number of possible CPUs, as it only limits the use of IRQ sharing or
> device IRQ remapping. Only on x86_32 the command line parameter
> "nolapic" limits the number of possible CPUs to one. This restores the
> behavior previous to the rework of possible CPU management.

So what's the motivation? Arguably the x86-64 boot option behavior was
weird: a working local APIC is very much needed to have an SMP system.

If we want to disable IRQ sharing or device IRQ remapping, then that
should have an appropriately named boot command line option. Does some
system require that perhaps?

Thanks,

Ingo